Questions tagged [android-sdk-tools]

SDK Tools is a downloadable component for the Android SDK. It includes the complete set of development and debugging tools for the Android SDK.

SDK Tools is a downloadable component for the Android SDK. It includes the complete set of development and debugging tools for the Android SDK.

Related tags:

List of Android SDK tools.

1241 questions
1128
votes
108 answers

R cannot be resolved - Android error

I just downloaded and installed the new Android SDK. I wanted to create a simple application to test drive it. The wizard created this code: package eu.mauriziopz.gps; import android.app.Activity; import android.os.Bundle; public class ggps…
616
votes
15 answers

You have not accepted the license agreements of the following SDK components

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…
codable
  • 6,439
  • 3
  • 15
  • 9
603
votes
64 answers

Automatically accept all SDK licences

Since gradle android plugins 2.2-alpha4: Gradle will attempt to download missing SDK packages that a project depends on Which is amazingly cool and was know to be a JakeWharton project. But, to download the SDK library you need to: accept the…
nsvir
  • 8,781
  • 10
  • 32
  • 47
423
votes
32 answers

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

I am getting this error in jitpack, I've tried everything on the internet. Below is my error Failed to install the following Android SDK packages as some licences have not been accepted. platforms;android-26 Android SDK Platform 26 …
Reenath Reddy Thummala
  • 4,261
  • 2
  • 11
  • 9
397
votes
54 answers

Unable to execute dex: Multiple dex files define Lcom/myapp/R$array;

Since updating to ADT 14 I can no longer build my project. It was building fine prior to updating. The error: [2011-10-23 16:23:29 - Dex Loader] Unable to execute dex: Multiple dex files define Lcom/myapp/R$array; [2011-10-23 16:23:29 - myProj]…
terry
  • 2,032
  • 4
  • 17
  • 11
361
votes
25 answers

Flutter : How to change Android minSdkVersion in Flutter Project?

I was trying to start a flutter project for an App using Bluetooth to communicate. For that, I was using flutter blue. Unfortunately, when trying to run (on an Android device) the first example I created I was met with the following error: FAILURE:…
Maldus
  • 10,548
  • 4
  • 24
  • 36
349
votes
6 answers

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

I know this is a very rudimentary question, but to my surprise, I could not find any document about Android SDK Build-tools. Besides Android SDK Tools and Android SDK Platform-tools, there are a bunch of Android SDK Build-tools as shown in the…
Hong
  • 17,643
  • 21
  • 81
  • 142
341
votes
14 answers

Setting ANDROID_HOME enviromental variable on Mac OS X

Could anybody post a working solution for setting ANDROID_HOME via the terminal? My path to the Android-SDK is /Applications/ADT/sdk.
Jacek Kwiecień
  • 12,397
  • 20
  • 85
  • 157
295
votes
10 answers

Finding Android SDK on Mac and adding to PATH

I have installed Android Studio on my MacBook Air (OS Version 10.11 El Capitan) and have successfully written a small "hello, world" app and installed on device (Nexus 7) and ran on AVD. All I want to do now is be able to build the app and install…
Dave
  • 8,095
  • 14
  • 56
  • 99
284
votes
9 answers

Android SDK folder taking a lot of disk space. Do we need to keep all of the System Images?

There are a lot of system images piling up on my disk in the android sdk folder. i hardly use the emulator. May be once in 6 months. Most of my development is directly on device. What i wanted to check was, will removing the system images (at least…
Viral Patel
  • 32,418
  • 18
  • 82
  • 110
241
votes
25 answers

No version of NDK matched the requested version

After updating to Android Gradle plugin 3.6.0 (released Feb 24, 2020), several project independently started failing with: No version of NDK matched the requested version 20.0.5594570. Versions available locally: 21.0.6113669 It's quite simple to…
213
votes
11 answers

Is there a way to automate the Android SDK installation?

Now I have to download and install the Android SDK and AVD Manager, and then install the APIs, tools through the UI. Is there a way to automate this process?
dongshengcn
  • 6,434
  • 7
  • 35
  • 44
128
votes
31 answers

Failed to run sdkmanager --list with Java 9

I downloaded and installed: JDK (jdk-9.0.1_osx-x64_bin.dmg) from Oracle here Android SDK (sdk-tools-darwin-3859397.zip) from Google here. After configuring the PATH variable, I tried running sdkmanager, which replaced the android command for…
110
votes
29 answers

Flutter does not find android sdk

I just tried intalling flutter and since I already had android studio and the android sdk installed I just followed the installation of flutter. Here is my problem: When I run flutter doctor It tells me [√] Flutter (Channel beta, v0.1.5, on…
Stein.
  • 1,412
  • 2
  • 10
  • 18
106
votes
11 answers

Is GUI for Android SDK manager gone?

I rarely do something for Android so I'm a bit confused. While back there were two type of installations - Android Studio and just Android SDK. I have IDEA so I don't need Studio. Typically I download SDK that have UI tool to download its…
expert
  • 29,290
  • 30
  • 110
  • 214
1
2 3
82 83