//没有引入网络包okio
java.lang.NoClassDefFoundError: okio.Buffer
//子线程修改UI
android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
//数组越界
java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
//Avtivity没有注册
android.content.ActivityNotFoundException: Unable to find explicit activity class
//真机adb断线
com.android.ddmlib.AdbCommandRejectedException: device offline
Error while Installing APK解决:netstat -aon|findstr "5037"
//网上直接下载Glide4.0.0就好了
java.lang.NoClassDefFoundError: com.bumptech.glide.load.resource.gif.GifBitmapProvider
//子线程修改UI
java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
//xutils空指针,清单没有配置appname
java.lang.SecurityException: No permission to write APN settings
Attempt to invoke interface method 'org.xutils.common.task.AbsTask org.xutils.common.TaskController.start(org.xutils.common.task.AbsTask)' on a null object reference
//安装studio失败
下载gradle-3.3-all
常见错误
最新推荐文章于 2021-05-31 17:21:51 发布