|
发表于 2017-10-27 11:57:02
只看该作者
20#
本帖最后由 小偉[工程部] 于 2017-10-27 17:35 编辑
您好, 我用firefly-rk3288_android5.1_git_20170224 + 補丁內的兩個patch後,會無法順利編譯
錯誤代碼....
target Java: android-support-v4-ics-mr1 (out/target/common/obj/JAVA_LIBRARIES/android-support-v4-ics-mr1_intermediates/classes)
cts/tests/tests/view/src/android/view/cts/WindowTest.java:846: error: WindowTest.MockWindow is not abstract and does not override abstract method moveExtendDisplay() in Window
public class MockWindow extends Window {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
make: *** [out/target/common/obj/APPS/CtsViewTestCases_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
java版本 "1.7.0_151"
$ sudo update-alternatives --config java
只顯示...java-7-openjdk-amdk64/bun/java
$ sudo update-alternatives --config javac
只顯示...java-7-openjdk-amdk64/bun/javac
補丁是用
32885.1-hardware-rockchip-hwcomposer-base-on-c38e733b3.patch 放置位置 hardware/rockchip/hwcomposer
frameworks_base_dualscreen_api-last.patch 放置位置 frameworks/base
指令都是 patch -p1 -i XXX.patch
請教一下有人能指點步驟哪邊有問題嗎?
|
|