android-sdk-tools

Android SDK manager throw Exception with Java 9 [duplicate]

点点圈 提交于 2020-01-31 06:15:53
问题 This question already has answers here : Failed to run sdkmanager --list with Java 9 (16 answers) Closed 2 years ago . Using sdk-tools-darwin-4333796 (26.1.1) with Java 9 when running sdkmanager is throwing : Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema at com.android.repository.api.SchemaModule$SchemaModuleVersion.<init>(SchemaModule.java:156) at com.android.repository.api.SchemaModule.<init>(SchemaModule.java:75) at com.android.sdklib

Android SDK manager throw Exception with Java 9 [duplicate]

假如想象 提交于 2020-01-31 06:15:16
问题 This question already has answers here : Failed to run sdkmanager --list with Java 9 (16 answers) Closed 2 years ago . Using sdk-tools-darwin-4333796 (26.1.1) with Java 9 when running sdkmanager is throwing : Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema at com.android.repository.api.SchemaModule$SchemaModuleVersion.<init>(SchemaModule.java:156) at com.android.repository.api.SchemaModule.<init>(SchemaModule.java:75) at com.android.sdklib

ionic run android: Build failed with an exception

巧了我就是萌 提交于 2020-01-24 07:27:32
问题 What went wrong: Execution failed for task ':CordovaLib:processDebugResources'. com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/vishal/sw/android/build-tools/23.0.3/aapt'' finished with non-zero exit value 127 Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 3 mins 14.449 secs Error: Error code 1 for command: /var/www/html/street

Additional Android APIs not shown in Android SDK Manager

末鹿安然 提交于 2020-01-23 10:57:28
问题 I installed Android SDK Manager two months back. I got the Android 2.3.3 SDK installed, but I do not quite remember the steps I followed, because I am new to Android development. Now, when I open Android SDK manager, I see only the " SDK Platform Android 2.3.3 ". I cannot see any other API versions which I am interested in (eg. higer versions). However, I do not see any options for selecting any other API versions. I have already tried the following: 1) Tried to locate " Available Packages "

Can not run android/sdk/build-tools/23.0.2/aapt

房东的猫 提交于 2020-01-22 08:33:34
问题 Recently installed Android Studio 1.0.1 (old version for some reasons) on Ubuntu 15, and I am trying to create a new project. Whenever I build it I get this error Cannot run program "/home/user/Android/Sdk/build-tools/23.0.2/aapt": error=2 No such file or directory" The file exists there. 回答1: sudo apt-get install lib32stdc++6 lib32z1 回答2: please check your compileSdkVersion and buildToolsVersion and targetSdkVersion please same the value. simple : compileSdkVersion "23" buildToolsVersion "23

Can not run android/sdk/build-tools/23.0.2/aapt

别等时光非礼了梦想. 提交于 2020-01-22 08:30:09
问题 Recently installed Android Studio 1.0.1 (old version for some reasons) on Ubuntu 15, and I am trying to create a new project. Whenever I build it I get this error Cannot run program "/home/user/Android/Sdk/build-tools/23.0.2/aapt": error=2 No such file or directory" The file exists there. 回答1: sudo apt-get install lib32stdc++6 lib32z1 回答2: please check your compileSdkVersion and buildToolsVersion and targetSdkVersion please same the value. simple : compileSdkVersion "23" buildToolsVersion "23

Cannot update the app after updating SDK (app not installed)

旧时模样 提交于 2020-01-21 21:54:27
问题 After updating SDK and installing build tools etc I'm not able to update the app. Although it works after uninstalling and re-installing, but that seems odd to me for the customers. I also checked AndroidManifest, everything is OKAY, VersionCode, VersionName and Package etc. Here are the logs: 02-17 12:29:51.593 920-1110/? I/InputDispatcher: Delivering touch to (8187): action: 0x1, toolType: 1 02-17 12:29:51.613 8187-8187/? I/Timeline: Timeline: Activity_launch_request id:com.android

Eclipse: Failed to get the required ADT version number from the SDK [duplicate]

混江龙づ霸主 提交于 2020-01-15 07:10:35
问题 This question already has answers here : Eclipse: won't let me use Android SDK, wrongly claims my ADT is out of date (9 answers) Closed 5 years ago . I tried to set up a new eclipse installation including the android sdk and adt plugin. The installation of all parts complete without errors. After setting the sdk path withing eclipse this error showed up: Failed to get the required ADT version number from the SDK. The Android Developer Toolkit may not work properly. This shows up every time I

Eclipse: Failed to get the required ADT version number from the SDK [duplicate]

痴心易碎 提交于 2020-01-15 07:10:15
问题 This question already has answers here : Eclipse: won't let me use Android SDK, wrongly claims my ADT is out of date (9 answers) Closed 5 years ago . I tried to set up a new eclipse installation including the android sdk and adt plugin. The installation of all parts complete without errors. After setting the sdk path withing eclipse this error showed up: Failed to get the required ADT version number from the SDK. The Android Developer Toolkit may not work properly. This shows up every time I

Failed to install the following Android SDK packages as some licences have not been accepted

左心房为你撑大大i 提交于 2020-01-14 13:12:26
问题 I need to integrate a continuous integration system in my Android project, I have seen that CodeShip is a good alternative so I have created and configured a project to compile my Android application using the following script: # Install java 8 jdk_switcher home oraclejdk8 jdk_switcher use oraclejdk8 export JAVA8_HOME=/usr/lib/jvm/java-8-oracle export BUILD_TOOLS_VERSION=23.0.3 export ANDROID_SDK=24 export ANDROID_SDK_REV=24.4.1 # # Install android sdk export SDK_TAR=android-sdk_r$ANDROID_SDK