Tuesday, February 11, 2014

android4.2 compile error in ubuntu12.04


posts by love_replicate on 2013-10-11 16:19:19 Edit
Below is a portion of the log, the error is mainly:
Environmental ubuntu12.04 x64 Edition

dragon image.cfg sys_partition.fex [Failed]

refer to out / pack.log for detail information.

ERROR:. Packing Failed
/ Home/user001/share-folder/android4.2/android_1
rm: can not delete "./../lichee/tools/pack/sun7i_81xx_a70x_800x480.img": No such file or directory
mv: can not get "./../lichee/tools/pack/sun7i_android_wing-k70.img" file status (stat): No such file or directory

target Java: SystemUITests (out / target / common / obj / APPS / SystemUITests_intermediates / classes)
target Java: TileBenchmark (out / target / common / obj / APPS / TileBenchmark_intermediates / classes)
target Java: TtsTests (out / target / common / obj / APPS / TtsTests_intermediates / classes)
Note: Some input files use or override a deprecated API.
Note: For more information, please use the-Xlint: deprecation recompiled.
Note: frameworks / base / keystore / tests / src / android / security / KeyStoreTest.java use unchecked or unsafe operations.
Note: For more information, please use the-Xlint: unchecked recompiled.
target Java: VoiceDialerTests (out / target / common / obj / APPS / VoiceDialerTests_intermediates / classes)
target Java: WAPPushManagerTests (out / target / common / obj / APPS / WAPPushManagerTests_intermediates / classes)
target Java: WebViewTests (out / target / common / obj / APPS / WebViewTests_intermediates / classes)
target Java: launchperf (out / target / common / obj / APPS / launchperf_intermediates / classes)
Note: frameworks / base / core / tests / notificationtests / src / android / app / NotificationStressTest.java use or cover obsolete API.
Note: For more information, please use the-Xlint: deprecation recompiled.
target Java: mediaframeworktest (out / target / common / obj / APPS / mediaframeworktest_intermediates / classes)
Note: Some input files use or override a deprecated API.
Note: For more information, please use the-Xlint: deprecation recompiled.
target Java: android.cts.refapp (out / target / common / obj / JAVA_LIBRARIES / android.cts.refapp_intermediates / classes)
Docs droiddoc: out / target / common / docs / uiautomator-stubs
Copying: out / target / common / obj / JAVA_LIBRARIES / mms-common_intermediates / noproguard.classes.dex
Install: out/target/product/wing-k70/system/app/Gallery2.apk
Copying: out / target / common / obj / APPS / Phone_intermediates / noproguard.classes.dex
Copying: out / target / common / obj / APPS / Settings_intermediates / classes-jarjar.jar
Copying: out / target / common / obj / APPS / SettingsProvider_intermediates / noproguard.classes.dex
/ Bin / bash: line 2: javadoc: command not found
make: *** [out / target / common / docs / uiautomator-stubs-timestamp] Error 45
make: *** Waiting for unfinished tasks ....
Note: cts / tools / cts-reference-app-lib / src / android / cts / refapp / ReferenceAppTestCase.java use or cover obsolete API.
Note: For more information, please use the-Xlint: deprecation recompiled.
Note: frameworks / base / tests / TileBenchmark / src / com / test / tilebenchmark / ProfiledWebView.java use or cover obsolete API.
Note: For more information, please use the-Xlint: deprecation recompiled.
Note: Some input files use or override a deprecated API.
Note: For more information, please use the-Xlint: deprecation recompiled.
Note: Some input files use or override a deprecated API.
Note: For more information, please use the-Xlint: deprecation recompiled.
-------- Release version, donnot have uart printf -------------
INFO: Packing for android
>>> Script_parse 0.9.1
>>> Check sys_config line format
>>> Done.
>>> Check partition config
>>> Done.
>>> Script_parse 0.9.1
>>> Check sys_config line format
>>> Done.
>>> Check mainkey unique
>>> Done.
>>> Check module rule
>>> Not implement yet
cp / home/user001/share-folder/android4.2/lichee/out/android/common/u-boot.bin bootfs / linux / [OK]
script sys_config.fex [OK]
script sys_partition.fex [OK]
update_mbr sys_partition.bin 4 [OK]
update_boot0 boot0_nand.bin sys_config.bin NAND [OK]
update_boot0 boot0_sdcard.fex sys_config.bin SDMMC_CARD [OK]
update_boot1 boot1_nand.fex sys_config.bin NAND [Uncheck]
update_boot1 boot1_sdcard.fex sys_config.bin SDMMC_CARD [Uncheck]
fsbuild bootfs.ini split_xxxx.fex [OK]
dragon image.cfg sys_partition.fex [Failed]

refer to out / pack.log for detail information.

ERROR:. Packing Failed
/ Home/user001/share-folder/android4.2/android_1
rm: can not delete "./../lichee/tools/pack/sun7i_81xx_a70x_800x480.img": No such file or directory
mv: can not get "./../lichee/tools/pack/sun7i_android_wing-k70.img" file status (stat): No such file or directory

---------------------------- Change the img name OK ----------------- ----------------

sun7i_81xx_a70x_800x480.img

