AnsweredAssumed Answered

How to build Android SDK for iMX8MQ EVK?

Question asked by Thinh Nguyen on Jul 8, 2018
Latest reply on Jul 17, 2018 by Thinh Nguyen

I am trying to build an SDK for iMX8MQ EVK. Below are my step:

 

1. source build/envsetup.sh

2. lunch evk_8mq-userdebug

3. make -j 8 (This step build android image => success)

4. make -j 8 sdk (This step build SDK => Failed)

I got these error

 

development/build/sdk-linux-x86.atree:36: couldn't locate source file: lib64/libaapt2_jni.so
development/build/sdk.atree:50: couldn't locate source file: bin/dmtracedump
development/build/sdk.atree:51: couldn't locate source file: bin/etc1tool
development/build/sdk.atree:81: couldn't locate source file: bin/split-select
development/build/sdk.atree:86: couldn't locate source file: bin/bcc_compat
development/build/sdk.atree:134: couldn't locate source file: bin/apksigner
development/build/sdk.atree:135: couldn't locate source file: framework/apksigner.jar
development/build/sdk.atree:138: couldn't locate source file: bin/dx
development/build/sdk.atree:139: couldn't locate source file: framework/dx.jar
development/build/sdk.atree:212: couldn't locate source file: framework/layoutlib-legacy.jar
development/build/sdk.atree:238: couldn't locate source file: system-qemu.img
development/build/sdk.atree:239: couldn't locate source file: vendor-qemu.img
development/build/sdk.atree:241: couldn't locate source file: userdata.img
development/build/sdk.atree:456: couldn't locate source file: system/app/EmulatorSmokeTests/EmulatorSmokeTests.apk
ninja: build stopped: subcommand failed.
10:51:16 ninja failed with: exit status 1

#### failed to build some targets (10:07 (mm:ss)) ####

 

Can someone have any solution or hint? Many thanks for replying me.

Outcomes