Summary of Jenkins Android pack encounters pit

Source: Internet
Author: User

First, ndk-build error

[Email protected] learngradle]# Ndk-build
/usr/local/android-ndk-r8/ndk-build:/usr/local/android-ndk-r8/prebuilt/linux-x86/bin/make:/lib/ld-linux.so.2: Bad ELF interpreter:no such file or directory

Workaround: Install glibc.i686
[Email protected] learngradle]# yum install glibc.i686

Second, constraintlayout for Android 1.0.2 Licensing issues

Workaround:

To the Android SDK installation directory under the Tools/bin folder, execute the./sdkmanager "Extras;m2repository;com;android;support;constraint; constraint-layout-solver;1.0.2 "

Third, the installation package is missing

Workaround:

--View all the installation packages

Command:android list Sdk-a

--Select the missing installation package, for example the above Android SDK Platform, Android SDK Build-tools 26.0.2

Command:android update sdk-a--no-ui--filter 45,9

Iv. path errors for SDK and NDK

Workaround: Modify the Local.properties file to the correct directory path.

Summarize the pits that Jenkins Android pack encounters

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.