out/target/common/obj/PACKAGING/public_api.txt android.view.KeyEvent.KEYCODE_has changed value from
来源:互联网 发布:ubuntu 登录samba 编辑:程序博客网 时间:2024/06/06 09:18
编译出错:
out/target/common/obj/PACKAGING/public_api.txt:22549: error 17: Field android.view.KeyEvent.KEYCODE_STAR has changed value from 17 to 227
out/target/common/obj/PACKAGING/public_api.txt:22636: error 17: Field android.view.KeyEvent.KEYCODE_POUND has changed value from 18 to 228
******************************
You have tried to change the API from what has been previously released in
an SDK. Please fix the errors listed above.
******************************
解决办法:
自己找到了在framework/base/api 下有n(n取决于你源码的版本,如果你源码的版本是4.0.4 ,那么就 有分别以 1~ 15命名的xml或txt,就是api level)个xml或txt文档,分别对应android api 的不同版本。 在这些xml中,把你在framework层中修改的地方对应进去。 如我这个错误的地方,在15.txt 和 current.xml 中找到“KEYCODE_STAR”,把里面的value 值改成和你代码中值一致就可以了。
- out/target/common/obj/PACKAGING/public_api.txt android.view.KeyEvent.KEYCODE_has changed value from
- make: *** [out/target/common/obj/PACKAGING/checkapi-current-timestamp] 错误 38
- "make: *** [out/target/common/obj/PACKAGING/checkapi-current-timestamp] 错误 38" 问题解决
- "make: *** [out/target/common/obj/PACKAGING/checkapi-current-timestamp] 错误 38" 问题解决
- "make: *** [out/target/common/obj/PACKAGING/checkapi-current-timestamp] 错误 38" 问题解决
- make: *** [out/target/common/obj/PACKAGING/checkapi-current-timestamp] 错误 38 处理
- Android5.1.1编译出错 make[1]: *** [out/target/common/obj/PACKAGING/checksystemapi-last-timestamp]错误:38
- 编译Android:make: *** [out/target/common/obj/APPS/Phone_intermediates/classes-full-debug.jar] error 41
- 解决android libcore局部编译时`out/target/common/obj/JAVA_LIBRARIES/sqlite-jdbc_intermediates/javalib.jar'
- out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/javalib.jar
- out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/javalib.jar
- make: *** [out/target/common/obj/APPS/Gallery2_intermediates/classes-full-de
- out/target/common/obj/APPS/framework-res_intermediates/src/R.stamp
- android编译时没有规则可以创建“out/target/common/obj/APPS/CalculatorTests_intermediates/classes-full-debug.jar”问
- No rule to make target out/target/common/obj/JAVA_LIBRARIES/librilproto-java
- No rule to make target out/target/common/obj/JAVA_LIBRARIES/librilproto-java
- No rule to make target `out/target/common/obj/APPS/framework-res_intermediates/src/R.stamp
- No rule to make target `out/target/common/obj/APPS/framework-res_intermediates/src/R.stamp
- 框架技术--Spring自动加载配置
- poj 1274 二分图 最大匹配
- asp导航条子菜单横向
- mysql 将时间戳直接转换成普通日期格式
- 我的CSDN帐号
- out/target/common/obj/PACKAGING/public_api.txt android.view.KeyEvent.KEYCODE_has changed value from
- SQL Server-- 存储过程中错误处理
- 【※硬件基础之内存的物理结构和工作原理※】系统收藏
- 字符串反转
- java 基本数据类型
- Linux查看系统信息的一些命令及查看已安装软件包的命令
- SPOJ LCS(Longest Common Substring-后缀自动机-结点的Parent包含关系)
- 安卓开发----创建一个安卓工程
- 08.net网站开发(前端):5.jQuery