I am trying to download the Android SDK on NetBeans 7.4 on a Mac via the NB Android plugin. After I installation is completed, NetBeans warns me that several modules needed were not read and could not be installed, so when I try to activate the plugin to import the SDK, it gives me an error: Activation Failed: Not all requested modules could be enabled.
Could somebody please help me with this tell me what is wrong? The three links below (especially the last one) will help you guys for further reference of the problem Thank you very much.
https://netbeans.org/index.html
http://nbandroid.org/wiki/index.php/Installation#How_to_install
https://netbeans.org/bugzilla/show_bug.cgi?id=200215
The information you have provided is incomplete. Which modules? Bug report can be a similar problem or not. It is possible that your installation is broken - try to delete NBAndroid modules and download/install them again. Or do similar thing with NetBeans.
Related
I have been trying to setup LibGDX on Eclipse (4.3). I followed the instructions here: https://github.com/libgdx/libgdx/wiki/Prerequisites and installed both ADT plugin for Eclipse and the Google Web toolkit successfully. Then I used the libgdx-ui.exe to create the libGDX project and on creating it, I see errors in Eclipse.
I am pretty sure I have installed the plugins properly and I have JDK 7 as well.
Any help would be greatly appreciated.
Thanks :)
It seems I have not installed the GWT plugins properly. But on trying to install it from the link, the option to install the SDK does not appear in the list.(Please check the image in the last comment I posted).
1) Android requires (before kitkat) jdk 6. It won't work with jdk 7.
2) After installing ADT plugin, you also have to open android sdk manager and download required api files.
These two should fix your android and java.lang.Object issues. It's better to test an android app on this setup (without libgdx) first.
3) Right click on all warnings regarding classpath entries, eclipse will provide you automatic quick fixes.
If the issue stays after this, the problem is with gwt sdk installation. Now you can follow The project XXX does not have any GWT SDKs on its build path. It should work smoothly as other problems won't interfere with it now.
Hope this helps.
I just downloaded Eclipse and the Google Plugin to begin compiling the Google Web Toolkit from the source and building a sample application with it. However, upon installation of the plugin, I am getting this error:
http://i.imgur.com/9vJx3.png
From the look of the error, I'd say this might have something to do with Google actually, unless I'm missing something incredibly obvious.
Try this
Help-> Install New Software -> paht: http://dl.google.com/eclipse/plugin/4.2
did you try same link?
Are you running Eclipse as Administrator? Some of the software sources are finicky if you don't. I know I had a similar problem installing the Android Tools SDK.
I've also found these instructions from this question, if it helps.
EDIT: I fixed it by not installing the NDK Development stuff. I don't know what it is, or what it does, but it fixed my problem.
I'm on Windows 64-bit, using Eclipse Helios, and trying to install the latest Android SDK. So far, I've been able to download and install the SDK Manager and successfully ran through its stuff.
The trouble comes in when I try to install inside of Eclipse (Help -> Install New Software). Every time I try to install using either the URL address (http://developer.android.com/sdk/installing/installing-adt.html) or the .zip file I get this error:
An error occurred while collecting items to be installed
session context was:(profile=SDKProfile, > phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Comparison method violates its general contract!
Comparison method violates its general contract!
The internet doesn't seem to have any answers that I can find. Thanks!
Late to the conversation...
But I have found this error when trying to install packages, not at all associated with Android, from older Eclipse versions, which by now includes Helios. It actually took me a while to figure out all those Eclipse project names are actually versions. At the time of this writing, Eclipse Kepler is the latest, once I upgraded (pretty much a fresh install) to Kepler and tried again to install the packages, everything worked fine.
Hopes this is helpful to somebody.
Run eclipse as administrator and install Android SDK.
You must use https://dl-ssl.google.com/android/eclipse/ for SDK installation.
See Install ADT Plugin
By the way, which version of java are you using? I reckon the error is possibly an eclipse bug, related to Java 1.7.
Try JRE 1.6 and see if it works!
You need the following tool for starting the android devolopment
(1) Eclipse ide
(2) ADT for eclipse (android plugin for eclipse)
(3) Android SDK
You get a brief idea about each of these steps from the following link
http://codeglympse.blogspot.in/2012/10/installing-eclipse-and-android-sdk.html
I just installed Eclipse EE Juno (4.2) and a whole slew of plugins for it. I am now attempting to install the Google plugin (GAE and GWT) and am getting an error when adding the update site through Juno's Install new software window:
Name: Google-Plugin
Location: http://dl.google.com/eclipse/plugin/4.2
When I try to enter this I get:
Could not find http://dl.google.com/eclipse/plugin/4.2
I see this question from a few months ago. Although I am having a very similar problem, I think I have a different problem altogether.
When I change the Location to http://dl.google.com/eclipse/plugin/3.7, I get the same error (except with 3.7 appended on the end of the error message instead of 4.2). I definitely have Internet access (how else would I be posting this question?!) so that's not the issue. If this was only working for the 4.2 plugin, I would happily try the "workaround" mentioned in the other post, or even step back down to Eclipse 3.7 (I have to have this plugin!) until 4.2 was working. But the fact that it's not even working for 3.7 tells me that something else is awrye here. Thanks in advance!
Edit:
Just to mess around with things, I have downloaded Indigo (3.7) and immediately attempted to install the Google-Eclipse plugin. I entered the following for my update site:
http://dl.google.com/eclipse/plugin/3.7
And received a nasty error:
Artifact not found: http://dl.google.com/eclipse/plugin/3.7/compositeContent.xml.
Artifact not found: http://dl.google.com/eclipse/plugin/3.7/compositeContent.xml.
http://dl.google.com/eclipse/plugin/3.7/compositeContent.xml
Am I going crazy here?!?! I've installed my fair share of Eclipse plugins and never had this much trouble. Especially from Google. And I know its not my Internet connection or my Eclipse instance because before I attempted to install the Google plugin, I installed Subversive, IvyDE and EclEmma...
It was also broken for me a little while ago, but seems to be working now. Maybe the site was down for a bit?
You can try installing the plugin from archive as described in the link:
https://developers.google.com/eclipse/docs/install-from-zip
Basically what you are doing is, you download the plugin as a zip(archive) and browse this archive instead of update site, during the plugin installation.
I installed the Android SDK. When I try to import the ADT plugin I get this error:
"Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 10.0.0.v201102162101-104271 (com.android.ide.eclipse.adt.feature.group 10.0.0.v201102162101-104271)
Missing requirement: Android Development Tools 10.0.0.v201102162101-104271 (com.android.ide.eclipse.adt.feature.group 10.0.0.v201102162101-104271) requires 'org.eclipse.gef 0.0.0' but it could not be found"
See here. It looks exactly like your issue.
Is this the first time running the application? If know you may need to uninstall the app from the emulator or device. I ran into this issue before I just made sure the the old app was no longer on the device I was using.
Also if that doesn't work provde and little bit more info so we can help. Perhaps open up the DDMS perspective and seletct the emulator you are using. DDMS is a very helpful tool to determine what is going on.