Error:Error: Expected resource of type id [ResourceType]打包apk是提示错误
2023-09-27 14:27:47 时间
Error:Error: Expected resource of type id [ResourceType]打包apk是提示错误
解决办法:
android { compileSdkVersion 19 buildToolsVersion "23.0.3" defaultConfig { minSdkVersion 7 targetSdkVersion 23 compileOptions { sourceCompatibility JavaVersion.VERSION_1_5 targetCompatibility JavaVersion.VERSION_1_5 } }
在build中添加
lintOptions { disable "ResourceType" }
android { compileSdkVersion 19 buildToolsVersion "23.0.3" defaultConfig { minSdkVersion 7 targetSdkVersion 23 compileOptions { sourceCompatibility JavaVersion.VERSION_1_5 targetCompatibility JavaVersion.VERSION_1_5 } } lintOptions { disable "ResourceType" }
相关文章
- Laravel之加密解密/日志/异常处理及自定义错误
- 【转】ASP.NET"正在中止线程"错误原因
- SaaS初创公司常见的5个定价错误
- mvn打包报致命错误: 1、程序包com.sun.image.codec.jpeg不存在 2、在类路径或引导类路径中找不到程序包 java.lang
- json转bean总是报 A JSONObject text must begin with '{' at 1 [character 2 line 1] 错误。
- Vue项目build打包部署到Tomcat后,刷新报404错误解决方案
- Java 程序员在写 SQL 时常犯的 10 个错误
- Python编程:Django入门及常见错误
- nginx常见内部参数,错误总结
- maven mvn package 打包项目时,出现错误导致失败的解决方法
- lmproperly specified vM option.To fix the proble Android studio JVM启动错误
- django 实现登录时候输入密码错误5次锁定用户十分钟
- 解决"No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android"错误
- 【错误记录】Mac 中 IntelliJ IDEA 运行 Python 程序报错 ( No module named ‘numpy‘ )
- 用gdb调试程序笔记: 以段错误(Segmental fault)为例
- 一次错误的总结(关于: 在实例方法和类方法公用一段代码)
- [.net]捕获错误机制
- 【我的Android进阶之旅】解决Android Studio 运行gradle命令时报错: 错误: 编码GBK的不可映射字符
- 我的Android进阶之旅------>Android中adb install 安装错误常见列表