问题描述
Android Studio“有帮助地”跳过安装并重新启动手机上的内容
04/10 13:47:09: Launching 'app' on Physical Device.
App restart successful without requiring a re-install.
什么是谎言(因为根本没有安装应用程序)并且可以预见地立即失败:
Could not identify launch activity: Default Activity not found
Error while Launching activity
我如何才能真正安装我的应用?
从手机卸载应用程序无法改变任何东西。
断开和连接电话相同。
解决方法
更改<category android:name="android.intent.category.DEFAULT" />
到<category android:name="android.intent.category.LAUNCHER" />
这将解决问题,因为并非所有版本的模拟器都接受 DEFAULT