|
Android 编译不过
发表于 2015-1-9 17:04:08
浏览:10794
|
回复:7
打印
只看该作者
[复制链接]
楼主
在centos7 X64的系统下编译Android,源码是git里面最新的(按照wiki上的描述进行了更新),
kernel能顺利编译过,但是编译android的时候出现问题,出错信息看不太明白,大家帮帮忙:
Note: Recompile with -Xlint:deprecation for details.
frameworks/base/services/java/com/android/server/ConnectivityService.java:2273: unreachable statement
if ((newNetType == ConnectivityManager.TYPE_PPPOE) &&
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
100 warnings
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
target Java: WallpaperCropper (out/target/common/obj/APPS/WallpaperCropper_intermediates/classes)
make: *** [out/target/common/obj/JAVA_LIBRARIES/services_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
十分感谢!
|
|