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