AnsweredAssumed Answered

Build android kitkat from source imx6q

Question asked by Alexandre Delove on Aug 5, 2014
Latest reply on Jul 16, 2015 by Hugo Osornio Lopez

Hello

 

I am working on a Sabrelite and i'm trying to put android kit kat 4.4.2 on it, so i build it from sources. I have Ubuntu 14.04 64 bit on my computer.

 

Everything is fine until page 7 of the documentation named "Android_User's_Guide.pdf", when i launch "make 2>&1 | tee build_sabresd_6dq_android.log" something strange happen, the first part look like that:

 

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
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
============================================

then everything is OK until this part:

including ./frameworks/base/Android.mk ...
find: "src": Aucun fichier ou dossier de ce type     (It's french for "no such file or directory")

and at the end, it shows that:

including ./tools/external/fat32lib/Android.mk ... build/core/Makefile:32: attention : écrasement des commandes pour la cible « out/target/product/sabresd_6dq/system/etc/permissions/android.software.live_wallpaper.xml (Traduction: Warning : deleting command for)
build/core/base_rules.mk:529: attention : anciennes commandes ignorées pour la cible « out/target/product/sabresd_6dq/system/etc/permissions/android.software.live_wallpaper.xml (Traduction: Warning: Former command ignored for)
No private recovery resources for TARGET_DEVICE sabresd_6dq host C++: validatekeymaps <= frameworks/base/tools/validatekeymaps/Main.cpp
prebuilts/tools/gcc-sdk/g++: ligne 40: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/i686-linux-g++: Aucun fichier ou dossier de ce type   (Traduction: No such file or directory)
make: *** [out/host/linux-x86/obj/EXECUTABLES/validatekeymaps_intermediates/Main.o] Erreur 127

Something is very strange, this prompt said that the file "prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/i686-linux-g++" doesn't exist, but i went to this file and i found it.

Everything was fine before, i don't know what to do

Thanks

Alexandre

Outcomes