Questions tagged [adt]

Android Development Tools (ADT) is a plugin for the Eclipse IDE that is designed to give you a powerful, integrated environment in which to build Android applications.

Android Development Tools (ADT) is a plugin for the Eclipse IDE that is designed to give you a powerful, integrated environment in which to build Android applications.

ADT extends the capabilities of Eclipse to let you quickly set up new Android projects, create an application UI, add components based on the Android Framework API, debug your applications using the Android SDK tools, and even export signed (or unsigned) .apk files in order to distribute your application.

Note that Eclipse is no longer supported by Google for Android development.

More here.

2502 questions
615
votes
43 answers

Update Eclipse with Android development tools v. 23

I updated Eclipse with the new SDK tools (rev. 23), but now when Eclipse starts I receive the error: This Android SDK requires Android Developer Toolkit version 23.0.0 or above. Current version is 22.6.3.v201404151837-1123206. Please update ADT to…
greywolf82
  • 20,269
  • 17
  • 45
  • 90
393
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
  • 16
  • 11
313
votes
7 answers

Android Replace "..." with ellipsis character

Since AVD tools 16 I'm getting this warning: Replace "..." with ellipsis character (..., …) ? in my strings.xml at this line Searching... How do I replace ...? Is it just literally …? Could someone…
Blundell
  • 69,653
  • 29
  • 191
  • 215
302
votes
8 answers

Unexpected value from nativeGetEnabledTags: 0

I installed the latest version of the SDK (r21) and ADT 21.0.0. I tried simple code, and it works well, but now I get a warning in LogCat that did not appear in the previous versions: Unexpected value from nativeGetEnabledTags: 0 I googled it, and…
Laksh
  • 6,592
  • 6
  • 30
  • 34
278
votes
4 answers

What is "android:allowBackup"?

Since the new ADT preview version (version 21), they have a new lint warning that tells me the next thing on the manifest file (in the application tag): Should explicitly set android:allowBackup to true or false (it's true by default, and that can…
android developer
  • 106,412
  • 122
  • 641
  • 1,128
255
votes
12 answers

How to attach javadoc or sources to jars in libs folder?

New version of ADT r17 plugin for Eclipse added feature to automatically setup JAR dependencies. Any .jar files in the /libs folder are added to the build configuration now. Unfortunately Android Dependencies classpath container is non…
Sergii Pechenizkyi
  • 21,901
  • 7
  • 56
  • 69
239
votes
7 answers

Libraries do not get added to APK anymore after upgrade to ADT 22

I have a rather big Android App project that is referencing several library projects. Everything was fine until i upgraded the eclipse ADT plugin to the newest version (v22). I also upgraded the SDK of course. I do not see any compile errors in…
SimonSays
  • 10,366
  • 5
  • 38
  • 49
202
votes
9 answers

Setting background colour of Android layout element

I am trying to, somewhat clone the design of an activity from a set of slides on Android UI design. However I am having a problem with a very simple task. I have created the layout as shown in the image, and the header is a TextView in a…
Bjarke Freund-Hansen
  • 23,930
  • 22
  • 87
  • 133
152
votes
14 answers

Which Eclipse version should I use for an Android app?

I am starting to develop Android applications. Which version of Eclipse should I use? I see there are 11 versions. I am confused with these: Eclipse IDE for Java Developers Eclipse Classic 3.6.1 Eclipse IDE for Java EE Developers Pulsar for Mobile…
Imrul.H
  • 5,430
  • 13
  • 48
  • 82
133
votes
8 answers

Exporting APK from eclipse (ADT) silently crashes

Every time I try to export an APK from Eclipse (tried Juno and Indigo) on Mac, eclipse crashes after a few seconds This used to work fine on my current setup. Running the app straight (debug mode) on my phone works fine. The error from the console…
whalabi
  • 1,635
  • 3
  • 12
  • 16
116
votes
7 answers

How can I update my ADT in Eclipse?

I have tried to update my Eclipse. Currently I have till 2.2 Android SDK in my Eclipse. Yesterday I have updated my Eclipse like this: Eclipse -> window -> Android SDK Manager -> I have checked two check-boxes from list. Tools -> Android SDK Tools…
himAndroid
  • 1,661
  • 3
  • 13
  • 12
111
votes
11 answers

When does ADT set BuildConfig.DEBUG to false?

In the newest version of ADT (r17) a generated constant was added BuildConfig.DEBUG that is set according to the build type. The problem I have is that it is never set to false, I expected it to change when doing "Android Tools -> Export Signed…
smith324
  • 12,886
  • 9
  • 34
  • 57
104
votes
11 answers

Error: This Android SDK requires Android Developer Toolkit version 22.6.1 or above

I have installed adt version 22.6.1 already 2 days ago. It was working fine. Suddenly, When I open eclipse today, it keeps showing me following error: This Android SDK requires Android Developer Toolkit version 22.6.1 or above. Current version is…
TheLittleNaruto
  • 7,996
  • 4
  • 47
  • 66
102
votes
5 answers

Uninstalling Android ADT

This seems like a trivial task, but I can't find an option to cleanly de-install the ADT from my Eclipse installation. Of course, I could just delete the folder of the SDK, but this just throws errors when starting up Eclipse the next time. The…
jcfrei
  • 1,797
  • 4
  • 17
  • 34
97
votes
11 answers

Eclipse / Android : "Errors running builder 'Android Pre Compiler' on project..."

Attempting to do some work on an Android project I haven't worked on for a couple of months, yet every time I attempt to build the project Eclipse throws up a dialog saying: 'Building workspace' has encountered a problem Errors occurred during the…
Mick Byrne
  • 13,717
  • 14
  • 68
  • 84
1
2 3
99 100