|
Android SDK源码下载完整了 , 但是在编译到package/app/Camera时, 报错,请帮忙分析一下,谢谢!
opying: out/target/common/obj/APPS/Calendar_intermediates/classes-jarjar.jar
Copying: out/target/common/obj/APPS/Calendar_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/APPS/Calendar_intermediates/classes.jar
Copying: out/target/common/obj/APPS/Calendar_intermediates/noproguard.classes.jar
target Dex: Calendar
Copying: out/target/common/obj/APPS/Calendar_intermediates/noproguard.classes.dex
target Package: Calendar (out/target/product/cubieboard/obj/APPS/Calendar_intermediates/package.apk)
nothing matches overlay file ic_contact_picture.png, for flavor ,,,,,,,,,,,hdpi,,,,,,,
nothing matches overlay file ic_contact_picture.png, for flavor ,,,,,,,,,,,xhdpi,,,,,,,
'out/target/common/obj/APPS/Calendar_intermediates/classes.dex' as 'classes.dex'...
Install: /host/Guangning/WorkProject/13.Android/cubie_android_ics/out/target/product/cubieboard/system/app/Calendar.apk
target R.java/Manifest.java: CalendarProvider (out/target/common/obj/APPS/CalendarProvider_intermediates/src/R.stamp)
target Java: CalendarProvider (out/target/common/obj/APPS/CalendarProvider_intermediates/classes)
注意:packages/providers/CalendarProvider/src/com/android/providers/calendar/CalendarProvider2.java 使用了未经检查或不安全的操作。
注意:要了解详细信息,请使用 -Xlint:unchecked 重新编译。
Copying: out/target/common/obj/APPS/CalendarProvider_intermediates/classes-jarjar.jar
Copying: out/target/common/obj/APPS/CalendarProvider_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/APPS/CalendarProvider_intermediates/classes.jar
Copying: out/target/common/obj/APPS/CalendarProvider_intermediates/noproguard.classes.jar
target Dex: CalendarProvider
Copying: out/target/common/obj/APPS/CalendarProvider_intermediates/noproguard.classes.dex
target Package: CalendarProvider (out/target/product/cubieboard/obj/APPS/CalendarProvider_intermediates/package.apk)
'out/target/common/obj/APPS/CalendarProvider_intermediates/classes.dex' as 'classes.dex'...
Install: /host/Guangning/WorkProject/13.Android/cubie_android_ics/out/target/product/cubieboard/system/app/CalendarProvider.apk
target SharedLib: libjni_mosaic (out/target/product/cubieboard/obj/SHARED_LIBRARIES/libjni_mosaic_intermediates/LINKED/libjni_mosaic.so)
target Symbolic: libjni_mosaic (out/target/product/cubieboard/symbols/system/lib/libjni_mosaic.so)
target Strip: libjni_mosaic (out/target/product/cubieboard/obj/lib/libjni_mosaic.so)
target R.java/Manifest.java: Camera (out/target/common/obj/APPS/Camera_intermediates/src/R.stamp)
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest.
target Java: Camera (out/target/common/obj/APPS/Camera_intermediates/classes)
packages/apps/Camera/src/com/android/camera/Camera.java:838: 找不到符号
符号: 变量 SCENE_MODE_OFF
位置: 类 android.hardware.Camera.Parameters
boolean isAutoScene = (Parameters.SCENE_MODE_AUTO.equals(mParameters.getSceneMode()) || Parameters.SCENE_MODE_OFF.equals(mParameters.getSceneMode()));
^
packages/apps/Camera/src/com/android/camera/Camera.java:1385: 找不到符号
符号: 变量 SCENE_MODE_OFF
位置: 类 android.hardware.Camera.Parameters
if (Parameters.SCENE_MODE_AUTO.equals(mSceneMode) || Parameters.SCENE_MODE_OFF.equals(mSceneMode)) {
^
packages/apps/Camera/src/com/android/camera/Camera.java:2302: 找不到符号
符号: 变量 SCENE_MODE_OFF
位置: 类 android.hardware.Camera.Parameters
if (Parameters.SCENE_MODE_AUTO.equals(mSceneMode) || Parameters.SCENE_MODE_OFF.equals(mSceneMode)) {
^
注意:某些输入文件使用或覆盖了已过时的 API。
注意:要了解详细信息,请使用 -Xlint:deprecation 重新编译。
注意:某些输入文件使用了未经检查或不安全的操作。
注意:要了解详细信息,请使用 -Xlint:unchecked 重新编译。
3 错误
make: *** [out/target/common/obj/APPS/Camera_intermediates/classes-full-debug.jar] 错误 41
gfu@ubuntu:/host/Guangning/WorkProject/13.Android/cubie_android_ics$
gfu@ubuntu:/host/Guangning/WorkProject/13.Android/cubie_android_ics$
gfu@ubuntu:/host/Guangning/WorkProject/13.Android/cubie_android_ics$ pwd
/host/Guangning/WorkProject/13.Android/cubie_android_ics
gfu@ubuntu:/host/Guangning/WorkProject/13.Android/cubie_android_ics$ ls -l
|
|