android-sdk-tools

You have not accepted the license agreements of the following SDK components [duplicate]

守給你的承諾、 提交于 2019-11-26 13:56:18
This question already has an answer here: Automatically accept all SDK licences 42 answers I downloaded the latest Android SDK tools version 24.4.1. I used the command line to install SDKs. I typed y when asked Do you accept the license 'android-sdk-license-c81a61d9' [y/n]: y after that install succeeded. But when using Gradle 3.1 to build, the follows shows up You have not accepted the license agreements of the following SDK components: [Android SDK Platform 23, Android SDK Build-Tools 23.0.1]. Before building your project, you need to accept the license agreements and complete the

Travis CI failed because cannot accept license Constrain Layout

↘锁芯ラ 提交于 2019-11-26 12:26:47
问题 Before i write this question, i already search same question about this, they did export license because still use alpha version of constrain layout. But now android already release stable version of constrain layout. I tried a lot of setup but still failed.. my latest .travis.yml language: android jdk: oraclejdk8 android: components: - platform-tools - tools # to get the new `repository-11.xml` - tools # see https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943) - build

libz.so.1: cannot open shared object file

青春壹個敷衍的年華 提交于 2019-11-26 12:23:34
问题 I am facing an issue on ubuntu 12.04 as : /usr/lib/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory I tried sudo apt-get install lib32z1 But it says Reading package lists... Done Building dependency tree Reading state information... Done lib32z1 is already the newest version. 0

unable to execute adb in Ubuntu. Downloaded file is meant for x86-64 while I have i686 [duplicate]

扶醉桌前 提交于 2019-11-26 12:17:46
问题 This question already has answers here : android studio adb Syntax error: “)” unexpected (4 answers) Closed 2 years ago . I\'m trying to use AndroidStudio, but when I hit the run button, I get an error message saying that it can\'t obtain a debug bridge. I checked the adb file under platform-tools using the file command and found that it is meant for x86-64, while I\'m running i686. Do you know where I can get the adb file meant for 32-bits Ubuntu? Thanks. 回答1: https://dl.google.com/android

Is there a way to automate the android sdk installation?

让人想犯罪 __ 提交于 2019-11-26 12:16:31
问题 Now I have to download and install the Android SDK abd AVD Manager, and then install the the APIs, tools through the UI. Is there a way to automate this process? 回答1: UPDATE 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>] [-

How to perform minification and obfuscation with the JACK compiler?

瘦欲@ 提交于 2019-11-26 11:24:19
问题 Google has released a test version of their new JACK compiler for Android developers with Android Studio 2.1. My question is, how do we enable obfuscation for the APK with JACK? The article below says that JACK performs obfuscation natively and eliminates the need for Proguard: Compiling with Jack Whereas the following article says that JACK makes use of Proguard configuration files (i.e. the .pro file) for performing obfuscation: Experimental New Android Tool Chain - Jack and Jill. It also

Android Sdk tools Revision 22 issue?

懵懂的女人 提交于 2019-11-26 11:06:44
问题 I just updated the SDK tools in Eclipse to revision 22, and since then I cannot build my project. Specifically the R class is not recognized in my Activity (I was getting compiler errors) and even when I imported manually, again the import was not working. Additionally the project gen folder is empty, and cleaning the project/workspace (having build automatically option on) didn\'t make any difference. Is this a known issue? Did it happen to everyone? Is there a workaround? Maybe Google just

Android Unknown Command &#39;crunch&#39;

柔情痞子 提交于 2019-11-26 08:24:03
问题 I just installed Eclipse and Android SDK in Mac OS X. I imported the project to Eclipse and i get the Unknown command \'crunch\' error while running the project. How should I solve this issue. Please help me 回答1: I just update "Android SDK Platform-Tool" to 8 Rev and "Android Asset Packaging Tool" from android sdk manager, and then it works. Have a try! 回答2: After updating to ADT r14, go to Window -> SDK Manager (in Eclipse) Check on 'repository', uncheck "installed" Wait for packages to load

adb server is out of date. killing [duplicate]

安稳与你 提交于 2019-11-26 06:46:58
问题 This question already has answers here : adb server version doesn't match this client (38 answers) Closed last year . I\'m creating my first react-native project with this tutorial: http://facebook.github.io/react-native/ When it comes to executing code and running react-native run-android I am getting: adb server is out of date. killing... * daemon started successfully * And the app on the android device is obviously not working. I\'ve reinstalled the SDK, tried to adb kill-server and adb

Starting the Android emulator in SDK tools, revision 12

大憨熊 提交于 2019-11-26 05:24:48
问题 I updated the Android SDK tools from revision 11 to revision 12, and the emulator now fails to start. When I try to run emulator.exe, I get: invalid command-line parameter: Files\\Android\\android-sdk\\tools/emulator-arm.exe. Hint: use \'@foo\' to launch a virtual device named \'foo\'. please use -help for more information The path to emulator.exe is C:\\Program Files\\Android\\android-sdk\\tools . How do I fix it? 回答1: As was previously suggested, it does seem to be caused by the fact that