qiuxiang / flutter-android-window

A flutter plugin allows you to create native android floating window.
MIT License
63 stars 21 forks source link

不再支持用package属性设置namespace #31

Open orz12 opened 2 hours ago

orz12 commented 2 hours ago

Incorrect package="qiuxiang.android_window" found in source AndroidManifest.xml: C:\Users\xxx\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\android_window-0.4.0\android\src\main\AndroidManifest.xml. Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported. Recommendation: remove package="qiuxiang.android_window" from the source AndroidManifest.xml: C:\Users\xxx\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\android_window-0.4.0\android\src\main\AndroidManifest.xml. 这个问题目前主分支也有 我使用的版本是

flutter: 3.24.4 JDK: 21.0.4 gradle: 8.10.2 kotlin: 2.0.20

orz12 commented 2 hours ago

可以参考该issue:https://github.com/proyecto26/react-native-inappbrowser/issues/451

qiuxiang commented 1 hour ago

很简单,只要把 package="qiuxiang.android_window"AndroidManifest.xml 里删掉就好了,这是个 warn,先忽略了。