Project Build Target not available - android - android

I have recently updated android sdk tools to v23.0.2 in eclipse,
after that it is not showing any targets in project properties and it is asking to update android adt to v23.x.x. After checking for updates it is still showing adt needs to be updated please help.
Image 1
Image 2

Related

Use Android Studio with existing Android SDK Tools

NOTICE: I found other questions and answers about the same issue, but the answers are for older versions of Android Studio, and I want confirmation if it still can work for the latest version of Android Studio (2.2.3.0 which was released on December 6, 2016)
I'm new to the Android development and I selected the IDE to use wrongly and before thinking and knowing which IDE to use.
So after this mistake, I must use Android Studio now to use the GRADLE libraries as Eclipse doesn't officialy support them (because Eclipse is now discontinued).
The Android Studio is 1.63 GB (including the Android SDK), while Android Studio is 417 MB (without the Android SDK).
I have Android SDK Tools R25.2.3 ( latest ) already downloaded, so I don't want to download the whole Studio + The Android SDK again.
Is it possible to download the Android Studio without the SDK, then link the SDK to the Studio manually?
I'd be very thankful if someone could help!
Yes it is possible , Studio and SDK can been seen as separate components and they can be linked by providing SDK path in the studio IDE or you can configure you SDK path thorough the setting menu shown at the start screen of android studio.
You can download the standalone IDE through Official Android Studio site.
Note : http://tools.android.com/ has dropped the support of providing separate SDK and IDE components but still IDE can be downloaded individually from Android Official Download Link
Steps to configure after download
1.) Download and Extract the IDE
2.) Find studio or studio64 exe and run the appropriate one in your OS
3.) When you start your studio , it will probably ask for SDK location through a prompt screen and provide the location and hit next and next , eventually it will show you a little process for update window and show you finish screen (Must follow the note below)
3.a) If there was no prompt screen shown then you can configure the SDK path using the setting option on the Splash screen of android studio
3.b) It's possible that when you open an old studio project and SDKis still not configured because every project has it's own setting so again you can see the link in error/log window as configure SDK and just click the link and provide path
Note : Disable internet before configuring you studio otherwise it will look for Updates
Helpful points to possible issue
For old project , replace the old dependencies with the one you have in project structure link for Visual representation of steps
Replace the gradle version with the one supported by your new studio and do the same if any other tool is not found.
Definitely. The Android Studio IDE prompts you to specify the path containing the Android SDK tools, if it doesn't detect the SDK automatically.

Target SDK not showing above 18 in eclipse

When creating a new android project, the target SDK does not show above 18. I have gone into the Android SDK Manager and updated everything up to version 21. Now when I start eclipse it comes up with the error "The Android SDK requires Android Developer Toolkit version 23.0.o0 or above. Current version is 22.3.0. Please update ADT to the latest version.".
So I check for updates and then it tells me there are no updates found. Has anyone else had this problem and know why possibly it finds no updates when it is specifying one needs to be made?
Also, I tried this link, This Android SDK requires ADT version 23.0.0 or above. Current version is 22.6. Please update ADT to the latest version?. The below gets me to install 23.0.0 but I keep getting dependency errors. There is a comment to uninstall the 22.3.0 versions but if I take that route it completely uninstalls eclipse as well. Text from that article below:
"You can also update the ADT plugin
Select Help > Install New Software
Work with: p2repo - https://dl-ssl.google.com/android/eclipse/
Select Developer Tools and Next
Next, Accept the license agreement* and Finish"
UPDATE: The quickest resolution I found to this, to at least be able to start a new project and target the newer SDKs, was to just download the newest Android SDK bundle. This downloaded all of the latest that I needed.
There can be many issue.Did you restart you eclipse.If not,try it.Your eclipse may be outdated.Eclipse should be kepler or mars or Your ADT didn't properly updated.So you have to update again from where it was.

Gradle builds forever in AndroidStudio

I just installed AndroidStudio in my System
I am trying to create my Very First Project .
I set up JAVA_HOME and Android SDK path that has been used previuosly by eclipse in Android Studio
Android SDK has the below versions for Tools and Platform
Android SDK Tools - 22.6.2
SDK Platform - 19
As soon as started Android studio downloaded the Gradle-1.12 in the below path
C:\Users\DELL.gradle\wrapper\dists\gradle-1.12-all
after that it shows the build screen as below. This screen is shown for ever . It is not moving further. can anyone help me in this. I am sad!

Android Studio SDK version error after update

I just finished installing Android Studio and the JDK. Everything worked fine while I looked around the new interface. No errors or anything. After I checked for updates I went from version 0.5.2 to 0.6. When I restarted I got the error
Error:The SDK Build Tools revision (19.0.3) is too low for project ':app'. Minimum required is 19.1.0
Which SDK is it referring to and shouldn't it update along with Android Studio? Before I updated I did not have this message.
So Android Studio version 0.6 requires the Android SDK build tools to be 19.1 instead of the old 19.0.3.
To install this, follow these steps:
Close all open projects.
On the main Android Studio window, press Configure
Then click SDK Manager
Once inside find the following build tools version:
Then tick the box and install the package.
Once your done with that, close the SDK Manager, restart Android Studio, and you should be good to go!
EDIT:
One more thing you need to do:
Open your project.
Navigate to your build.gradle file located inside your module. For you, I think it's in the app folder.
Open the file.
Now you should see something like this:
Where it says buildToolsVersion in the quotes, replace 19.0.3 with 19.1.0. Now sync gradle files and everything should be solved.

Android Eclipse Juno will not allow me to update software. ADT 22 from 20

When I open Eclipse Juno, I get a dialog box that says "The Android SDK requires Android Developer Toolkit version 22.0.0 or above. Current version is 20.0.3v201208082019-427395. Please update ADT to the latest version."
When I go to Help>Install New Software>Add, and then put in the correct information and go through the following steps, at the end it gives me the error that I am not allowed to update software.
I have also attempted to install new software using the Archive button and adding an ADT 22.0.1 zip folder.
You should be able to update the Android Toolkit from the Android SDK Manager. It will appear near the bottom of that list. Just update from there and Eclipse should work.

Categories

Resources