No "Blank Wear Activity" template shown for Android Wear on Eclipse - eclipse

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.

Related

Unable to find Java & Android SDK - Google Play Services in Unity

I downloaded unity package for google play services. After installing the package I opened up the window for Android configuration but after putting in the Resource definition, I get several errors: that Java and Android SDK is missing and that XML resource is not correct. I have the latest Unity version and when installing, it also installed Java and Android automatically, I didn't need to download any JDKs from java and android websites.
What am I missing??
If you go to "Edit" -> "Preferences" -> "External Tools" and scroll down to Android, there's a text field to enter the path to your SDK. There's also a "Download" button next to the field that will take you directly to the download location. I recommend getting all 3 (SDK, JDK, NDK).
If the problem occurs sometimes even you already locate java sdk, just go to Assets -> External Dependency Manager -> Android Resolver on unity then click Resolve. Just click OK when finished now you can build apk/app bundle without java sdk locate error.

How to setup Eclipse Andmore

I have just downloaded Andmore and restarted Eclipse, but now Eclipse is asking me where the SDK is. Where is the Andmore SDK? How do I setup Eclipse Andmore?
It is probably asking for the Android Sdk. To enter the location in eclipse select window>preferences>Android...and in the dialog box under Android Preferences browse to the directory under the SDK Location text box.
Android Sdk is available if you do not have it. Andmore is a plugin for eclipse that allows you to easily program for your android phone.

ADT opens as Eclipse?

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.

How to install ADT 11.0.0 on Eclipse(helios)

I am a Fresh developer of Android application,
can anyone please help that how i can install ADT 11.0.0 on Eclipse(Helios),
i tried my best at least two days to overcome on this issue,but this error is coming continually that conflicting dependency is present.
First Method:
I tried to put ADT 11.0.0 offline in eclipse but this is not affecting,means i just copy paste plugin and features folder of ADT 11.0.0 in eclipse(helios)..
SECOND METHOD:
I used this URL http://dl-ssl.google.com/android/eclipse/ to install ADT 11.0.0 online,
Here is screen shots,
![This is an error which i am facing through online installation.]
I shall be very thankful if anyone helps me..........
Thanking you,
HelperANDFinder.
#HelperAndFinder, you can directly download Eclipse ADT bundle, advantage is that:
With a single download, the Eclipse ADT bundle includes everything you need to begin developing apps:
Eclipse + ADT plugin
Android SDK Tools
Android Platform-tools
A version of the Android platform
A version of the Android system image for the emulator
Means you don't need to install ADT separately, just you need to download this bundle and your job done.
http://developer.android.com/sdk/index.html
That is one way, other way is:
Update an Eclipse IDE for Android development, in which you are more
interested. Kindly look into this link to see step by step procedure:
Click here - This link provides step by step guidance on same.
And for exploring Android in detail with to the point then check out this link:
And to give you high level overview then
Eclipse is IDE which supports Android App Development through plugin or as Complete package which is the first way.
Androi SDK - A Software Development Kit that enables developers to create applications for the Android platform. The Android SDK includes sample projects with source code, development tools, an emulator, and required libraries to build Android applications. Applications are written using the Java programming language and run on Dalvik, a custom virtual machine designed for embedded use which runs on top of a Linuxkernel.
ADT - ADT (Android Developer Tools) is a plugin for Eclipse that helps you to develop Android applications quickly. ADT provides GUI access to many of the command line SDK tools as well as a UI design tool for rapid prototyping, designing, and building of your application's user interface means just drag and drop thing is there to come up with basic layout for your application like we did in swing, and AWT kind of application. It's more than that just explore it more...;)

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:):