Android SDK location should not contain whitespace, as this cause problems with NDK tools

As the warning message states, the SDK location should not contain whitespace. Your SDK is at C:\Users\Giacomo B\AppData\Local\Android\sdk. There is a whitespace character in Giacomo B. The easiest solution is to move the SDK somewhere else, where there is no space or other whitespace character in the path, such as C:\Android\sdk. You can point both … Read more

Android Hello-World compile error: Intellij cannot find aapt

It appears that the latest update to the r22 SDK release moved aapt and the lib jar from the platform-tools to the build-tools directory. While we wait for JetBrains to release an update, here’s a quick fix using a couple of symbolic links: From your AndroidSDK/platform-tools directory, run the following: ln -s ../build-tools/17.0.0/aapt aapt ln … Read more

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

How to perform minification and obfuscation with the JACK compiler?

J.A.C.K. obfuscation does not appear to be supported in the latest released Gradle Plugin (v2.1.0). If you enable JACK when using the latest v2.1.0 plugin, it will tell you Jack requires Build Tools 24.0.0 or later requiring you to use the preview tools. Using android gradle v2.2.0-alpha1, Build Tools-v24rc4, Platform Tools-v24rc3, and Sdk Tools-v25.1.7rc1 I … Read more