在framework中的 Android.mk文件中添加

......

core/java/android/app/backup/IBackupManager.aidl \

core/java/android/app/backup/IRestoreObserver.aidl \

core/java/android/app/backup/IRestoreSession.aidl \

core/java/android/bluetooth/IBluetooth.aidl \

core/java/android/bluetooth/IBluetoothA2dp.aidl \

core/java/android/bluetooth/IBluetoothCallback.aidl \

core/java/android/bluetooth/IBluetoothHeadset.aidl \

core/java/android/bluetooth/IBluetoothHid.aidl \

core/java/android/bluetooth/IBluetoothPbap.aidl \

core/java/android/content/IContentService.aidl \

core/java/android/content/IIntentReceiver.aidl \

core/java/android/content/IIntentSender.aidl \

core/java/android/content/ISyncAdapter.aidl \

......


有错误出来了,ok跟着做。

******************************

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.xml by executing the following command:

make update-api

To submit the revised current.xml to the main Android repository,

you will need approval.

****************************** make updata-api --更新系统api
>>>>>>finish
make -j8 --重新编译
ok编译顺利通过。

更多相关文章

  1. Android实现全屏
  2. android修改系统源码(重新编译源码)
  3. Android:Debug certificate expired on DATE 解决方法
  4. Android(安卓)NDK编程浅入深出之--了解NDK
  5. 向android studio导入android源生app
  6. Android图表控件MPAndroidChart——曲线图LineChart(多条曲线)动态
  7. 开发Android第四步,Android(安卓)NDK 及 android gcc toolchain
  8. android PhoneGap 的入门例子
  9. 在android的Browser中设置User Agent

随机推荐

  1. Android与HTML5交互模版
  2. Dalvik opcodes 【转过来 备份】
  3. Android(安卓)Bluetooth Stack: Bluedroi
  4. 安卓加载网页
  5. Android(安卓)recyclerview 支持网格布局
  6. android 检查SD卡是否存在
  7. Android(安卓)使用Room 生成不了数据库文
  8. android之popupwindow显示文件列表
  9. listview使用ArrayAdapter显示文字
  10. The following classes could not be ins