微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > L版本上make update-api报错

L版本上make update-api报错

时间:10-02 整理:3721RD 点击:
[DESCRIPTION]在L版本上使用make –j24 update-api命令会报错.关键log如下:
php?mod=tag&id=6090" target="_blank" class="relatedlink">Frameworks/base/core/java/android/content/Context.java:2652: error 101: Unresolved link/see tag "android.telecomm.TelecomManager" in android.content.Context
out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/telephony/java/com/mediatek/internal/telephony/ITelephonyEx.java:1327: error 103: Unknown tag: @retrun
out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/telephony/java/com/mediatek/internal/telephony/ITelephonyEx.java:1363: error 103: Unknown tag: @retrun
out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/telephony/java/com/mediatek/internal/telephony/ITelephonyEx.java:1399: error 103: Unknown tag: @retrun
out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/telephony/java/com/mediatek/internal/telephony/ITelephonyEx.java:2175: error 103: Unknown tag: @retrun
out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/telephony/java/com/mediatek/internal/telephony/ITelephonyEx.java:2191: error 103: Unknown tag: @retrun
out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/telephony/java/com/mediatek/internal/telephony/ITelephonyEx.java:2207: error 103: Unknown tag: @retrun
DroidDoc took 407 sec. to write docs to out/target/common/docs/doc-comment-check
make: *** [out/target/common/docs/doc-comment-check-timestamp] Error 45
[KEYWORD]

update-api

Unresolved link

Unknown tag: @retrun

编译出错

[SOLUTION]
  • 针对frameworks/base/core/java/android/content/Context.java:2652: error 101: Unresolved link/see tag "android.telecomm.TelecomManager" in android.content.Context

需要修改frameworks/base/core/java/android/content/Context.java文件中

     * {@link android.telecomm.TelecomManager} to manage telecom-related features

修改为
     * {@link android.telecom.TelecomManager} to manage telecom-related features

  • 针对error 103: Unknown tag: @retrun
    需要修改frameworks/base/telephony/java/com/mediatek/internal/ITelephonyEx.aidl文件中的三处注释

     * @retrun reponse paramenters/data fROM UICC

     * @retrun reponse paramenters/data from UICC

     * @retrun reponse paramenters/data from UICC

全部修改为

     * @return reponse paramenters/data from UICC

     * @return reponse paramenters/data from UICC

     * @return reponse paramenters/data from UICC

android 4.2.2 make update-api出错是什么原因?谢谢
find: `mediatek/config/full': 没有那个文件或目录
find: `mediatek/protect/frameworks/base/*/': 没有那个文件或目录
find: `mediatek/protect': 没有那个文件或目录
find: `vendor/mediatek/full/artifacts/jar': 没有那个文件或目录
mediatek/build/android/BoardConfig.mk:42: mediatek/config/out/full/BoardConfig.mk: 没有那个文件或目录
build/core/config.mk:193: *** TARGET_ARCH not defined by board config: mediatek/config/out/full/BoardConfig.mk停止

./mk update-api就可以了

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top