In switch to Android Studio should my SDK location be the same as Eclipse version? - eclipse

I'm trying to move from Eclipse ADT NDK build to Android Studio on my Mac OS X. In doing this, one thing I notice is the Project Structure's Android SDK Location for my ported project and for new projects is defaulting to be: /Users/user1/Development/adt-bundle-mac-x86_64-20131030/sdk.
Shouldn't the Android Studio come with its own SDK and shouldn't I be using it by default? I looked in the application install directory but found no signs of an SDK directory there. I'm concerned that the sdk is from October 30, 2013 and so it seems rather old. What are the implications of moving to a newer SDK?
Perhaps related to this is that when trying to use the old Eclipse Kepler that used to build for me:
I get notice on Eclipse launch:
This Android SDK requires Android Developer Toolkit version 23.0.0 or above.
Current version is 22.6.2.v2014032112031-1085508.
Please update ADT to the latest version.
Click "Check for Updates":
No Updates were found.
No Repository found at https://dl.google.com/alt.
Tried to update the repository to (for Kepler Eclipse):
https://dl.google.com/eclipse/plugin/4.3
Still no updates found but error about no repository goes away.
I resolved this later issue with the answer posted here.

cant comment on details of OSX but on linux/AS with Eclipse & AS , i found follow to help:
provision environment to use multiple versions of java JDK
install oracle JDK 1.7 that will be just for use by shell script running AS
note ASRoot/bin/studio.sh .... if [ -n "$STUDIO_JDK"
accordingly provide for the above ENV VAR and its use by the AS.studio.sh
that version of the JDK does nothing more than run AS
Then , for the ADT stuff (OK to be shared by Eclipse & AS ), you can keep updated another version of the SDK/ADT in a path where theres read access by both eclipse/ AS.
I think u can use ./android to keep updated this , original sdk/adt

Related

Flutter: Cannot determine path to 'tools.jar' library for Android API 30 Platform (C:/Users/Sam/AppData/Local/Android/Sdk)

I'm having difficulty uploading my upgraded project to Google Play.
I need to produce a signed version of the app, but if I try App bundle it complains I have an obsolete Gradle plugin, that I can't upgrade. I have a bleeding edge gradle version in my gradle-wrapper.properties:
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip
So I try to create a signed apk and give it a keystore, but when it tries to output the app it throws this complaint:
Cannot determine path to 'tools.jar' library for Android API 30
Platform (C:/Users/Sam/AppData/Local/Android/Sdk)
I've tried the existing answers, setting a JAVA_HOME under advanced system variables, that didn't work.
I copied tools.jar from my java directory to C:/Users/Sam/AppData/Local/Android/Sdk, that didn't work.
I'm knashing my teeth.
After mucking around I think I have found the solution. I did not have JDK 1.8 on my machine but jdk 1.16. But that is no good because we need JDK1.16 does not include tools.jar. So:
Install Oracle's JDK 1.8 on your machine if you don't have it.
Go to your Android Studio and do this:
Select the root node of your project and then use File->Project Structure
Under Platform Settings / SDKs, use the + Icon to "Add JDK" and add the newly installed JDK 1.8 here. C:\Program Files\Java\jdk1.8.0_311
Crucial Step : After adding this JDK, in the same screen i.e. Platform Settings/SDKs, click on Android API 31 Platform. Here, in the JAVA SDK field, drop down the options and select 1.8. If you don't see 1.8 here, restart Android Studio and/or add C:\Program Files\Java\jdk1.8.0_311 to JAVA_HOME
That's is what fixed it for me.

Error in updating to ADT rev 23 for Eclipse [duplicate]

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 the latest version.
No updates were found with "Check for updates". If I try "Install new software", I can see version 23, but I can't upgrade due to the following error:
Cannot complete the install because of a conflicting dependency.
Software being installed: Android Development Tools 23.0.0.1245622 (com.android.ide.eclipse.adt.feature.feature.group 23.0.0.1245622)
Software currently installed: Android Developer Tools 22.2.1.v201309180102-833290 (com.android.ide.eclipse.adt.package.product 22.2.1.v201309180102-833290)
Only one of the following can be installed at once:
ADT Package 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.adt.package 22.6.3.v201404151837-1123206)
ADT Package 23.0.0.1245622 (com.android.ide.eclipse.adt.package 23.0.0.1245622)
Cannot satisfy dependency:
From: Android Development Tools 23.0.0.1245622 (com.android.ide.eclipse.adt.feature.feature.group 23.0.0.1245622)
To: com.android.ide.eclipse.adt.package [23.0.0.1245622]
Cannot satisfy dependency:
From: Android Development Tools 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.adt.feature.group 22.6.3.v201404151837-1123206)
To: com.android.ide.eclipse.adt.package [22.6.3.v201404151837-1123206]
Cannot satisfy dependency:
From: ADT Package 22.2.1.v201309180102-833290 (com.android.ide.eclipse.adt.package.feature.group 22.2.1.v201309180102-833290)
To: com.android.ide.eclipse.adt.feature.group 22.2.0
Cannot satisfy dependency:
From: Android Developer Tools 22.2.1.v201309180102-833290 (com.android.ide.eclipse.adt.package.product 22.2.1.v201309180102-833290)
To: com.android.ide.eclipse.adt.package.feature.group [22.2.1.v201309180102-833290]
After download of the last ADT from the web site, it seems there's another problem.
With SDK Tools rev. 23 proguard is not installed, the folder SDK dir/tools/proguard is missing, and other tools are missing. This version contains several bugs.
Google has released ADT v23.0.2. This solved many problems of previous ADT version 23.
Step-by-step:
Menu Help → Install New Software...
For "Work with", select the Android source https://dl-ssl.google.com/android/eclipse
Tick ADT v23.0 for installation, then click "Next"
Eclipse will show "Install Remediation Page" since there is conflict with previous version. (If it does not, see below.) Select "Update my installation to be compatible with items being installed" to uninstall the old version and install the new one. After that, proceed with the usual steps.
Note: When I installed the new version of ADT, I didn't include the new version of "Android Native Development Tools" package. Instead, I installed the rest of packages first, and then installed "Android Native Development Tools". For a reason, if I try to install all the new packages including "Android Native Development Tools", the installation fails.
If there is no "Remediation page", the only way to remove the ADT plugin from Eclipse is to go to menu Help → About Eclipse → Installation Details and uninstall from there. But there is a risk of uninstalling Eclipse itself.
Google response:
This is a packaging bug. The entire proguard file is missing. We'll have an update asap, but until then just copy it over from a previous version of the tools:
http://dl.google.com/android/android-sdk_r22.6.2-linux.tgz
http://dl.google.com/android/android-sdk_r22.6.2-windows.zip
http://dl.google.com/android/android-sdk_r22.6.2-macosx.zip
and copy over the following files:
tools/hprof-conv
tools/support/annotations.jar
tools/proguard
So at the end if you started from a new ADT copy by hand the files :)
Edit: with the latest ADT release, the bundle should now work with auto-update, so install these new versions:
linux 64 bit vm: http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip
linux 32 bit vm: http://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip
mac: http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140702.zip
win32: http://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip
win64: http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip
Don't try to upgrade from previous version because it doesn’t work at all.
If you have got problems with zipalign, it's now under build-tools and no more under tools/ so you can do a symbolic link or just copy it into the expected folder.
None of the other answers worked for me using the ADT bundle published on developer.android.com.
I ended up downloading the latest version of Eclipse (not the ADT bundle) and then installing the ADT plugin via menu Help → Install new software → entering https://dl-ssl.google.com/android/eclipse (mentioned by #RED_).
I also had to update my workspace to point to my previous workspace, and most things seemed to be restored.
On a side note: This seems like a good time to migrate to Android Studio...
NOTE: Use this approach with caution because this might break your Eclipse installation (see comments).
This might help you if you installed the ADT plugin manually. But if you are using the version of Eclipse from the Eclipse ADT Bundle the below steps could break your Eclipse installation, and you may not be able to use Eclipse again!
Go to
Menu Help → About Eclipse SDK → Installation Details.
Now you will see all 22.0 versions and then click Uninstall button at bottom.
After uninstallation goto:
Menu Help → Install New Software → enter http://dl-ssl.google.com/android/eclipse/
Then install all the things, and now it is ready.
I was updating my build server today and came across the same issue. It has been reported here:
https://code.google.com/p/android/issues/detail?id=72419
The fix is in progress and the work around according to the project manager is:
Please wait for an updated version within a day or two. Until then, your workaround is to do download one of
http://dl.google.com/android/android-sdk_r22.6.2-linux.tgz
http://dl.google.com/android/android-sdk_r22.6.2-windows.zip
http://dl.google.com/android/android-sdk_r22.6.2-macosx.zip
and copy over the following files:
tools/hprof-conv
tools/support/annotations.jar
tools/proguard
[edit]
zipalign was missing for me too, check to see if you need to copy this as well
It works for me :)
If for some reason you installed an ADT preview and need to revert back to the current stable, you can't use the dialog to install "new" software since what you want is actually an older one. Instead do this:
Open Help > About Eclipse... on Windows or Linux. On Mac, use the app's menu > About...
Click the "Installation Details" button.
Select the "Installation History" tab.
Select one of the previous configurations.
Click the "Revert" button at the bottom.
is what they are saying about this:
OK, guys, sorry about all this trouble, and we apologize for the messed up releases. Here's the summary:
There is no way to update an existing ADT bundle that you might have downloaded.
You can do one of two options:
Install Eclipse from eclipse.org and install ADT by pointing to the update site: https://dl-ssl.google.com/android/eclipse
Download bundles from here:
Linux 64-bit VM: http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip
Linux 32-bit VM: http://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip
Mac: http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140702.zip
Windows 32-bit: http://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip
Windows 64-bit: http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip
Starting with ADT bundle 23.0.2, you should be able to update to future versions of ADT.
Source: https://code.google.com/p/android/issues/detail?id=72912
I have done following to resolve an issue.
Go to http://developer.android.com/sdk/installing/installing-adt.html and download the latest ADT ZIP file (at the bottom of page).
Go to Eclipse → menu Help → About Eclipse → Installation details
Delete Android DDM, Android Development Tools, Hierarchy Viewer, Native Development Tools, TraceView, etc., 22.X version.
Menu Help* → Install New Software → Add → Archive → *Select the downloaded ZIP file in step 1.
Select all the latest version of all 23 which I have deleted in step 3 and accept the license agreement.
Restart Eclipse, and it fixes my issue.
Only helped:
Fresh Eclipse installation (http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/lunar)
Help --> Install New Software --> https://dl-ssl.google.com/android/eclipse/
If you install a new Eclipse version it will work.
Here's what I did:
Installed the new Eclipse version, Luna
Made a backup of the current workspace.
Ran the new Eclipse, Luna, and updated the workspace
Installed the ADT plugin (Help -> Install New Software)
Restarted Eclipse
Done
There is a lot of confusion going around in this thread. There are two solutions depending on how you installed ADT.
If you installed the ADT plugin manually then I believe you can use the "Delete ADT" -> "Install New Software" approach.
If you are using the ADT Bundle then do not follow that solution! You will break Eclipse. Here is an update from a Google member - read #18:
https://code.google.com/p/android/issues/detail?id=72912
You must download a new version of the ADT-Bundle (yep, it's frustrating!).
Just uninstall the previous ADT.
Go to menu Help → About Eclipse → Installation Details
Uninstall all plugins which Id start with com.android.ide
Install ADT again from the update site.
DO NOT DO THIS
Warning: Please see the comments below this answer. These steps have had a negative impact for many people.
Click Help / Install new software...
Click on What is "already installed" (as in picture below)
In the new window you can uninstall the old ADT (uninstall Android Development Tools, Android DDMS, Android Hierarchy Viewer, Android TraceView, Android Native Development Tools and Tracer for OpenGL ES)
Restart Eclipse
Then again click on Help / Install New Software
Choose ADT... Install
I hope it helps!
After trying the approaches in other answers without success, I just installed a new bundle from http://developer.android.com/sdk/installing/index.html?pkg=adt and that worked fine.
Do the following:
As you don't want to re-download all the platforms again, copy the existing one from /OLD_ANDROID_SDK_PATH/sdk/platforms to /NEW_ANDROID_SDK_PATH/sdk/platforms.
When opening the new Eclipse from the recent downloaded bundle, make sure you reuse the previous 'workspace' folder. That will ensure that all your previous settings will be remembered.
After opening the new Eclipse on the previous workspace, please check if the used Android SDK is pointing to the new one (Eclipse preferences -> Android). It might be pointing to the old one, as you've reused the previews workspace settings.
With these steps, you should't have to reconfigure everything, and you won't need to spend time troubleshooting this BUG on this upgrade from Google Developers.
Good luck! ;-)
You need to uninstall the old version and install 23
uninstall:
Help > about Eclipse SDK > Installation Details
select Android related packages to uninstall
And then install V23.
There is no way to update an existing ADT bundle that you might have downloaded.
You can do one of two options:
Install Eclipse from eclipse.org and install ADT by pointing to the update site: https://dl-ssl.google.com/android/eclipse
Download bundles from:
Linux 64 bit VM: http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip
Linux 32 bit VM: http://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip
Mac: http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140702.zip
Windows 32 bit: http://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip
Windows 64 bit: http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip
Starting with ADT bundle 23.0.2, you should be able to update to future versions of ADT.
I was getting the same "conflicting dependency" error on Mac OS X 10.9.3 and simply upgrading was not an option. What finally worked was downloading the latest Eclipse ADT bundle zip file from developer.android.com, extracting it and moving only "eclipse" folder to the place where my old eclipse folder was. (extracting the Eclipse ADT bundle zip file will give you "eclipse" and "sdk" folders).
If you decide to go the same route, first make sure you know what your Workspace path is. This can be found in Preferences. Then rename your old "eclipse" directory (not Eclipse.app) to something like eclipse-22.6.3, then move extracted "eclipse" folder into its place. Run new Eclipse.app inside, and when it asks you about Workspace, just enter the same path as you noted above. Or it can also be set later in Preferences.
Maybe worth adding is that to re-enable Android SDK Manager and Android Virtual Device Manager choose Window -> Customize Perspective -> Command Groups Availability and select Android SDK and AVD Manager. This will add these 2 items to the "Window" menu item for the current perspective (Java).
I didn't move the extracted "sdk" folder, because I already had sdk folder in the same directory as eclipse, which I have already updated to the latest Android tools. But if it makes you feel safer, you can also rename your old sdk folder (for backup purposes) and move the freshly extracted one into its place.
I faced the same problem and solved it. You need to uninstall the Android plugin entirely from within Eclipse (from the "about" section..), including trace view..
Then added the ADT Plugin again (https://dl-ssl.google.com/android/eclipse/) and install it.
The problem is solved!
I guess it's a bug with the SDK manager or ADT Plugin update mechanism...
How to update from 22.xx.x to 23.0.2 (my solution). This will beat the dependency issues.
I was suffering from this issue for days, and I have tried every single solution on this link, but no luck. I finally figured out a solution that actually works!
Please note that this solution works in Windows 7 (64 bit). It should probably work for other Windows operating systems.
Here we go:
download the latest ADT bundle from
http://developer.android.com/sdk/index.html#download
unzip it and open "eclipse" folder --> "plugins" folder
Now go to your old eclipse and open "eclipse" folder --> "plugins" folder, and copy everything inside.
Now paste them into the "plugins" folder of the (NEW ECLIPSE), but DO NOT overwrite anything.
While inside of the "plugins" folder of your new Eclipse, do the search. Type in 22. (notice 22 with a dot) and hit enter.
The search result will show up all the files or folders with .....22.6...... For example,
com.android.ide.eclipse.adt_**22.6.2**.v201403212031-1085508
Highlight all of these files/folders and hit delete key.
Make sure to update your old API/SDK to the latest version and load this sdk directory to work with your new eclipse.
or
You can watch this video, which shows you how to move all your SDK/API to your new SDK folder.
Link: https://www.youtube.com/watch?v=jPZpJdnbbN0
I have not tried to update from any other ADT versions, but I think it should work for any old ADT versions too.
Don't forget to backup stuff before attempting.
What I have just found is that you need to update your ADT plugin in your Eclipse (whether stand alone or ADT Bundle) before updating your build tool.
If your Eclipse installation points to the most recent Build Tool and your Eclipse is having ADT 22.x, it will show those errors.
What worked for me: (on Ubuntu 14.04 64-bit)
Installed an older version of Eclipse and ADT (from the Bundle)
This copy of Eclipse was pointing to an older SDK verion with old build tools (before 20)
Updated the ADT to v23 (via archive, in my case)
Pointed Eclipse to the latest version of build tools.
You may not have an older copy of Eclipse and Build tools, in that case you can uninstall latest build tool from SDK Manager and install the older copy.
Once everything starts working fine, do the above steps.
I am trying to upload older copies of such bundles somewhere on the Internet, will update the links here, once I am done uploading.
I found these instructions in a comment.
Download the newest version of ADT and use your existing workspace. This is actually the least pain-full upgrade you'll ever do. It didn't mess with the .android folder so I still had my original debug key. Only things missing were a couple of add ons I hardly ever use and they are easily installed into the new version.
Note don't install into your existing adt folder create a new folder so you can still fall back if the new install doesn't work.
On ADT-bundled Eclipse I had to first uninstall the ADT and then do a fresh install.
To remove the ADT plugin from Eclipse:
Go to menu Help → About Eclipse → Installation Details.
Select ADT plug-in, then click Uninstall.
After uninstallation install ADT from Help → Install new software.
For me it helped to delete Android 4.4W which is also API 20 and might be a cause for the conflict. So only install Android 4.4W or Android L until they fix it.
And (again this might only be for me) it only works in Android Studio not in Eclipse ...
I had to delete ADT and install it again.
However be warned, this caused me and one other person to have an annotations.jar missing errors in the Java Build path for certain projects, probably because it was trying to look for an old SDK, so upgrading projects is the next step I have to take.
The errors relate to libraries mostly, Google Play Services, Facebook SDK, ActionBarCompat.
For this step, you uninstall ADT, then put the URL back in to download them. The url is: https://dl-ssl.google.com/android/eclipse
I found a solution for the problem with "conflicting dependency". I don't have the same page of Daniel Díaz's response, but a page show "conflicting dependency", and I can't make anything.
The problem is that I'm not the owner of the file. Eclipse was installed in other session (on OS X). I have the right to read and write the Eclipse file, but I'm not the owner. Make a "chown" command on all Eclipse files to solve the problem. After, I have the same result as Daniel Diaz.
I hope this helps someone.
WARNING
There is now an update for ADT 23.0.1, but the Windows and Linux scripts are messed up, so wait with the upgrade!
You could check for example tools/proguard/bin/*.sh in http://dl.google.com/android/android-sdk_r23.0.1-windows.zip.
I did this to solve the same issue (in OS X):
Help > Install New Software > Add or select this repository "http://download.eclipse.org/eclipse/updates/4.3"
Under "Eclipse platform" select the newest version of Eclipse.
The installer will ask if you want to uninstall the ADT, click finish.
Restart Eclipse and install ONLY the ADT 23 using this repository: https://dl-ssl.google.com/android/eclipse.
Restart Eclipse and install DDMS, Hierarchy Viewer, Trace View etc.
Restart Eclipse again.
Hope it helps.
If Eclipse gives an error after uninstalling the ADT plugin from your Eclipse installation, try to edit file config.ini in the Eclipse folder → configuration. Find:
eclipse.application=
And change it to:
eclipse.application=org.eclipse.ui.ide.workbench
I hope it works for you too.
I simply went to my Android resources folder on my C:/ drive (C:/Android), deleted the 'eclipse' folder and all its contents. I downloaded Android Developer Tools once more and just moved over the 'eclipse' folder.
I started up and everything was fine; I had updated to version 23.
Hopefully this helps, possibly not suitable for everyone as some of you have Eclipse modifications but for someone who, like me, wanted a quick fix and get back to developing this seemed to be the easiest path.
I am using Eclipse v4.3 (Kepler), and this is how I solved my problem.
Goto menu Help → Install new software → click Add.
In the popup, give any name (I named it as Eclipse ADT Plugin), and in the link's place, use https://dl-ssl.google.com/android/eclipse/
Once you click OK, you will be displayed with new packages that will be installed and old packages that will be deleted. Don't worry about these packages. Click OK.
New packages will be installed, and this should solve your problem.

Cant dowload google app engine 1.9.1

So I am trying to run a google web application through eclipse, but when I run it gives me an error to please check for newest SDK version, which is 1.9.1. And sure enough Im working with 1.9.0, but I cant find any updates for GAE and it says all components are installed under help->install new software.
Ive tried downloading .zip file of 1.9.1 and extracting it to my eclipse\dropins dir but that doesnt do anything either. What do I do after Ive extracted it in to my dropins dir? And why cant I find the new version using eclipse own installation tool? Should I really be getting this error?
Try Eclipse Help -> Check for Updates instead. Sometimes the SDK detects a new version before Eclipse does, and everything synchronizes within a day or so. The SDK message is informational, not an error, so you can safely ignore it in the meantime.
In addition to what Martin suggested, you can download the SDK separately and unzip that in any separate folder. Then from your Eclipse Preferences, go to Google, App Engine SDK and select that particular version folder.
FYI - I prefer keeping the SDK versions separate from Eclipse. That way, I have the entire list of SDKs available in another folder structure and can use it across Eclipse versions too.

App Engine and Eclipse on Ubuntu Linux 12.10

I updated Ubuntu from 12.04 to 12.10.
It upgraded my Eclipse too, from 3.7 to 3.8.
Turns out, Google App Engine doesn't have a plug in for 3.8. Just 3.7 and 4.2.
So I upgraded Eclipse to 4.2.
When I upload my project, it says it can't because of the java-7 flags. I found a post on here that described how I might change the flag, but it wouldn't matter because I'm not a "Trusted Tester" so they wouldn't allow it yet anyways.
I tried to change the Project's build path to include OpenJDK 6 and a compiler level of 1.6
I get this project error "Java compiler level does not match the version of the installed Java project facet."
I've looked it up, and found a message on StackOverflow, but I can't figure out what facets I'm using or if that solution even applies.
Is it possible to use Eclipse 4.2 and the App Engine 1.7.4 to upload a project to App Engine?
How do I get it to use Java6?
Is it possible to use Eclipse 4.2 and the App Engine 1.7.4 to upload a project to App Engine?
Yes it is, that's what I use. Have you tried creating a new project after you set the jdk to 6? I had this exact same issue at first, and creating a new project was all it took once I got the jdk right.

Adding Java ME platform in NetBeans

I installed NetBeans 7.2.1 with JDK 7 and the plug-in - Java ME SDK 3.2 (it has Wireles Toolkit 2.5.2 inside).
I try to create new project by clicking File/New Project/Java ME/Mobile Application. Then I click next. In next window the message:
Every CLDC project needs to have CLDC compatible SDK/platform/emulator assigned to it.
Pressing Install SDK/Platform/Emulator button opens Platform Installation wizard, which allows you to "add platform".
I tried clicking Install SDK/Platform/Emulator button and I tried then indicating the folder, where Java ME 3.2 is installed. It can recognize the emulator, but the project cannot be started.
After the choice, there appear several options. How to make in new version? Most of the thing in Internet are connected to old version.
Have you tried using this Oracle tutorial online? It's fairly current (September 2012). There's also an even newer one just posted here.
If you install the Java ME SDK that way, you should have the proper Java Platforms there already. It's hard to read your screen capture, but it doesn't look like the proper Java Platforms are there. I would try again, following the steps in the link I provided.
I just tried it, with NetBeans 7.2.1, and the Java ME SDK 3.2. The version of NetBeans I used was from this download page and was the Java EE version.
One easy thing to miss in the steps below is that on this download page, you need to download both the Java ME SDK and the Java ME SDK Plugin for Netbeans. Not just the plugin. This applies for the installation instructions in either of the two links I posted above. Install the SDK, and not just the plugin.
In case that link later changes/dies, here are the important steps:
How to integrate Java ME SDK 3.2 with NetBeans
By SungmoonCho on Sep 25, 2012
Many people like to use Java ME SDK with IDEs. We provided instructions on how to integrate the SDK with NetBeans through the download page, and also through the release note, however, let me explain it here once again with some screen shots.
Download Java ME SDK and NetBeans plugin from here.
Install Java ME SDK first. You will have the emulator and the runtime on your machine. Also please unarchive the NetBeans plugin somewhere.
Launch NetBeans.
Go to "Tools" - "Plugins".
Check out the "Installed" tab. Check "Show details". If you see the previous version of Java ME SDK Tools installed already. Check those to uninstall them.
Go to "Settings" tab.
Click "Add", and provide the location of NetBeans plugin. In my case, it is "file:/C:/Users/sungcho/Downloads/nb-me-sdk-plugins-uc/updates.xml". Don't forget to add "updates.xml" at the end.
Click "Okay"
Click "Available Plugins" tab.
If you scroll down, you will see three Java ME SDK Tools. Check "Java ME SDK Tools" plugin. Also check others as you desire.
Follow the instruction and install them.
Restart NetBeans
That is it. Done. Now you will see Oracle Java ME SDK 3.2 in your Java Platform list.
Finally, I configured it. I had plug-in without SDK:). I uninstalled plug-in. I installed Java ME SDK 3.2, then I installed plug-in. I installed SDK not in the default path. I indicated platform using "Add platform" button. I indicated 2 platforms and now the project can be run in the emulator.
Here are platforms:):