![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
记录错误
文章平均质量分 60
新手上路狂踩坑
新人学习,分享学习遇到的内容,希望共同进步
展开
-
Android Studio记录一个错误:Execution failed for task ‘:app:lintVitalRelease‘.
Android出现Execution failed for task ':app:lintVitalRelease'.> Lint found fatal errors while assembling a release target.的一些解决思路原创 2023-11-23 09:23:40 · 990 阅读 · 0 评论 -
Android Studio记录一个问题:常见编译错误
常见的编译错误合集原创 2023-02-17 17:10:51 · 2977 阅读 · 0 评论 -
Android Studio记录一个问题:The specified Android SDK Build Tools version (29.0.0) is ignored
我的gradle的版本是4.2.1,所以buildtools版本最低是30.0.2,将 buildToolsVersion 改成 “30.0.2” 重新build即可。原创 2022-12-13 19:25:05 · 2856 阅读 · 0 评论 -
>adb: error: failed to copy ‘xx.apk‘ to ‘/system/app/test1.apk‘:remote Permission denied
adb push test1.apk /system/app/adb: error: failed to copy 'test1.apk' to '/system/app/test1.apk':remote Permission denied原创 2022-07-19 09:34:29 · 1208 阅读 · 0 评论 -
Android Studio记录一个错误:>adb shell error: device offline
adb connect连接设备成功,但是adb shell时显示error: device offline错误分析解决办法错误分析E:\Android\network\VideoBox>adb connect 172.16.3.xxx:xxxalready connected to 172.16.3.xxx:xxxE:\Android\network\VideoBox>adb shellerror: device offlineadb connect已经连接上设备,但是adb原创 2021-11-23 14:35:10 · 2616 阅读 · 0 评论 -
Android Studio记录一个错误:设置控件透明/位移/翻转动画,再设置控件不可见时的报错
动画ValueAnimator设置控件不可见需要注意什么错误分析解决小结错误给控件添加动画改变其透明度ValueAnimator transparentLayoutAnim = null;transparentLayoutAnim = ObjectAnimator.ofFloat(ll_ssm_transparent,"alpha", new float[]{0.0f, 0.8f});transparentLayoutAnim.setDuration(1000);后续需要再设置该控件不可见时原创 2021-10-13 10:02:45 · 243 阅读 · 0 评论 -
Android Studio记录一个错误:java.lang.SecurityException: No permission to write to xxx: Neither user 10191
java.lang.SecurityException: No permission to write to xxx: Neither user 10191 nor current process has android.permission.WRITE_EXTERNAL_STORAGE.错误解决权限相关内容在练习apk下载安装的时候遇到一个很容易错误的点,没有权限的报错导致进度死亡错误当我选择拒绝后,运行下载apk时会出现查看报错信息/com.example.codetestapplicat原创 2021-07-27 15:49:13 · 1790 阅读 · 0 评论 -
Android Studio记录一个错误:java.lang.NullPointerException: Attempt to invoke virtual method ‘void android.
这里写目录标题错误解决错误java.lang.NullPointerException: Attempt to invoke virtual method ‘void android.widget.TextView.setText(java.lang.CharSequence)’ on a null object referenceE/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.dialogdownapplicatio原创 2021-07-21 17:14:40 · 12337 阅读 · 2 评论 -
Android Studio记录一个错误:解析软件包时出现问题
安装时解析软件包时出现问题错误解决思路解决办法运行成功记录错误下载完正要安装时出现弹窗:解析软件包时出现问题查看RunCaused by: java.lang.ClassNotFoundException: Didn’t find class “android.view.View$OnUnhandledKeyEventListener” on path: DexPathList[[zip file “/data/app/com.example.downapkapplication-1/base.原创 2021-07-21 15:22:29 · 5151 阅读 · 4 评论 -
Android Studio记录一个错误:jar 未签名。
记录一个错误这一块第一次接触签名选V2的验证签名时的错误jarsigner -verbose -certs -verify app-release.apk改选V1后是这样的没看过多少学习的道路还很长,得看看书籍和教程再来改原创 2021-07-14 14:30:52 · 559 阅读 · 0 评论 -
Android Studio记录一个错误:ERROR: This version of Android Studio cannot open this project, please retry wi
ERROR: This version of Android Studio cannot open this project, please retry with Android Studio 3.6 or newer.导入出错解决办法导入出错ERROR: This version of Android Studio cannot open this project, please retry with Android Studio 3.6 or newer.解决办法找一个运行的出来的项目,把G原创 2021-07-15 17:35:01 · 1351 阅读 · 2 评论 -
Android Studio记录一个错误:Cannot resolve symbol ‘HttpClient‘
Android Studio出现Cannot resolve symbol 'HttpClient'提示一级目录一级目录百度的结果一般都是导入HttpClient的jar包 下载地址.地址过去如图原创 2021-07-12 11:13:59 · 1910 阅读 · 2 评论 -
Android Studio记录一个错误:Cannot resolve method ‘getExternalFilesDir(java.lang.String)‘
无法解析getExternalFilesDir方法错误显示解决方法原因错误显示Cannot resolve method ‘getExternalFilesDir(java.lang.String)’无法解析getExternalFilesDir(java.lang.String)方法解决方法在getExternalFilesDir前面加上context.即可使用context.getExternalFilesDir(Environment.DIRECTORY_DOWNLOADS);原创 2021-07-21 14:00:57 · 4508 阅读 · 0 评论