- 博客(6)
- 收藏
- 关注
原创 Android无法切换横屏
无法切换横屏目录明明创建了横屏的xml文件,但是没有生效目录明明创建了横屏的xml文件,但是没有生效原因可能是在AndroidManifest文件中写了 android:configChanges="orientation|screenSize"
2021-04-21 22:20:29
509
原创 Emulator: Process finished with exit code 1
一、问题:Emulator: Process finished with exit code 1Emulator: PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROO二、原因Android Studio 无法找到AVD 的安装路径,因此无法加载,导致模拟器无法启动,所以在系统环境配置AVD路径就好。三、解决方法:配置系统环境变量:ANDROID_HOME:你的SDK安装路径ANDROID_SDK_HOME:你的A
2021-03-16 21:00:06
1876
1
原创 Caused by: java.lang.ClassNotFoundException: Didn‘t find class “org.apache.http.ProtocolVersion“
问题:Caused by: java.lang.ClassNotFoundException: Didn’t find class “org.apache.http.ProtocolVersion” on path: DexPathList[[zip file “/data/app/com.example.hello-WCTiV-qbtM4CRFKuNjdcxg==/base.apk”],nativeLibraryDirectories=[/data/app/com.example.hello-WCTiV
2021-03-13 12:39:29
1552
原创 E/TAG: java.io.IOException: Cleartext HTTP traffic to 127.0.0.1 not permitted
Caused by: java.lang.ClassNotFoundException: Didn’t find class “org.apache.http.ProtocolVersion” on path: DexPathList[[zip file “/data/app/com.hanxiaokeji.miaoju-WCTiV-qbtM4CRFKuNjdcxg==/base.apk”],nativeLibraryDirectories=[/data/app/com.hanxiaokeji.miaoju
2021-03-13 12:22:01
920
原创 Unable to start the daemon process.
问题:Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For example, an unrecognized jvm option is used. Please refer to the User Manual chapter on the daemon at https://docs.gradle.org/6.5/userguide/g
2021-03-12 00:42:41
2635
原创 Android开发日志
日期:2021年3月12日目录1、开发工具篇1.1 Android Studio1、开发工具篇1.1 Android Studio首先从开发工具说起,万事开头难,每次写代码最头痛的就是配置开发工具,最麻烦的不是开头一次,而是随着版本更新,开发工具以后莫名出现各种问题,虽然去年才用过Android Studio(以后简称AS),但今年写项目,又发现模拟器无法使用,反复弄了一天,终于成功打开AVD,手贱的我点了AS update,然后又不行了,头痛啊,所以决定写一篇完整的AS 使用手册,以作为记录,避免
2021-03-12 00:32:32
229
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人