androidsev @ androidsev :/ home/user001/share-folder/android4.2/android_1 $ vi out / pack.log
androidsev @ androidsev :/ home/user001/share-folder/android4.2/android_1 $ cd out
androidsev @ androidsev :/ home/user001/share-folder/android4.2/android_1/out $ ls
casecheck.txt CaseCheck.txt host target versions_checked.mk
androidsev @ androidsev :/ home/user001/share-folder/android4.2/android_1/out $ ls-la
The total amount of 28
drwxrwxrwx 4 androidsev androidsev 4096 10 月 11 06:49.
drwxrwxrwx 26 root root 4096 10 月 11 01:50 ..
-Rwxrwxrwx 1 androidsev androidsev 2 10 月 11 05:50 casecheck.txt
-Rwxrwxrwx 1 androidsev androidsev 2 10 月 11 05:50 CaseCheck.txt
drwxrwxr-x 4 androidsev androidsev 4096 10 月 11 05:51 host
drwxrwxrwx 4 androidsev androidsev 4096 10 月 11 05:50 target
-Rw-rw-r - 1 androidsev androidsev 45 10 月 11 05:50 versions_checked.mk
androidsev @ androidsev :/ home/user001/share-folder/android4.2/android_1/out $

Reply:
You are in the process of compiling it wrong, the following information is not a pack ah?
Do not know your compilation step, I talk about the normal compilation step!
First, compile the kernel:
Folder
into lichee. / Build.sh-p sun7i_android
Compilation is complete, the last few lines are. . . . ok it means you successfully finish editing
Android folder into the folder
source build / envsetup
lunch??? selected a few to see which product you are prepared, such wing-k7 suger-eng, etc.
extract-bsp copy android kernel source files into the main folder
make-j4 if the computer configuration is relatively low, then you do not have to add the following parameters of the
pack series is over, you can package the

Your error list, not the kind of mistakes often, so you can make clean and then follow the steps above to compile
Reply:
/ Bin / bash: line 2: javadoc: command not found javadoc found, this also tells you how you can find the command shell javadoc?
Reply:
make: *** [out / target / common / docs / uiautomator-stubs-timestamp] Error 45


This error solve it
Reply:
lichee is successful, the code behind my script contains, is packing
This is wrong, I clean look to try! !

cited a floor f839903061 reply:
your mistakes in the translation process, the following information is not a pack ah?
Do not know your compilation step, I talk about the normal compilation step!
First, compile the kernel:
Folder
into lichee. / Build.sh-p sun7i_android
Compilation is complete, the last few lines are. . . . ok it means you successfully finish editing
Android folder into the folder
source build / envsetup
lunch??? selected a few to see which product you are prepared, such wing-k7 suger-eng, etc.
extract-bsp copy android kernel source files into the main folder
make-j4 if the computer configuration is relatively low, then you do not have to add the following parameters of the
pack series is over, you can package the

Your error list, not the kind of mistakes often, so you can make clean and then follow the steps above to compile

Reply:
old way, or being given the same mistake!
Reply:
Solved.
reference to the third floor dedlous reply:
make: *** [out / target / common / docs / uiautomator-stubs-timestamp] Error 45


This error solved it

Reply:
Your problem is how to solve ah
I had a similar problem
lichee whole series can
successWhen compiling android
build / core / base_rules.mk: 130: *** libcore: MODULE.TARGET.ETC.target-cacert-d16a5865.0.svn-base already defined by libcore. Stop.
-------- Release version, donnot have uart printf -------------
INFO: Packing for android
>>> Script_parse 0.9.1
>>> Check sys_config line format
>>> Done.
>>> Check partition config
>>> Done.
>>> Script_parse 0.9.1
>>> Check sys_config line format
>>> Done.
>>> Check mainkey unique
>>> Done.
>>> Check module rule
>>> Not implement yet
cp / home/xiaolingyun/a20_project/a20_project/A20/lichee/out/android/common/u-boot.bin bootfs / linux / [OK]
script sys_config.fex [OK]
script sys_partition.fex [OK]
update_mbr sys_partition.bin 4 [OK]
update_boot0 boot0_nand.bin sys_config.bin NAND [OK]
update_boot0 boot0_sdcard.fex sys_config.bin SDMMC_CARD [OK]
update_boot1 boot1_nand.fex sys_config.bin NAND [Uncheck]
update_boot1 boot1_sdcard.fex sys_config.bin SDMMC_CARD [Uncheck]
fsbuild bootfs.ini split_xxxx.fex [OK]
dragon image.cfg sys_partition.fex [Failed]

refer to out / pack.log for detail information.

ERROR:. Packing Failed
/ Home/xiaolingyun/a20_project/a20_project/A20/android4.2
mv: can not get "./../lichee/tools/pack/sun7i_android_wing-k70.img" file status (stat): No such file or directory
Reply:
http://bbs.csdn.net/topics/390651885
Reply:
reference to the 6th floor love_replicate reply:
resolved.
Quote: references to the third floor dedlous reply:

make: *** [out / target / common / docs / uiautomator-stubs-timestamp] Error 45


This error solved it

This error how to solve?
I have met online can not find the relevant
The landlord can say about Well

No comments:

Post a Comment