I'm really new at this. I'm following the book "Android" by O'Reilly press a little outdated, I'm using Pulsar for Mobile Java Developers. Build id: 20090920-1017 I go to File, New Project, Android, Android Project. I enter "Hello World" for Project Name. Then I get "An SDK Target must be specified." There is a check box but it says "no target specified".
How do I get this resolved and how do I get to the command line?
You need to choose one of the SDKs in the Build Target section.
If there is none listed, cancel the dialog, and go to menu Window -> Preferences -> Android, specify the SDK location (android-sdk-windows
directory on Windows), and press Apply.
If you still don't get any Target Name listed, you need to install the SDK first. Cancel the dialog, and go to menu Window -> Android SDK and AVD Manager. Click Available Packages and select e.g. SDK Platform Android 2.0, API 5, revision 1 then click Install Selected.
I second to Yuku's answer but my case was I didn't have slash at the end of directory..
This is for Eclipse though it should be similar.
Window -> Preference -> Android
Then you see SDK Location:
It should be something like:
/android/android-sdk-linux_86/
To make sue it is correct, click on Apply button and you should see the list of android target names show up in the same dialog box.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With