在android根目录下执行". build/envsetup.sh",然后执行lunch,选择你要的套餐,然后直接make。
编译中有3处错误:
1.packages/apps/CMStats/Android.mk中
把LOCAL_STATIC_JAVA_LIBRARIES := libGoogleAnalyticsV2注释掉
packages/apps/CMStats/src/com/cyanogenmod/stats/ReportingService.java中
23,24,104,105,106,118,119,120行注释掉
2.packages/apps/Contacts/src/com/android/contacts/model/EntityModifier.java和packages/apps/Contacts/src/com/android/contacts/RecentCallsListActivity.java中Insert.SIP_ADDRESS改为SipAddress.SIP_ADDRESS
3.frameworks/base/media/libstagefright/OMXCodec.cpp中
1169行注释掉
1176行最后加上{
编译中有3处错误:
1.packages/apps/CMStats/Android.mk中
把LOCAL_STATIC_JAVA_LIBRARIES := libGoogleAnalyticsV2注释掉
packages/apps/CMStats/src/com/cyanogenmod/stats/ReportingService.java中
23,24,104,105,106,118,119,120行注释掉
2.packages/apps/Contacts/src/com/android/contacts/model/EntityModifier.java和packages/apps/Contacts/src/com/android/contacts/RecentCallsListActivity.java中Insert.SIP_ADDRESS改为SipAddress.SIP_ADDRESS
3.frameworks/base/media/libstagefright/OMXCodec.cpp中
1169行注释掉
1176行最后加上{