My problem is I can't run my Android application within Eclipse.
When I click run it shows me this form but there's no "Android Application" choice!
If you must use Eclipse, you need to download the Android plugin for Eclipse. However, Google no longer supports this. In order to develop for the most recent version of Android you have to download Android Studio instead.
Related
I just set up the android sdk with home-brew on my MacBook Pro. The android sdk is stored in usr/local/share/android-sdk . Because I also do Java development, I want to just use IntelliJ instead of downloading Android Studio also. According to this, only Android Studio comes with the sdk manager gui; for other IDEs, I have to use the command-line tools. However, I figured Android Studio is a fork of IntelliJ so IntelliJ should also have the gui. I tried clicking "SDK Manager" in Intellij (Tools > Android > SDK Manager) but nothing happened.
Is anyone able to access the sdk gui with just IntelliJ? Can you please advise me on how to do it?
The new Android SDKs aren't bundling the SDK manager application anymore (which is what Intellij 2017.1.X and earlier attempt to launch when you go to manage the SDK). The GUI to manage the SDK is now built into the IDE via the Android Plugin (which Google writes). Intellij I am told will be getting this in the 2017.2 release. That should be in EAP now but I have not tried it.
I have set up my computer with windows 8.1 completely new (formatted), to be sure to have a working system.
I have installed Eclipse and the plugins the following way:
download and unpack eclipse Kepler
install JDK
install android SDK
install android SDK-plugins in eclipse
in android sdk: install all extras, API 19, in tools: Android SDK Tools, Android SDK-Platform Tools, Android SDK Build Tools (only newest, 19.0.3)
install all google plugins for kepler(Google App Engine Tools for Android, Google Plugin for eclipse, GWT Designer for GPE, SDKs)
Now, is everything set up correctly, to use google app engine correctly?
When I create a new app engine connected android project, google creates a bugged project.
I have 50 errors, of which 49 can be resolved by changing the Java version from 1.4 to 1.7 in the app engine project (Properties: Java Compiler and Project Facet)
However in the non-appengine project, in the MainActivity I get following error:
RegisterActivity cannot be resolved to a type.
How to solve this? I did not do anything by myself yet, I only created a project and I already have an error...
You are very thorough, which is good. Your development installation appears to have flaws, and you might be trying to make it run before you have seen it walk. You need to divide and conquer the potential problems. Initially simplify what you aim to create.
To pinpoint the errors, try the two standard tutorials before starting on your own design: first build and deploy an AppEngine project without Android components, and only after that works, build and deploy an Android to AppEngine project. Somewhere along that process your errors will show up, and then you should have a more specific piece of source code to show and discuss in this question.
Yesterday, a new version of Android SDK (22.6.2) was released. Apparently, the problem with RegisterActivity was solved in this update. Now I can create an Appengine connected Android Project without any errors!
I want to develop a Windows application using Java SDK and eclipse, also I want to develop an Android app while using the same PC and eclipse. Is it possible to do both as I`m not sure if I set up eclipse and install the Android Development Tools (ADT) will I still be able to develop the Windows application at the same time???
No - all ADT does is use the existing JDK environment :)
You can just download the Android Development Tools from the Android website.
The Android Development Tools is nothing more than Eclipse modified with the ADT Plug in preinstalled.
In it, you have the option to create both Android projects and plain old Java projects.
So, downloading the Android Development Tools alone will give you everything you need.
If you already had Eclipse set up, installing the ADT yourself into it will not take away any functionality from Eclipse, it will just add ADT functionality on top of it.
No, it does not alter it.
You will have the Android SDKs on their own folders and has nothing to do with JDK.
today i update the android SDK Tools to rev22.2
and then i can't create new android application project.
it tells me that the Android Support library is either not installed or need to update.
but ver.18 is the newest version of Android Support library!
i pressed the Install/Upgrade button but nothing happened.
i used Android SDK manager tried to uninstall and install the android support library again, restart the Eclipse, restart the computer, but all these can't fix the situation.
now i don't know what to do...
the version of Eclipse is Kepler ver.4.3.0
Yes , I had the same problem . You need to update your ADT version
Start Eclipse, then select Help > Install New Software.
Click Add, in the top-right corner.
In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:
https://dl-ssl.google.com/android/eclipse/
I'm using Netbeans on Mac.
I have a web project that I'm developing, that communicates with a Java MIDlet that has already been developed.
In my project /web folder, I have a /client.jar (and .jad) that interacts with my web application. I'd like a way to be able to right-click on the jad, and say "Run as MIDlet", to bring up the emulator.
You can use the Java ME SDK which is based on Netbeans. And as this SDK is based on Netbeans I'm pretty sure that you can find a way to have directly those features in Netbeans.