If the JDK really is there, just press the Back button on the Android SDK install and try again.
Problem: There are still Java errors when I run apps in Eclipse...
If you are using Windows, make sure your Java environment paths match the software
you have installed. Check JAVA_HOME for example, and the JDK path such as this path:
c:\Program Files\Java\jdk1.6.0_24\.
When you install a more recent Java tool upgrade, these need to be changed manually.
Problem: I get a 'No command output when running: (your app)' error while loading
PhoneGap or Java apps in Eclipse...
Check if your app is trying to write to the console before the module is fully initialized.
The code sequence might be the problem.
Problem: my app changes made externally are not getting picked up by Eclipse...
Click to highlight the name of the app you are testing in the Package Explorer
and press <F5> to update the package.
Note that if you don't see your first app in the Android Emulator -- but see no errors
in the console, click on Menu and maybe also the Launcher icon and look for
yours near the bottom of the emulator's app list. Click to view it from there.
And note that the Android Emulator is slow to load your app the first time it is run,
so be patient. Then minimize the emulator instead of closing it for faster testing.
* If you are running the Sample Android app without using Eclipse and you get this...
Problem: BUILD FAILED
..\Android\Sample\build.xml... taskdef class com.android.ant.SetupTask cannot be found
using the classloader AntClassLoader[]
Add the following property line near the top of BUILD.XML, adjusting the path to suit your platform:
<project name="exampleapp" default="help">
<property name="sdk.dir" location="/Program Files/android/android-sdk" />
Also to unlock the Android emulator screen if locked on start-up, try pressing F2 several times...
And if you use Windows, be sure to update the Android SDK with enough permissions. Right click on the Windows Command prompt and choose 'Run as administrator.'
Then you can change the \Program Files\android\android-sdk folder and run "SDK Manager.exe" (Include quotes if running manually)
** (Also if you need additional platform help, be sure to see my BlackBerry
page for new ideas)