Questions tagged [sdk]
A software development kit (SDK) is a set of development tools that allows for the creation of software for a certain hardware platform, development environment, or software package. A SDK may consist of a combination of APIs, an IDE or other development tools, and frameworks.
1,445
questions
752
votes
13
answers
342k
views
What is the difference between compileSdkVersion and targetSdkVersion?
I have looked at the documentation for building with Gradle, but I'm still not sure what the difference between compileSdkVersion and targetSdkVersion is.
All it says is:
The `compileSdkVersion` ...
611
votes
65
answers
634k
views
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 ...
501
votes
17
answers
796k
views
Changing API level Android Studio
I want to change the minimum SDK version in Android Studio from API 12 to API 14. I have tried changing it in the manifest file, i.e.,
<uses-sdk
android:minSdkVersion="14"
android:...
1242
votes
45
answers
450k
views
Android SDK installation doesn't find JDK
I'm trying to install the Android SDK on my Windows 7 x64 System.
jdk-6u23-windows-x64.exe is installed, but the Android SDK setup refuses to proceed because it doesn't find the JDK installation.
...
66
votes
14
answers
111k
views
Is there any way in Android to get the height of virtual keyboard of device
Is there any way in Android to get the height of the virtual keyboard displayed on the device in run time? Actually I want to show a text box above the keyboard.
337
votes
20
answers
429k
views
How to install Android SDK Build Tools on the command line?
I want to setup the Android dev environment from command line, and encounter the following issue:
wget http://dl.google.com/android/android-sdk_r22.0.5-linux.tgz
after extract the file, run
tools/...
310
votes
16
answers
200k
views
Running the new Intel emulator for Android
Lately Google and Intel have published a new way to run the emulator, which should work much better than the previous version (which has emulated ARM CPU). Here are some links about it: this and this.
...
76
votes
2
answers
74k
views
How to retrieve the android sdk version? [duplicate]
How can I get the current Android SDK version(1.5, 1.6, 2.0, etc.) programmatically?
74
votes
13
answers
406k
views
How do I set ANDROID_SDK_HOME environment variable?
I'm working with Eclipse on Windows 7, x64. I'm getting an error when running ADT bundle of android development:
Error: Error parsing the AVDs
Unable to get the Android SDK home directory.
Make sure ...
67
votes
5
answers
110k
views
How to downgrade my SDK Version?
I made a stupid mistake by upgrading my SDK version to r15 as the android repository was not loading. How do I revert back to my older version r10?
Or is sticking with the newer version better? I'll ...
25
votes
3
answers
82k
views
How can I get root permissions through the Android SDK?
I'm learning Android programming, and I want to make an application which has to run as root. The logical thing would be to add a root permission in the Android Manifest.
I saw this link in the ...
32
votes
1
answer
24k
views
Capture screenshot Including Semitransparent windows in .NET
I would like a relatively hack-free way to do this, any ideas? For example, the following takes a screenshot that doesn't include the semi-transparent window:
Public Class Form1
Private Sub ...
182
votes
17
answers
675k
views
Has been compiled by a more recent version of the Java Runtime (class file version 57.0)
I get this problem using IntelliJ. But I have the newest version of everything newly installed on my system.
... has been compiled by a more recent version of the Java Runtime
(class file version 57.0)...
201
votes
19
answers
691k
views
Android SDK location
I have Xamarin Studio, and I need to specify the Android SDK Location. I have previously had Xamarin Studio working on my pc, and for some reason, I need to enter this again.
I have entered the ...
110
votes
21
answers
222k
views
Error:Failed to open zip file. Gradle's dependency cache may be corrupt
I updated android studio 2.3 and there is a bug, gradle doesn't build and it keeps giving me the same error for all projects.
Error:Failed to open zip file.
Gradle's dependency cache may be corrupt (...