i downloaded ADT bundle for linux 64bit from developers android website
also downloaded adt plugin zip and installed developer tools form HELP --->> INSTALL NEW SOFTWARE.
but when i open eclipse from the folder it opens as eclipse juno (i.e.the splash screen) and not as Android Developer Tools.
can anyone tell me what is wrong or am i openeing it the wrong way?
and i am using fedora 20.
Not sure if I understand your question correctly but ADT is mainly context menus integration in Eclipse. If you are in the Java perspective you can see on the Window menu the options Android SDK Manager, Android Virtual Devices, etc. You also have a perspective to debug called DDMS. You can create new project with template Android Project (or import Android project from existing sources). If you right click in a project you also have and Android Tools context menu, etc.
Related
I'm trying to set up Eclipse to develop for Android Wear by following this tutorial:
https://medium.com/#tangtungai/how-to-develop-and-package-android-wear-app-using-eclipse-ef1b34126a5d
I've made it to the step where one creates the new Android Wear Project and selects "Blank Wear Activity". On my setup, there is no "Blank Wear Activity" in the Create Activity dialog. It appears Eclipse is not finding the template to add to the list here.
I've tried this with Eclipse Luna downloaded from Eclipse.org, with ADT then installed via Eclipse's "Install New Software..." menu. I've also tried it on the pre-configured Eclipse Juno you can download from developer.android.com that has ADT pre-installed.
I can use the Android SDK manager to pull down the Android 4.4W platform stuff as well as Android Support Library and Google Support. I can find the wearable-1.0.0.aar and unpack it. I can import that project and all seems well. But I never wind up with the "Blank Wear Activity" template as an option. I've tried with and without installing the L Preview SDK.
All of this is on Ubuntu 14.04.
Since the latest ADT (23.0.2), there isn't any wizard to create wear activity.
So you can try to download this Black Activity For Android Wear and start from there.
https://github.com/tangtungai/Android-Wear-Black-Activity-Template
Hope this help.
The templates are provided by Android Studio, so you can't find it in SDK or your ADT.
You can find it in AndroidStudio/plugins/android/lib/templates/activities
Eclipse uses for its templates the folder <android-sdk-folder>/extras/templates/.
The language used is the same, but I don't know if they can works on Eclipse without changes.
I'm trying to work with Java ME Platform SDK in Eclipse Juno on Windows XP.
I have followed this tutorial: I installed Java ME SDK 3.2, MTJ toolkit and plugin for Eclipse. Everything was done without errors, and of course I have restarted Eclipse, but I can't see any effect:
Say, at this step from instruction: Select Window > Open Perspective > Other and choose Java ME, then click OK.
There is actually no "Java ME" perspective in "Other" list.
Or, this one: Select Window > Preferences > Java ME and select Device Management, and click Manual Install.
The same: I go to Select Window > Preferences, and there is NO "Java ME" item.
If I go to Help -> About Eclipse -> Installation details, then I see installed plugins there: Java ME SDK Demos, Java ME SDK Tools, Mobile Tools for Java Examples, Mobile Tools for Java SDK.
I have read instruction many times, and I still can't find what did I miss.
Any help appreciated.
I had the same problem. After enough reading I realized that there are some conflicts that occur with Mobile Tools for Java in the Juno edition. It works well with Indigo.
Alternatively, you could use Eclipse Pulsar for developing for the mobile platform. It comes preloaded with all the tools required for mobile app development.
Download Eclipse Pulsar (Helios SSR2) from http://www.eclipse.org/downloads/packages/pulsar-mobile-developers/heliossr2.
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:):
I have updated eclipse. But I have to always go to android sdk folder on my file system and navigate to tools located in that folder. In ealry versions, there were short cuts to adt and sdk tools on eclipse. They were shown under the menu bar of eclipse. Is there way to get them back again on to eclipse?
First, these should show up automatically under the "Java" perspective in Eclipse. You can show it using Window->Open Perspective->Java (or if Java does not appear there, use Other and select Java from the list).
If you want to add it to other perspectives (like the Java EE perspective)
Choose Window->Customize Perspective
Click on the Command Groups Availability tab
Check Android SDK and AVD Manager
Press Ok
You may also want to check Android Wizards to get the buttons for creating an Android XML file.
I'd like to learn java me. I've gone to the following site to download what is needed. My Eclipse version is Juno.
I've done the following:
Eclipse Juno
The Oracle Java ME SDK requires the MTJ toolkit, but it is not bundled with Juno and it must be installed manually. Therefore, install MTJ toolkit first.
Go to Help > Install New Software.
In the "Work with" field, enter this URL: http://download.eclipse.org/releases/indigo
Click Add. When the plugins are discovered, open the Mobile and Device Development Tools hierarchy and check Mobile Tools for Java Examples, Mobile Tools for Java SDK, and Mobile Tools for Java Examples. Click Next. On the installation screen select all plugins and click Finish.
A Juno plugin named org.eclipse.jetty.server_(version).jar conflicts with the MTJ libraries when the plugin version is higher than 6. If it is you must prevent it from loading by changing its name so the Jar file is not parsed. For example, change it to: org.eclipse.jetty.server.old
To open the device selector, select Window > Open Perspective > Other and select Java ME.
The MTJ is installed along with the 3 packages that also need to be installed:
Mobile Tools for Java Examples
Mobile Tools for Java SDK
Mobile Tools
for Java Examples
When I choose: Window > Open Perspective > Other
there is no Java ME option. Does anyone know why that option is not shown?
I do not know exactly why, but MTJ does not run with Juno. If you like Eclipse try it with Indigo.
Have you considered using NetBeans?