Android studio 解决问题Default Activity not found

昨天新建的项目,今天打开的时候,发现没法编译了。编译按钮没法点击,必须edit configuration。而且报错 default activity html

not foundandroid

从网上搜索了解决方案。测试

第一步:在AndroidMainfest.xml文件中,spa

将设置成main的activity的路径。写成绝对路径,也就是须要packageName.className的方式补全.net

以后再去测试。若是不能够xml

在进行第二步:htm

在main activity的intent-filter中添加以下属性blog

<action android:name="packageName.className"/>  get

具体的参考地址:it

http://www.bubuko.com/infodetail-899104.html

http://blog.csdn.net/bdmh/article/details/30489451

相关文章
相关标签/搜索