Travis CI failed because cannot accept license Constrain Layout

Updated response is there any solution without workaround using export license? Yes, you can use the new sdkmanager to install the constraint library and accept the license: – echo yes | sdkmanager “extras;m2repository;com;android;support;constraint;constraint-layout;1.0.2” – echo yes | sdkmanager “extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.2” Otherwise, the missing component will be detected by gradle and downloaded without accept it: # Show … Read more

What are the Android SDK build-tools, platform-tools and tools? And which version should be used?

About the version of Android SDK Build-tools, the answer is By default, the Android SDK uses the most recent downloaded version of the Build Tools. Source In Eclipse, you can choose a specific version by using the sdk.buildtools property in the project.properties file. There seems to be no official page explaining all the build tools. … Read more

libz.so.1: cannot open shared object file

After checking to which package does the libz.so.1 belongs (http://packages.ubuntu.com/lucid/i386/zlib1g/filelist) you should try to install zlib1g: sudo apt-get install zlib1g As pointed by @E-rich, it may be required to add a :i386 suffix to the package name for the package manager correctly identify it: sudo apt-get install zlib1g:i386 EDIT (for CentOS or other distro that … Read more

Is there a way to automate the Android SDK installation?

UPDATE The latest versions introduce sdkmanager, a command line tool that allows you to view, install, update, and uninstall packages for the Android SDK. The sdkmanager tool is provided in the Android SDK Tools package (25.2.3 and higher) and is located in android_sdk/tools/bin/. sdkmanager [–uninstall] [<common args>] [–package_file <file>] [<packages>…] sdkmanager –update [<common args>] sdkmanager … Read more

adb server is out of date. killing [duplicate]

Open Android Studio, and then update all your build tools, install the SDKs that you need for your device and ensure that have you set ANDROID_HOME env var to the same dir that you have in Android Studio (commonly in /home/you/Android/Sdk), also update react-native-cli node package. Run adb kill-server and adb start-server. Probably you will … Read more

tech