android
nonesole
这个作者很懒,什么都没留下…
展开
-
解决异常java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace
AS调试时突现异常,内容如下: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available Didn't find class "androidx.lifecycle.ProcessLifecycleOwnerInitializer" on path: DexPathList 复盘后发现由于向final声明的全局变量中赋值导致,取消final关键字即可解决 ...原创 2020-05-09 09:53:40 · 2889 阅读 · 0 评论 -
Windows下手动安装android-sdk
1.下载并安装最新的android studio 2.下载sdk-tools-windows开头的zip包,创建sdk目录:C/android/sdk,将sdk压缩包拷贝到此目录下,并解压 3.切换目录:cd C:\android\sdk\tools\bin 4.执行命令:sdkmanager --list 1>list.txt 5.在list.txt中找到想要安装的包,执行安装命令...原创 2019-10-16 10:03:38 · 372 阅读 · 0 评论