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
我如何才能真正安装我的应用程序?
从手机卸载应用程序无法更改任何内容。
重新启动Android Studio和删除缓存也失败了。
断开和连接电话也是如此。
发布于 2021-04-10 20:01:32
将<category android:name="android.intent.category.DEFAULT" />
更改为<category android:name="android.intent.category.LAUNCHER" />
这将解决问题,因为并非所有版本的Emulator都接受DEFAULT
https://stackoverflow.com/questions/67034013
复制相似问题