RE: [android-building] Re: Issue in Android-N building on Ubuntu 16.04 system

2017-08-09 Thread Kumar Gupta, Sanjiv
Please use OpenJdk 8 java, and not the official jdk from oracle.

From: android-building@googlegroups.com 
[mailto:android-building@googlegroups.com] On Behalf Of Blasio Ojenge
Sent: Tuesday, August 8, 2017 12:51 PM
To: Android Building 
Subject: [android-building] Re: Issue in Android-N building on Ubuntu 16.04 
system



On Thursday, July 27, 2017 at 7:02:28 PM UTC+3, RAVIKIRAN J J wrote:
Hi All,


I am facing the below issue on building Android N on my Ubuntu 16.04 
machine.Please advise.


Running kati to generate build-nano_6q-mmm-external_doclava_Android.mk.ninja...
out/build-nano_6q-mmm-external_doclava_Android.mk.ninja is missing, 
regenerating...

PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
TARGET_PRODUCT=nano_6q
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-87-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=1.0.0-ga-rc10
OUT_DIR=out

Checking build tools versions...

You asked for an OpenJDK based build but your version is
java version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) 
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode).

build/core/main.mk:231: *** stop.
build/core/ninja.mk:163: recipe for target 
'out/build-nano_6q-mmm-external_doclava_Android.mk.ninja' failed
make: *** [out/build-nano_6q-mmm-external_doclava_Android.mk.ninja] Error 1



Thanks and Regards,
Ravikiran J J



the error is "build/core/ninja.mk:163: recipe for target 
'out/build-nano_6q-mmm-
external_doclava_Android.mk.ninja' failed", try and fugure out is that should 
be a folder or a file to be created.. I suggest you check that first, (I might 
be wrong though)
--
--
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] Is there a way to override a LOCAL_MODULE?

2017-08-09 Thread Alvin Cao
I know there is a LOCAL_OVERRIDES_PACKAGES. But seems like it works only 
for applications.

Sometimes we need override other sorts of modules, like an init.*.rc under 
system/etc for different devices, what is the best way to do this?

-- 
-- 
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: How to solve: /usr/bin/ld: cannot find -lGL /usr/bin/ld

2017-08-09 Thread John Kelley
I don't know that any Android version is recommended to be build on Ubuntu 
17, so this may cause problems - especially with an Android version as old 
as ICS. That aside, it appears that you are missing the  thelibgl1-mesa-dev 
dependency (or Ubuntu 17 equivalent).

On Tuesday, August 8, 2017 at 8:58:25 AM UTC-7, Shayan Pakzad wrote:
>
> up vote
> down votefavorite 
> 
>
> I use AOSP to build android. I use these commands to build android on my 
> ubuntu 17.04:
>
> repo init -u https://android.googlesource.com/platform/manifest -b 
> android-4.0.1_r1 repo sync -j8 . build/envsetup.sh lunch make -j8
>
> and aftar 30 minutes this error came, anybody know how to fix it?
>
> host Executable: tblgen 
> (out/host/linux-x86/obj/EXECUTABLES/tblgen_intermediates/tblgen) 
> /usr/bin/ld: cannot find -lGL collect2: ld returned 1 exit status 
> /usr/bin/ld: cannot find -lGL /usr/bin/ld: cannot find -lGL make: *** 
> [out/host/linux-x86/obj/lib/libGLES_CM_translator.so] Error 1 make: *** 
> Waiting for unfinished jobs collect2: ld returned 1 exit status 
> collect2: ld returned 1 exit status
>

-- 
-- 
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.