Execution failed for task ‘:app:processDebugResources‘. > com.android.ide.common.process.ProcessExce
2023-09-14 09:13:59 时间
1.android的报错提示:
Error:Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt
错误在哪,可以发现:
“R”为什么总是红标的,我查看了activity_main.xml文件,这xml文件的确没问题,怎么会错误
我试了很多,去百度找了很多,都是说android的SDK版本要低一点应该是解决,
我不说多,直接看如下图:
C:\Users\Administrator\AppData\Local\Android\Sdk\build-tools如下图:
C:\Users\Administrator\AppData\Local\Android\Sdk\extras\android\m2repository\com\android\support\appcompat-v7如下图:
android的SDK版本低一点,不可以的话,又低一点就可以
这样后成功,“R”的红标变成黑标了,如下图:
相关文章
- [Android Traffic] android 流量计算方法
- Android 开发之旅:短信的收发及在android模拟器之间实践(一)
- 《android开发艺术探索》读书笔记(十)--Android的消息机制
- Android问题笔记 - aar合并打包报Execution failed for task ‘:app:mergeDebugNativeLibs
- Android问题笔记 - 编译报错Task :app:compileDebugJavaWithJavac FAILED
- android开发分享Android中外接键盘的检测的实现
- Android 销毁当前页面
- Error:Execution failed for task ‘:app:packageRelease‘. > com.android.ide.common.signing.KeytoolExcep
- Android报错提示:Failed to resolve: com.android.support.constraint:constraint-layout:1.1.3
- Android 12.0 app全屏时通过系统属性控制上滑是否显示虚拟导航栏和状态栏
- android 9.0 app应用卸载白名单
- android app用百度ocr识别sdk实现手写扫描功能(一)
- Android app 录音回音消除两种方法
- android 8.0 9.0 10.0 静默安装app和静默卸载app功能实现
- android 10.0设置app为默认浏览器
- android 9.0 10.0 添加自定义系统服务接口给app调用
- android 蓝牙打开关闭和连接断开状态的判断
- android在线查看源码工具(五十八)
- android app反编译
- AS的报错提示::app:processDebugResources Android resource linking failed Android resource linking failed
- :app:processDebugResources Android resource linking failed Android resource linking failed
- Win10解决Android Studio:Gradle sync failed: Failed to open zip file.
- 迁移到Android后android.support.v4.content.FileProvider运行崩溃