关于 flutter_boost 在manifest中注册BoostFlutterActivity报错:Installation did not succeed.

在manifest中注册BoostFlutterActivity报错:Installation did not succeed.
The application could not be installed: INSTALL_FAILED_USER_RESTRICTED
Installation via USB is disabled.
如果不在manifest中注册BoostFlutterActivity,又有这个报错:Unable to find explicit activity class com.idlefish.flutterboost.containers.BoostFlutterActivity}; have you declared this activity in your AndroidManifest.xml

注释掉<meta-data android:name="io.flutter.embedding.android.SplashScreenDrawable"/>就能跑起来了,不过报这个错误感觉很奇怪。

posted @ 2020-04-16 12:12  nightfallsad  阅读(506)  评论(0编辑  收藏  举报