在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布局文件layout.xml的一些属性值
  2. Android P系统时间更新分析
  3. Android 图形系统及其应用
  4. android系统自带的主题与样式(theme and style)
  5. Android的xml文件中@、@android:type、@*、?、@+的含义和区别
  6. android之4.0的系统主题style修改android:Theme.Holo.Light
  7. android 电池(三):android电池系统

随机推荐

  1. Android剪贴板操作
  2. Android(安卓):java.lang.RuntimeExcepti
  3. 解决android.os.DeadObjectException问题
  4. Android中获取应用程序(包)的信息-----Pa
  5. android WIFI的一些属性
  6. android识别 单击和双击事件
  7. 安装包更新
  8. android水平循环滚动控件
  9. android代码实现ScaleAnimation动画(附原
  10. Android关于桌面快捷方式工具类!