您好,欢迎来到年旅网。
搜索
您的当前位置:首页Unabletofindexplicitactivityclass报错问题解决方法

Unabletofindexplicitactivityclass报错问题解决方法

来源:年旅网
Unabletofindexplicitactivityclass报错问题解决⽅法

1.⾸先查看是否在已经在AndroidMainfest.xml中添加了你的Activity,如果没有,添加你要使⽤的Activity即可,如果添加后还是报错,使⽤解决⽅案2

2.在AndroidMainfest.xml中添加了你的Activity的全路径,例如本⼈项⽬中的路径 ,我的问题采⽤下⾯⽅法已经解决,如果还没有解决,就要检查下⾃⼰的命名是否规范了(看到过⼀篇⽂章说命名不规范会引起此类错误) android:icon=\"@drawable/ic_launcher\" android:label=\"@string/app_name\" > android:name=\".BusQueryActivity\" android:label=\"@string/app_name\" >

android:name=\"com.mycompass.MyCompass\" android:label=\"@string/compass\" >

android:name=\"com.map.MyGoogleMap\" >

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- oldu.cn 版权所有 浙ICP备2024123271号-1

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务