Android Build error

Discuss Android on the Wandboard, as well as app development for or on the Wandboard.

Android Build error

Postby moidinsuzan » Wed Sep 18, 2013 7:08 pm

Hi,
Followed below steps to download Android source.

cd /opt/android
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ./repo
chmod a+x ./repo
./repo init -u git://www.wandboard.org/android/manifest.git -m default.xml
./repo sync -j4

Followed below steps for building Android.

cd /opt/android
. build/envsetup.sh
choosecombo 1 wandboard 3
make -j4

Getting error and not able to solve it:Below are error logs.

Import includes file: out/target/product/wandboard/obj/SHARED_LIBRARIES/vgpreload_memcheck-arm-linux_intermediates/import_includes
Export includes file: external/valgrind/main/Android.mk -- out/target/product/wandboard/obj/SHARED_LIBRARIES/vgpreload_memcheck-arm-linux_intermediates/export_includes
Import includes file: out/target/product/wandboard/obj/SHARED_LIBRARIES/vgpreload_tsan-arm-linux_intermediates/import_includes
Export includes file: external/valgrind/tsan/Android.mk -- out/target/product/wandboard/obj/SHARED_LIBRARIES/vgpreload_tsan-arm-linux_intermediates/export_includes
host Java: guavalib (out/host/common/obj/JAVA_LIBRARIES/guavalib_intermediates/classes)
Import includes file: out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/import_includes
host C++: libhost <= build/libs/host/pseudolocalize.cpp
Generated: (out/target/product/wandboard/android-info.txt)
host C: libhost <= build/libs/host/CopyFile.c
Import includes file: out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/import_includes
prebuilts/tools/gcc-sdk/g++: line 40: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/i686-linux-g++: No such file or directory
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/pseudolocalize.o] Error 127
make: *** Waiting for unfinished jobs....
prebuilts/tools/gcc-sdk/gcc: line 40: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/i686-linux-gcc: No such file or directory
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/CopyFile.o] Error 127
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

Plz let me know how can i solve this build issue.

Regards,
Suzan
moidinsuzan
 
Posts: 5
Joined: Wed Sep 04, 2013 11:24 am

Re: Android Build error

Postby Lukas » Thu Sep 19, 2013 11:21 am

Is it a virtual machine where you build android? Yes: I had errors (not the same) because of -j4 - only "make" solved my problem. Check memory (RAM) on your build enviroment during build.
Lukas
 
Posts: 15
Joined: Tue Sep 03, 2013 7:46 am

Re: Android Build error

Postby moidinsuzan » Fri Sep 20, 2013 6:47 pm

Hi Lukas,
Thanks for your reply.
I am not using virtual machine.I am using ubuntu 64 bit 12.04 version machine.
can you tell what are the packages installed before you build android.

Regards,
Suzan
moidinsuzan
 
Posts: 5
Joined: Wed Sep 04, 2013 11:24 am

Re: Android Build error

Postby Lukas » Mon Sep 23, 2013 6:25 pm

Code: Select all
sudo apt-get install git gnupg flex bison gperf build-essential \
  zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
  libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
  libgl1-mesa-dev g++-multilib mingw32 tofrodos \
  python-markdown libxml2-utils xsltproc zlib1g-dev:i386 \
  ia32-libs u-boot-tools minicom libncurses5-dev \
  uuid-dev:i386    liblzo2-dev:i386

sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
Lukas
 
Posts: 15
Joined: Tue Sep 03, 2013 7:46 am

Re: Android Build error

Postby moidinsuzan » Tue Sep 24, 2013 6:31 pm

Hi Lucas,

Thanks for your reply.

After installing packages mentioned by you, it worked for me.

I need to know how we can change android boot up screen, Plz help me out with this.

Regards,
Suzan
moidinsuzan
 
Posts: 5
Joined: Wed Sep 04, 2013 11:24 am

Re: Android Build error

Postby Lukas » Wed Sep 25, 2013 7:50 am

I can recommend following link:
http://www.usmile.at/howto/bootanimation

In order to add this zip file automatically to build "output" add following line at
...myandroid/device/fsl/imx6/imx6_wand.mk:

# copy boot animation
PRODUCT_COPY_FILES += \
<your folder below myandroid or absolute path>/bootanimation.zip:system/media/bootanimation.zip

best regards
Lukas
Lukas
 
Posts: 15
Joined: Tue Sep 03, 2013 7:46 am

Re: Android Build error

Postby Hyde31 » Mon May 29, 2017 4:51 am

Download it From this listed below right into the Game itutuapp.com as well as run it, it will ask you to sign in with an account.
Hyde31
 
Posts: 1
Joined: Mon May 29, 2017 4:35 am


Return to Software - Android

Who is online

Users browsing this forum: No registered users and 12 guests

cron