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.

2507 questions
28
votes
3 answers

After upgrading to Android Developer Tools version 22, compiling fails

Today, I upgraded ADT to version 22. After that, my projet wouldn't compile resources at all. My "gen" folder was empty and as such all my java files that require "R" wouldn't compile.
GenesisST
  • 1,335
  • 13
  • 16
27
votes
5 answers

How to have both Debug and Release apk on same device?

While continuing to develop my application and test it on a real phone, I need to have the release version of it on the same phone, for demonstration purposes (the release version is much more responsive, thanks to no-logs). The problem is that the…
an00b
  • 11,338
  • 13
  • 64
  • 101
27
votes
2 answers

How do I use the Eclipse debugger in an AsyncTask when developing for Android?

I'm running ADT (Android Development Tools) in Eclipse and verified that my debugger is working by putting a breakpoint in MainMenu.oncreate (class Activity). But when I put it in the first line of my AsyncTask.doInBackground, it never hits it. I…
Chirag Patel
  • 5,819
  • 8
  • 35
  • 38
27
votes
3 answers

ADT shows error in Strings.xml

I updated my ADT to the latest version after Gingerbread was released. And now %d:%d %s shows the following error Multiple annotations found at this line: - error: Multiple substitutions specified in…
Ragunath Jawahar
  • 19,513
  • 22
  • 110
  • 155
27
votes
9 answers

Eclipse keeps Building workspace... and Building workspace... and Building workspace

Why would Eclipse, when building an Android project, get stuck in an infinite loop for Building workspace... and (re) Building workspace... and (re) Building workspace... Is this a known bug? What is the proper way to get out of this…
Eternal Learner
  • 2,602
  • 5
  • 27
  • 38
26
votes
2 answers

moving android SDK installation folder

I have installed my Android SDK in Program Files (x86). But due to some reason I want to move it to D:. I want to ask if I can do that without altering my current projects on eclipse and will I have to reinstall my ADT plugins?? Thanks in advance
crack_addict
  • 653
  • 2
  • 8
  • 13
26
votes
2 answers

Jar files in libs folder are not used in Android Gradle build

i just started to play with the gradle build system for Android. However i'm not able build one of my projects. It depends on a jar in the libs/ folder. Doing gradle build fails in the compileDebug task because all of the classes from the jar file…
Goddchen
  • 4,459
  • 4
  • 33
  • 54
25
votes
2 answers

How to downgrade Android ADT?

The newest Android ADT update ruined my life. Is there any way to download and install the old ADTs (before 14) to a clean Eclipse install? I didn't find the file anywhere. EDIT: I don't need this one anymore but if somebody knows the answer, go on…
Finnboy11
  • 986
  • 2
  • 15
  • 34
25
votes
4 answers

Failed to install Android ADT

I'm trying to install the ADT to Eclipse Indigo (32 bit). It consistently fails with the following message: Cannot complete the install because one or more required items could not be found. Software currently installed: Shared profile…
DJClayworth
  • 26,349
  • 9
  • 53
  • 79
25
votes
8 answers

Error: Cannot run aapt

When I compile an android application ( I tried with the sample ones from the sdk). I get this error: >Error executing aapt: Cannot run program "/home/roel/projects/sdk/build-tools/18.0.1/aapt": >error=2, No such file or directory: error=2, No such…
user1104939
  • 1,395
  • 2
  • 13
  • 25
25
votes
4 answers

How to Automatically Modify versionName in Manifest during Build?

So far I have been focusing on my application's programming and paid little attention to making the build process smarter. Thus I have been doing things pretty much manually (the "dumb way"), including updating by hand android:versionCode and…
Eternal Learner
  • 2,602
  • 5
  • 27
  • 38
25
votes
4 answers

Eclipse Android Emulator - Keyboard not working

I just updated to the latest SDK version 16 created a new version of an AVD using the latest version of the API (16) and my hardware keyboard doesn't work anymore on the emulator (even my other avd using an older version of the sdk). Any ideas how…
Jerome Ansia
  • 6,854
  • 11
  • 53
  • 99
25
votes
2 answers

Install Dependencies not resolved in ADT r20

I just update my ADT and SDK to latest version of ADT r20 and Android 4.1 in SDK. Now in Eclipse i can not make a new project with default BlankActivity implemented in it. In the new project dialog i am sticking at the last screen which mention that…
rajpara
  • 5,203
  • 1
  • 29
  • 46
23
votes
2 answers

How to create a new layout for an Android project (using Eclipse)

I think this is a fairly straightforward question but I have not been able to find an answer after some searching. I am new to Android development. I am using Eclipse and have ADT installed. I just wanted to know if the IDE has a feature that will…
King_Nothing
  • 480
  • 1
  • 5
  • 15
23
votes
5 answers

Are there any Sorted Collections in C++?

In Smalltalk, you can create a sortedCollection, which is to say that you can add an element and it would insert it into the correct location. Is there anything like this in C++? Or even better is there anything like a sortedQueue, such that when…
Jim
  • 3,236
  • 8
  • 33
  • 43