android中的页面跳转问题解决
16lz
2022-07-06
在做android练习的时候,发现光盘中的demo能运行成功,而自己敲出来的代码就不能执行
一点击跳转就会提示TheapplicationAndroid_Project(processcom.arthurs)hasstoppedunexpectedly.Pleasetryagain
最后找到一篇文章才得以解决:
http://hi.baidu.com/ruiqing_2008/blog/item/5190b6facd9bd69e58ee904a.html
解决方法如下:
1.打开AndroidManifest.xml文件,打开第二个Application标签
2.在Application Nodes中添加一个Activity
3.在右侧Name出找到需要跳转到的类,保存,再运行即可
更多相关文章
- android(NDK+JNI)---Eclipse+CDT+gdb调试android ndk程序
- Android(安卓)触摸提示音
- [RK3399][Android7.1.1] WifiAp:开机默认打开wifi热点
- Ionic 运行报错No resource identifier found for attribute 'ap
- android 开机直接运行app并当做手机桌面
- Android(安卓)SDK Manager无法更新的解决
- Android出现java.lang.RuntimeException: Can't toast on a thre
- flutter-使用第三方库,编译和运行版本不一致问题 2
- Android(安卓)4.0.1 源码下载,编译和运行