Cannot run Program "/USR/LOCAL/ANDROID-SDK-LINUX/BUILD-TOOLS/23.0.2/AAPT": error=2, No such file Or__linux

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.