android 4.4.2 build issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

android 4.4.2 build issue

2,034 Views
rkp
Contributor I

Hi,

 

I am trying to Build Android 4.4.2 for my i.MX6Q- SD board.

 

I followed all the steps which is detailed in Android_User'sGuide.pdf(downloaded from freescale site) to build Android 4.4.2.

 

I got the following error while building the code:

 

build/core/Makefile:32: warning: overriding commands for target `out/target/product/sabresd_6dq/system/etc/permissions/android.software.live_wallpaper.xml'

build/core/base_rules.mk:529: warning: ignoring old commands for target `out/target/product/sabresd_6dq/system/etc/permissions/android.software.live_wallpaper.xml'

No private recovery resources for TARGET_DEVICE sabresd_6dq

make: *** No rule to make target `sabresd_6dq-user'. Stop.

 

The detailed build log ( build_sabresd_6dq_android.log) is attached with this request.

 

My build variant details are:

 

TARGET_PRODUCT=sabresd_6dq

TARGET_BUILD_VARIANT=user

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

TARGET_CPU_VARIANT=cortex-a9

HOST_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.13.0-32-generic-x86_64-with-Ubuntu-14.04-

trusty

HOST_BUILD_TYPE=release

BUILD_ID=1.0.0-rc3

OUT_DIR=out

============================================

 

Please help me to fix this issue.

 

Regards,

Roopesh K P

Original Attachment has been moved to: build_sabresd_6dq_android.log.zip

Labels (4)
0 Kudos
2 Replies

496 Views
Yuri
NXP Employee
NXP Employee

  Have you followed exactly the "Android User's Guide" to build the image ?

In particular - according to section 2.1 (Setting up your computer) :

"You also need to use the 10.10 or 11.04 64 bit version of

Ubuntu which are the most tested OS for the Android kk4.4.2

build."

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

496 Views
rkp
Contributor I

Hi Yuri,

Thank you for the reply. Initially I had checked out the repo in root privilege mode and build failed . Then I tried with user privilege mode, I can able to build it successfully. I noticed that there is a 2MB size difference in the source code. Also I had installed the following packages,

sudo add-apt-repository ppa:webupd8team/java

sudo apt-get install oracle-java6-installer

sudo apt-get install flex

sudo apt-get install bison g++  multilib git gperf libxml2-utils

Note: Initially I was using open JDK 6 , but I replaced it with oracle Java6.

Thanks & Regards,

Roopesh K P

0 Kudos