android studio运行安卓程序的时候,安装成功之后,但是应用自动启动,必须手动启动,控制台报错:Error type 3: Activity Class {...} dose not exist
解决方法:我们需要辩解build.gradle 文件:
将:
apply plugin: ‘android-library‘
改为:
apply plugin: ‘android‘
(如果还有问题的话,可以试试修改为apply plugin: ‘com.android.application‘)
时间: 2024-07-29 18:43:52