Re: [android-building] Build error: There is insufficient memory for the Java Runtime Environment to continue.

2019-10-18 Thread 'Colin Cross' via Android Building
You'll need to pass a lower -j value to m. The parallelism selection only takes the number of CPUs into account, and not the total memory. This is something we are looking to improve on. On Fri, Oct 18, 2019 at 8:46 AM Zelong wrote: > zelong@zelong-ThinkPad-T430:/media/zelong/2828a0f1-cc41-442

Re: [android-building] How to add relative path for srcs:[] in Android.bp

2019-10-18 Thread Akanksha
This works well, Thanks On Friday, October 18, 2019 at 4:22:22 AM UTC+5:30, Dan Willemsen wrote: > > Here's an example of using a filegroup for this -- > cts/hostsidetests/media/common/**/*.java is used by two modules under > cts/hostsidetests/media/app/... > > So we've got the filegroup that de

[android-building] Build error: There is insufficient memory for the Java Runtime Environment to continue.

2019-10-18 Thread Zelong
zelong@zelong-ThinkPad-T430:/media/zelong/2828a0f1-cc41-4428-854d-a7a18c59f5c6/android_source$ m PLATFORM_VERSION_CODENAME=R PLATFORM_VERSION=R TARGET_PRODUCT=aosp_arm TARGET_BUILD_VARIANT=eng TARGET_BUILD_TYPE=release TARGET_ARCH=arm TARGET_ARCH_VARIA

[android-building] With Android Build System, facing java error while executing android helper tool

2019-10-18 Thread TORAL PANCHAL
I want to create an avd, but facing java error while launching android PREBUILT tool. Please note that I am using Android Build System and not the sdk. How to overcome this error so that I can create a new avd? Error: $ android -help Exception in thread "main" java.lang.NoClassDefFoundError: