android 在framework层增加服务后编译报错
来源:互联网 发布:京东联盟源码 编辑:程序博客网 时间:2024/06/04 18:28
错误:out/target/common/obj/PACKAGING/test-api.txt:28745: error 3: Added class IHelloService to package android.os
out/target/common/obj/PACKAGING/test-api.txt:28750: error 3: Added class IHelloService.Stub to package android.os
******************************
You have tried to change the API from what has been previously approved.
To make these errors go away, you have two choices:
1) You can add "@hide" javadoc comments to the methods, etc. listed in the
errors above.
2) You can update current.txt by executing the following command:
make update-api
To submit the revised current.txt to the main Android repository,
you will need approval.
out/target/common/obj/PACKAGING/test-api.txt:28750: error 3: Added class IHelloService.Stub to package android.os
******************************
You have tried to change the API from what has been previously approved.
To make these errors go away, you have two choices:
1) You can add "@hide" javadoc comments to the methods, etc. listed in the
errors above.
2) You can update current.txt by executing the following command:
make update-api
To submit the revised current.txt to the main Android repository,
you will need approval.
******************************
解决方案:根据提示,编译之前先执行:make update-api,虽说刚下载的android7.0源码编译不需要执行这条命令,但是如果增加或者删除了源码的内容,还是需要更新一下current.txt
0 0
- android 在framework层增加服务后编译报错
- android在framework层增加自己的service---仿照GPS
- android在framework层增加自己的service仿照GPS
- android 编译后,framework层生成的class.jar
- 在Android framework层启动服务不被杀掉
- android framework 层服务 分析
- Android5.1 framework 添加资源文件后编译报错
- framework 编译报错
- android framework增加新的系统服务
- 在Frameworks层增加硬件访问服务
- android 修改api后编译报错
- android frameworks层增加硬件服务
- Android framework层自定义系统服务
- 编译android framework层的资源文件
- 编译android framework层的资源文件
- android编译framework架包运行报错
- 在Ubuntu上为Android系统的Application Frameworks层增加硬件访问服务
- 在Ubuntu上为Android系统的Application Frameworks层增加硬件访问服务
- 第五周项目5后缀表达式
- 浅析MySQL内存的使用说明(全局缓存+线程缓存)
- 贴片0603蓝光led启动电压
- fastjson和gson反序列化时的嵌套集合和抽象类处理
- Ubuntu 14.04 为 root 帐号开启 SSH 登录 启动的时候需要改的启动项类比centos
- android 在framework层增加服务后编译报错
- strlen和sizeof的区别……
- Android项目中如何用好构建神器Gradle?
- tmocat 内存溢出导致电脑卡顿
- 一些博客点和技术文章
- 非010串
- Wordvec的使用实现
- js无缝滚动
- Kendo UI开发教程:初始化Data属性