openlang

Changes to Flutter Android platform code appear only after restarting Android Studio

I'm seeing a rather odd problem while developing with flutter in android studio. My fairly complex flutter application needs native code, so I'm implementing android platform code through a flutter platform channel, but changes I make in that android code never show up when I run the application until I restart Android studio. Does anyone know what might be causing this?

The conversation continues 2

Follow the reasoning
  1. Permalink

    choose File->invalidate Caches/Restart, then select the option to open for editing within Android Studio

Other sides of the same question

  1. Using MATLAB through Google Colab

    Can MATLAB commnads be used from Google Colab (cloud-hosted Jupyter)? For instance, I'd like to invoke Risk Management Toolbo…

    Replies 2Latest activity matlab
  2. Can gdb set a breakpoint for an assembly instruction using its address?

    My attempt: apparently this command does not exist, though. Can gdb do something like this?

    Replies 2Latest activity assembly
  3. Can Playwright assertions allow either of two possible text values?

    I'd like to verify that the text contains either one or two: Can this be made to work in Playwright? Could the same thing als…

    Replies 2Latest activity typescript