关于 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"/>就能跑起来了,不过报这个错误感觉很奇怪。

猜你喜欢

转载自www.cnblogs.com/nightfallsad/p/12711874.html