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   
原文地址:https://www.cnblogs.com/plinx/p/3166717.html