[android-building] How to build and run support7Demos

2017-10-25 Thread
How to build and run support7Demos I clone the https://android.googlesource.com/platform/frameworks/support/ repo and try to run the support demos. /Users/gongzelong/Android/githubrepo/support [core] repositoryformatversion = 0 filemode = true bare = false

[android-building] Re: How to switch branch from master to android-8.0.0_r17?

2017-10-17 Thread
out this > branch from server. After "sync success", you can see the android code. > > > 在 2017年10月15日星期日 UTC+8上午2:10:09,龚泽龙写道: >> >> zelongg@zelongg:~/Android/source/aosp$ repo init -b android-8.0.0_r17 >> >> Your identity is: zelongg <gongz...@gmail.c

[android-building] How to switch branch from master to android-8.0.0_r17?

2017-10-14 Thread
zelongg@zelongg:~/Android/source/aosp$ repo init -b android-8.0.0_r17 Your identity is: zelongg If you want to change this, please re-run 'repo init' with --config-name Testing colorized output (for 'repo diff', 'repo status'): black red green yellow blue magenta cyan

[android-building] Re: Failed to re-build the source code 6.0.1 M4B30Z because of API changes

2017-10-05 Thread
I `make clean` and `make -j4` It turns out to be wrong JDK version. I used oracle 8 instead of openjdk 7. https://source.android.com/source/requirements JDK requirement: Android 5.x (Lollipop) - Android 6.0 (Marshmallow): Ubuntu - OpenJDK 7 , Mac OS -

[android-building] Build error on 6.0.1

2017-10-05 Thread
Target cache fs image: out/target/product/generic/cache.img Copying: out/target/common/obj/JAVA_LIBRARIES/junit-runner_intermediates/classes-jarjar.jar Copying: out/target/common/obj/JAVA_LIBRARIES/mockito-api_intermediates/classes-jarjar.jar Copying:

[android-building] Failed to re-build the source code 6.0.1 M4B30Z because of API changes

2017-10-03 Thread
Checking API: checkpublicapi-last Checking API: checkpublicapi-current Checking API: checksystemapi-last Checking API: checksystemapi-current Exception in thread "main" java.lang.UnsupportedClassVersionError: com/sun/javadoc/ClassDoc : Unsupported major.minor version 52.0 at

[android-building] Flash Android 6.0.1 M4B30Z to Nexus 5

2017-03-17 Thread
Before I have built the source code of AOSP sucessfully. Then I did the following. source build/envsetup.sh lunch 19 adb reboot bootloader sudo $(which fastboot) flashall -w error: neither -p product specified nor ANDROID_PRODUCT_OUT set env | grep ANDROID_PRODUCT_OUT

[android-building] Re: .jar issues with aosp on ubuntu 16.04

2016-10-31 Thread
How did you get the files you list? Have you delete the open jdk 8 which is previously install on Ubuntu 16.04? Have you built the android source code on Ubuntu 16.04? On Friday, June 10, 2016 at 5:32:49 AM UTC+8, Geek Till It Hertz wrote: > > solved bu installing open jdk 1.7 with the following