Fix the error in NeighboringCellInfo.java in CM10.1

  1、error messenge:

frameworks/base/telephony/java/android/telephony/NeighboringCellInfo.java:104: error 101: Unresolved link/see tag "TelephonyManager#NETWORK_TYPE_DCHSPAP TelephonyManager.NETWORK_TYPE_DCHSPAP" in android.telephony.NeighboringCellInfo
frameworks/base/telephony/java/android/telephony/NeighboringCellInfo.java:166: error 101: Unresolved link/see tag "TelephonyManager#NETWORK_TYPE_DCHSPAP TelephonyManager.NETWORK_TYPE_DCHSPAP" in android.telephony.NeighboringCellInfo
DroidDoc took 140 sec. to write docs to /home/linx/Android/CyanogenMod/CM10.1/out/target/common/docs/doc-comment-check
make: *** [/home/linx/Android/CyanogenMod/CM10.1/out/target/common/docs/doc-comment-check-timestamp] 错误 45

  2、crrect the file NeighboringCellInfo.java

$ vim frameworks/base/telephony/java/android/telephony/NeighboringCellInfo.java

  3、

 27 //import static android.telephony.TelephonyManager.NETWORK_TYPE_HSPA;

  4、

:%s/DCHSPAP/HSPA/g
:wq

  5、

$ make   

 

 

 

posted on 2013-07-02 13:01  plinx  阅读(1894)  评论(0编辑  收藏  举报

导航