我在 android studio 中用 flutter 开发时遇到了一个相当奇怪的问题。我的 flutter 应用比较复杂,需要原生代码,所以我通过 flutter 平台通道编写 android 平台代码,但修改这些 android 代码后运行应用,始终看不到变化,只有重启 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?