Question: Execute failed:java.io.IOException:Cannot Run Program "/USR/LOCAL/ANDROID-SDK-LINUX/BUILD-TOOLS/23.0.2/AAPT": error=2, No such file or directory
Cause: The x86 C + + language library is missing when packaged into APK under 64-bit Linux.
Solution: Reference: HTTPS://STACKOVERFLOW.COM/QUESTIONS/17474401/ Cannot-run-program-xx-sdk-tools-emulator-java-io-ioexception-error-2-no-s
sudo apt-get install libncurses5:i386 \
libstdc++6:i386 \
zlib1g:i386
Finally perfect solution
Executing tasks: [: App:assemblearm7debug] Configuration On Demand are an incubating feature.
Incremental Java compilation is a incubating feature. : App:prebuild up-to-date:app:prearm7debugbuild Up-to-date:app:checkarm7debugmanifest:app: PrepareArm7DebugDependencies:app:compileArm7DebugAidl Up-to-date:app:compilearm7debugrenderscript Up-to-date:app : Generatearm7debugbuildconfig up-to-date:app:generatearm7debugresvalues Up-to-date:app: Generatearm7debugresources Up-to-date:app:mergearm7debugresources:app:processarm7debugmanifest:app: ProcessArm7DebugResources:app:generateArm7DebugSources:app:incrementalArm7DebugJavaCompilationSafeguard:app: Compilearm7debugjavawithjavac:app:compilearm7debugjavawithjavac-is not incremental (e.g. outputs have changed, no prev
IOUs execution, etc.. : App:generateJsonModelArm7Debug:app:externalNativeBuildArm7Debug:app:compileArm7DebugSources:app: MergeArm7DebugShaders:app:compileArm7DebugShaders:app:generateArm7DebugAssets:app:mergeArm7DebugAssets:app:transformClassesWithDexForArm7Debug Running Dex as a separate process.
To run Dex in process, the gradle daemon needs a larger heap.
It currently has 1024 MB.
For faster builds, increase the maximum heap size for the Gradle daemon to at least MB.
To does this set org.gradle.jvmargs=-xmx1536m in the project Gradle.properties. For more information Https://docs.gradle.org/current/userguide/build_environment.html:app: MergeArm7DebugJniLibFolders:app:transformNative_libsWithMergeJniLibsForArm7Debug:app:transformNative_ LibsWithStripDebugSymbolForArm7Debug:app:processArm7DebugJavaRes Up-to-date:app: TransformResourcesWithMergeJavaResForArm7Debug:app:validateSigningArm7Debug:app:packageArm7Debug:app:
Assemblearm7debug build Successful Total time:17.095 secs