Re: [android-building] question related to ccache
Generally it's a good idea to use the tools paired with the branch. But in ccache's case, the binaries are the same for M, N, O, and newer. With the build system you're always going to use the ccache binary paired with the tree anyways -- you just set USE_CCACHE=1. The only time you'd use the ccache binary directly is to manage the cache settings. - Dan On Mon, Apr 2, 2018 at 7:53 AMwrote: > According guide posted here : > https://source.android.com/setup/build/initializing#optimizing-a-build-environment, > ccache can help to optimize build. My question is if the newest ccache can > benefit old dessert code compiling? e.g. I get the ' > prebuilts/misc/linux-x86/ccache/ccache' from O MR1. but sometimes I also > need to compile M or N dessert, Can I still use the one from O MR1 or I > need to use it from M or N dessert prebuild? > the right place> > > -- > -- > You received this message because you are subscribed to the "Android > Building" mailing list. > To post to this group, send email to android-building@googlegroups.com > To unsubscribe from this group, send email to > android-building+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-building?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Android Building" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-building+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to android-building@googlegroups.com To unsubscribe from this group, send email to android-building+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-building+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-building] Re: Android 8.1.0 Oreo MR1 Released
Android 8.1.0 Oreo MR1 source code is now available. The following builds, tags, and devices are supported: - OPM1.171019.026, android-8.1.0_r19, Pixel C - OPM2.171019.029, android-8.1.0_r20, Pixel 2 XL (taimen), Pixel 2 (walleye), ixel XL (marlin), Pixel (sailfish), Nexus 5X (bullhead) - OPM3.171019.019, android-8.1.0_r21, Nexus 6P (angler) - OPM5.171019.019, android-8.1.0_r22, Nexus 6P (angler) The corresponding factory images, ota images, and proprietary binaries are available at https://developers.google.com/android/images https://developers.google.com/android/ota https://developers.google.com/android/drivers We have also pushed the corresponding kernel projects for the following devices: Tag | Project | Branch | Device android-8.1.0_r0.41 | kernel/msm | android-msm-angler-3.10-oreo-m3 | Nexus 6P android-8.1.0_r0.42 | kernel/msm | android-msm-bullhead-3.10-oreo-m2 | Nexus 5X android-8.1.0_r0.43 | kernel/tegra | android-tegra-dragon-3.18-oreo-mr1 | Pixel C android-8.1.0_r0.44 | kernel/msm | android-msm-marlin-3.18-oreo-m2 | Pixel and Pixel XL android-8.1.0_r0.46 | kernel/msm | android-msm-wahoo-4.4-oreo-m2 | Pixel 2 and Pixel 2 XL bill -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to android-building@googlegroups.com To unsubscribe from this group, send email to android-building+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-building+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-building] run make then ninja: no work to do. [1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
B00095315:workspace tonglele$ make clobber PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=8.0.0 TARGET_PRODUCT=aosp_arm TARGET_BUILD_VARIANT=eng TARGET_BUILD_TYPE=release TARGET_ARCH=arm TARGET_ARCH_VARIANT=armv7-a TARGET_CPU_VARIANT=generic HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=darwin HOST_OS_EXTRA=Darwin-17.4.0-x86_64-i386-64bit HOST_BUILD_TYPE=release BUILD_ID=OPR1.170623.027 OUT_DIR=out ninja: no work to do. [1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja FAILED: out/soong/build.ninja out/soong/.bootstrap/bin/soong_build -t -b out/soong -d out/soong/build.ninja.d -o out/soong/build.ninja Android.bp internal error: open frameworks/native/services/audiomanager/Android.bp: too many open files internal error: open frameworks/native/services/batteryservice/Android.bp: too many open files internal error: open frameworks/native/services/displayservice/Android.bp: too many open files internal error: open frameworks/native/services/powermanager/Android.bp: too many open files internal error: open frameworks/native/services/schedulerservice/Android.bp: too many open files internal error: open frameworks/native/services/sensorservice/Android.bp: too many open files internal error: open frameworks/native/services/surfaceflinger/Android.bp: too many open files internal error: open frameworks/native/services/vr/Android.bp: too many open files internal error: open frameworks/native/vulkan/nulldrv/Android.bp: too many open files internal error: open system/libhidl/transport/manager/1.0/Android.bp: too many open files internal error: open system/libhidl/transport/base/1.0/Android.bp: too many open files ninja: build stopped: subcommand failed. 16:55:45 soong bootstrap failed with: exit status 1 make: *** [run_soong_ui] Error 1 make failed to build some targets (2 seconds) -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to android-building@googlegroups.com To unsubscribe from this group, send email to android-building+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-building+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-building] Re: make failed to build some targets
Hi Dan, sorry for the delayed response and thanks for the tip! I opted to rebuild my environment on a more capable physical Linux machine and the build passed ok :) One thing though is that I’m having trouble running the built image on a different (mac) machine. I copied the image files from ~/output/android/target/product/generic_x86 userdata.img system.img ramdisk.img cache.img The kernel from: ~/prebuilts/qemu-kernel/x86/ranchu/kernel-qemu The emulator from: ~/prebuilts/android-emulator/darwin-x86_64 Excuted: ~/emu/darwin-x86_64/emulator @Nexus_5_API_26_BUILD.avd -sysdir ~/emu/android-26/sys -datadir ~/emu/android-26/data/Nexus_5_API_26_BUILD.avd -kernel ~/emu/android-26/kernel/kernel-qemu -memory 1536 -partition-size 800 PANIC: Unknown AVD name [Nexus_5_API_26_BUILD.avd], use -list-avds to see valid list. HOME is defined but there is no file Nexus_5_API_26_BUILD.avd.ini in $HOME/.android/avd (Note: Directories are searched in the order $ANDROID_AVD_HOME, $ANDROID_SDK_HOME/.android/avd, and $HOME/.android/avd) So I don’t quite understand how “AVD” configurations comes in to play here and why the emulator does not search my -datadir flag. Do I have to create an additional ini file (or any other file) beyond specifying the locations of images? If so how can I have the emulator use my specific path? 10x -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to android-building@googlegroups.com To unsubscribe from this group, send email to android-building+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-building+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-building] Running emulator after build displays errors
I built the latest release: AOSP 8.1.0_r18 and attempted to run it in the emulator on the same machine. The emulator runs and I get the home screen but it also displays some errors.. jumbo@ubuntu-14:~$ cd android jumbo@ubuntu-14:~/android$ source build/envsetup.sh including device/asus/fugu/vendorsetup.sh including device/generic/car/vendorsetup.sh including device/generic/mini-emulator-arm64/vendorsetup.sh including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh including device/generic/mini-emulator-mips64/vendorsetup.sh including device/generic/mini-emulator-mips/vendorsetup.sh including device/generic/mini-emulator-x86_64/vendorsetup.sh including device/generic/mini-emulator-x86/vendorsetup.sh including device/generic/uml/vendorsetup.sh including device/google/dragon/vendorsetup.sh including device/google/marlin/vendorsetup.sh including device/google/muskie/vendorsetup.sh including device/google/taimen/vendorsetup.sh including device/huawei/angler/vendorsetup.sh including device/lge/bullhead/vendorsetup.sh including device/linaro/hikey/vendorsetup.sh including sdk/bash_completion/adb.bash jumbo@ubuntu-14:~/android$ lunch aosp_x86_64-eng PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=8.1.0 TARGET_PRODUCT=aosp_x86_64 TARGET_BUILD_VARIANT=eng TARGET_BUILD_TYPE=release TARGET_PLATFORM_VERSION=OPM1 TARGET_BUILD_APPS= TARGET_ARCH=x86_64 TARGET_ARCH_VARIANT=x86_64 TARGET_CPU_VARIANT= TARGET_2ND_ARCH=x86 TARGET_2ND_ARCH_VARIANT=x86_64 TARGET_2ND_CPU_VARIANT= HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-4.4.0-116-generic-x86_64-with-Ubuntu-14.04-trusty HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=OPM5.171019.017 OUT_DIR=/home/jumbo/out/android AUX_OS_VARIANT_LIST= jumbo@ubuntu-14:~/android$ emulator emulator: WARNING: system partition size adjusted to match image file (2562 MB > 200 MB) warning: host doesn't support requested feature: CPUID.8001H:ECX.sse4a [bit 6] warning: host doesn't support requested feature: CPUID.8001H:ECX.sse4a [bit 6] Your emulator is out of date, please update by launching Android Studio: - Start Android Studio - Select menu "Tools > Android > SDK Manager" - Click "SDK Tools" tab - Check "Android Emulator" checkbox - Click "OK" Any ideas? 10x -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to android-building@googlegroups.com To unsubscribe from this group, send email to android-building+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-building+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-building] Re: andriod-4.2.2_r2 build error
Hi Ye Roger, Did you happen to found any solution on this problem, or the reason why this problem occurred? On Saturday, June 4, 2016 at 12:27:18 AM UTC+9, Ye Roger wrote: > > I know that there may not have people interested in the old build. > However, I do need to build an emulator x86 version for 4.2.2. After I > setup up everything and launched the build, I got the following errors: > > .. > out/target/common/obj/PACKAGING/public_api.txt:26471: error 4: Added > public constructor AnimationParameters() > out/target/common/obj/PACKAGING/public_api.txt:26510: error 4: Added > public constructor AnimationParameters() > out/target/common/obj/PACKAGING/public_api.txt:27462: error 4: Added > public constructor WebViewTransport() > out/target/common/obj/PACKAGING/public_api.txt:27604: error 4: Added > public constructor LayoutParams(Context,AttributeSet) > out/target/common/obj/PACKAGING/public_api.txt:27605: error 4: Added > public constructor LayoutParams(int,int) > out/target/common/obj/PACKAGING/public_api.txt:27606: error 4: Added > public constructor LayoutParams(int,int,int) > out/target/common/obj/PACKAGING/public_api.txt:27607: error 4: Added > public constructor LayoutParams(LayoutParams) > out/target/common/obj/PACKAGING/public_api.txt:27664: error 4: Added > public constructor LayoutParams(int,int,int,int) > out/target/common/obj/PACKAGING/public_api.txt:27665: error 4: Added > public constructor LayoutParams(Context,AttributeSet) > out/target/common/obj/PACKAGING/public_api.txt:27666: error 4: Added > public constructor LayoutParams(LayoutParams) > out/target/common/obj/PACKAGING/public_api.txt:27721: error 4: Added > public constructor AdapterContextMenuInfo(View,int,long) > out/target/common/obj/PACKAGING/public_api.txt:28215: error 4: Added > public constructor ExpandableListContextMenuInfo(View,long,long) > out/target/common/obj/PACKAGING/public_api.txt:28251: error 4: Added > public constructor FilterResults() > out/target/common/obj/PACKAGING/public_api.txt:28279: error 4: Added > public constructor LayoutParams(Context,AttributeSet) > out/target/common/obj/PACKAGING/public_api.txt:28280: error 4: Added > public constructor LayoutParams(int,int) > out/target/common/obj/PACKAGING/public_api.txt:28281: error 4: Added > public constructor LayoutParams(int,int,int) > out/target/common/obj/PACKAGING/public_api.txt:28282: error 4: Added > public constructor LayoutParams(LayoutParams) > out/target/common/obj/PACKAGING/public_api.txt:28283: error 4: Added > public constructor LayoutParams(MarginLayoutParams) > out/target/common/obj/PACKAGING/public_api.txt:28305: error 4: Added > public constructor LayoutParams(Context,AttributeSet) > out/target/common/obj/PACKAGING/public_api.txt:28306: error 4: Added > public constructor LayoutParams(int,int) > out/target/common/obj/PACKAGING/public_api.txt:28307: error 4: Added > public constructor LayoutParams(LayoutParams) > out/target/common/obj/PACKAGING/public_api.txt:28353: error 4: Added > public constructor LayoutParams(Spec,Spec) > out/target/common/obj/PACKAGING/public_api.txt:28354: error 4: Added > public constructor LayoutParams() > out/target/common/obj/PACKAGING/public_api.txt:28355: error 4: Added > public constructor LayoutParams(LayoutParams) > out/target/common/obj/PACKAGING/public_api.txt:28356: error 4: Added > public constructor LayoutParams(MarginLayoutParams) > out/target/common/obj/PACKAGING/public_api.txt:28357: error 4: Added > public constructor LayoutParams(LayoutParams) > out/target/common/obj/PACKAGING/public_api.txt:28358: error 4: Added > public constructor LayoutParams(Context,AttributeSet) > out/target/common/obj/PACKAGING/public_api.txt:28541: error 4: Added > public constructor LayoutParams(Context,AttributeSet) > out/target/common/obj/PACKAGING/public_api.txt:28542: error 4: Added > public constructor LayoutParams(int,int) > out/target/common/obj/PACKAGING/public_api.txt:28543: error 4: Added > public constructor LayoutParams(int,int,float) > out/target/common/obj/PACKAGING/public_api.txt:28544: error 4: Added > public constructor LayoutParams(LayoutParams) > out/target/common/obj/PACKAGING/public_api.txt:28545: error 4: Added > public constructor LayoutParams(MarginLayoutParams) > out/target/common/obj/PACKAGING/public_api.txt:28651: error 4: Added > public constructor FixedViewInfo() > out/target/common/obj/PACKAGING/public_api.txt:28693: error 4: Added > public constructor CommaTokenizer() > out/target/common/obj/PACKAGING/public_api.txt:28902: error 4: Added > public constructor LayoutParams(Context,AttributeSet) > out/target/common/obj/PACKAGING/public_api.txt:28903: error 4: Added > public constructor LayoutParams(int,int) > out/target/common/obj/PACKAGING/public_api.txt:28904: error 4: Added > public constructor LayoutParams(int,int,float) > out/target/common/obj/PACKAGING/public_api.txt:28905: error 4: Added > public constructor LayoutParams(LayoutParams) >
[android-building] Re: andriod-4.2.2_r2 build error
I figured out that i my sdk version was incorrect. In my case, i switched to oracle-6-java for java, javac, javaws but my javadoc was still using java-8. (javadoc -J-version was 1.8.xx) On Saturday, June 4, 2016 at 12:27:18 AM UTC+9, Ye Roger wrote: > > I know that there may not have people interested in the old build. > However, I do need to build an emulator x86 version for 4.2.2. After I > setup up everything and launched the build, I got the following errors: > > .. > out/target/common/obj/PACKAGING/public_api.txt:26471: error 4: Added > public constructor AnimationParameters() > out/target/common/obj/PACKAGING/public_api.txt:26510: error 4: Added > public constructor AnimationParameters() > out/target/common/obj/PACKAGING/public_api.txt:27462: error 4: Added > public constructor WebViewTransport() > out/target/common/obj/PACKAGING/public_api.txt:27604: error 4: Added > public constructor LayoutParams(Context,AttributeSet) > out/target/common/obj/PACKAGING/public_api.txt:27605: error 4: Added > public constructor LayoutParams(int,int) > out/target/common/obj/PACKAGING/public_api.txt:27606: error 4: Added > public constructor LayoutParams(int,int,int) > out/target/common/obj/PACKAGING/public_api.txt:27607: error 4: Added > public constructor LayoutParams(LayoutParams) > out/target/common/obj/PACKAGING/public_api.txt:27664: error 4: Added > public constructor LayoutParams(int,int,int,int) > out/target/common/obj/PACKAGING/public_api.txt:27665: error 4: Added > public constructor LayoutParams(Context,AttributeSet) > out/target/common/obj/PACKAGING/public_api.txt:27666: error 4: Added > public constructor LayoutParams(LayoutParams) > out/target/common/obj/PACKAGING/public_api.txt:27721: error 4: Added > public constructor AdapterContextMenuInfo(View,int,long) > out/target/common/obj/PACKAGING/public_api.txt:28215: error 4: Added > public constructor ExpandableListContextMenuInfo(View,long,long) > out/target/common/obj/PACKAGING/public_api.txt:28251: error 4: Added > public constructor FilterResults() > out/target/common/obj/PACKAGING/public_api.txt:28279: error 4: Added > public constructor LayoutParams(Context,AttributeSet) > out/target/common/obj/PACKAGING/public_api.txt:28280: error 4: Added > public constructor LayoutParams(int,int) > out/target/common/obj/PACKAGING/public_api.txt:28281: error 4: Added > public constructor LayoutParams(int,int,int) > out/target/common/obj/PACKAGING/public_api.txt:28282: error 4: Added > public constructor LayoutParams(LayoutParams) > out/target/common/obj/PACKAGING/public_api.txt:28283: error 4: Added > public constructor LayoutParams(MarginLayoutParams) > out/target/common/obj/PACKAGING/public_api.txt:28305: error 4: Added > public constructor LayoutParams(Context,AttributeSet) > out/target/common/obj/PACKAGING/public_api.txt:28306: error 4: Added > public constructor LayoutParams(int,int) > out/target/common/obj/PACKAGING/public_api.txt:28307: error 4: Added > public constructor LayoutParams(LayoutParams) > out/target/common/obj/PACKAGING/public_api.txt:28353: error 4: Added > public constructor LayoutParams(Spec,Spec) > out/target/common/obj/PACKAGING/public_api.txt:28354: error 4: Added > public constructor LayoutParams() > out/target/common/obj/PACKAGING/public_api.txt:28355: error 4: Added > public constructor LayoutParams(LayoutParams) > out/target/common/obj/PACKAGING/public_api.txt:28356: error 4: Added > public constructor LayoutParams(MarginLayoutParams) > out/target/common/obj/PACKAGING/public_api.txt:28357: error 4: Added > public constructor LayoutParams(LayoutParams) > out/target/common/obj/PACKAGING/public_api.txt:28358: error 4: Added > public constructor LayoutParams(Context,AttributeSet) > out/target/common/obj/PACKAGING/public_api.txt:28541: error 4: Added > public constructor LayoutParams(Context,AttributeSet) > out/target/common/obj/PACKAGING/public_api.txt:28542: error 4: Added > public constructor LayoutParams(int,int) > out/target/common/obj/PACKAGING/public_api.txt:28543: error 4: Added > public constructor LayoutParams(int,int,float) > out/target/common/obj/PACKAGING/public_api.txt:28544: error 4: Added > public constructor LayoutParams(LayoutParams) > out/target/common/obj/PACKAGING/public_api.txt:28545: error 4: Added > public constructor LayoutParams(MarginLayoutParams) > out/target/common/obj/PACKAGING/public_api.txt:28651: error 4: Added > public constructor FixedViewInfo() > out/target/common/obj/PACKAGING/public_api.txt:28693: error 4: Added > public constructor CommaTokenizer() > out/target/common/obj/PACKAGING/public_api.txt:28902: error 4: Added > public constructor LayoutParams(Context,AttributeSet) > out/target/common/obj/PACKAGING/public_api.txt:28903: error 4: Added > public constructor LayoutParams(int,int) > out/target/common/obj/PACKAGING/public_api.txt:28904: error 4: Added > public constructor LayoutParams(int,int,float) > out/target/common/obj/PACKAGING/public_api.txt:28905: