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.
Related
I am being pestered by eclipse when I open the program. I get two error messages; "SDK Platform tools component is missing! ..." and "Failed to get the required ADT version number from the SDK. The Android developer toolkit may not work properly".
Both messages give me the option to open the Android SDK manager. When I attempt to open the Android SDK manager from eclipse, I get an initialization and then nothing happens.
I'm aware this is a common problem. Many solutions say to find the Android SDK manager in the SDK directory, though I can't find it anywhere there. The path I am using is "C:\Users\Ant\AppData\Local\Android\sdk".
When I attempt to open the SDK manager from Android Studio, I get something come up, though I have no idea if it is the Android studio version of the SDK manager or not.
All I want to do is install some packages to get everything running smoothly. I have the feeling that I need to open the SDK manager from eclipse to do it though. Is this correct? Is there anything else I can do?
You should go and create the proper environment setup, It seems there is a confusion between Eclipse and android studio working env. Please make sure to install separately the working env. SDK are normally hidden files make sure you are suppose to see hidden files in your computer.
Thanks,
Ashish
I'm new to android. I had this issue Unable to write jarlist cache file while creating android project then I just hit F5 on both appcompat_V7 and HelloWorld folders to get rid of it. But still the helloWolrd project is bugging. I just followed this tutorial http://www.tutorialspoint.com/android/android_hello_world_example.htm
I did not do anything but following the tutorial (IDE settings and Hello world projct) What's going on ?Could you help me fix the issue ? Below is a picture of what Eclipse looks like afet hitting F5 on on both appcompat_V7 and HelloWorld folders
Google dropped support for Eclipse Android Developer Tools back in June 2015 so you might find inconsistencies with that IDE.
The Android developers blog is quite clear as to why:
To that end and to focus all of our efforts on making Android Studio better and faster, we are ending development and official support for the Android Developer Tools (ADT) in Eclipse at the end of the year. This specifically includes the Eclipse ADT plugin and Android Ant build system.
The official blog post can be found here.
I believe that continuing to develop in Eclipse will result in further errors the more you will progress.
My suggestion is to start your development using the official Android Studio IDE which you can find here.
I've tried building the CSEmptyTemplate project in eclipse for android but have run into a host of issues with it.
Looking at the documentation, it doesn't appear as if it should be this difficult.
Firstly, I've installed cygwin and installed the devel package to get make.exe and gcc compilers. I'm also using cygwin as part of the tool chain.
However, the error I keep getting is 'make: *** No rule to make target `all'. Stop.'.
Any advice on fixing these issues would be appreciated.
edit: Found the make files. I was just an idiot last night when working on this.
There shouldn't be any additional steps required to build Chilli Source for android on windows, just the simple steps listed on the website here: http://chilli-source.chilli-works.com/docs/?page_id=67
However setting up the Android Development Tools with the NDK can be a bit of a pain. Judging by the error your getting my gut feeling is that something isn't set up correctly there.
Chilli Source requires the latest versions of the SDK, NDK and ADT. Can you ensure you have:
Android API level 21.
The latest versions of the Built Tools, Platform Build Tools and Google Play Services.
NDK revision 10c.
The latest ADT is also missing a couple of things that means it can't be used out of the box.
It doesn't come with the native dev tools which can be acquired by doing the following:
Go to "Help" then "Install New Software..."
Select "Android Developer Tools Update Site - https://dl.google.com/android/eclipse". You make have to edit it to instead point to https://dl-ssl.google.com/android/eclipse
In Developer Tools select and install Android Native Development Tools.
It also doesn't come with ant. This isn't causing your issue, but it will cause issues later on, so get it following these steps:
Go to "Help" then "Install New Software..."
Select "Juno - http://download.eclipse.org/releases/juno"
In General Purpose Tools select and install Eclipse Plug-in Development Environment.
Now that you've got everything required, ensure that you've got it set up correctly:
The correct version of the SDK selected the Android tab in preferences.
The correct version of the NDK selected in the Android/NDK tab in preferences.
Android 5.0 selected in the Android tab in Project Properties.
Finally, on windows you also need Cygwin. It's been a while since I've used it (I'm not a fan of cygwin so I do my Android development in a Ubuntu virtual machine) but only the "devel" package is needed iirc, so make sure you've at least got that.
Hopefully ensuring all of that is set up correctly will fix your problem!
I try to develop an App Engine project for Android, but I have bugs again and again. I tried to do 3 tutorials in the last days, but got none of them working...
Tutorial 1: Create App Engine Connected Android Project
When creating an App Engine Connected Android Project, I get the following error in the MainActivity: RegisterActivity cannot be resolved to a type.
When i googled this error, I saw that many people had the same error 1 year ago, but nobody could give a good solution yet. Has google been able to solve this bug yet?..
Tutorial 2:
https://developers.google.com/appengine/docs/java/endpoints/getstarted/backend/create_project
This Tutorial uses Maven. I tried to generate the project with following command, because I am not able to do that with the interactive mode:
"mvn archetype:generate -DgroupId=com.google.appengine.samples.helloendpoints -DartifactId=helloendpoints -DarchetypeArtifactId=appengine-skeleton-archetype -DinteractiveMode=false".
It fails and tells me that the archetype doesn't exist.. (appengine-skeleton-archetype)
Well, I don't know what to do here...
Tutorial 3:
https://cloud.google.com/developers/articles/how-to-build-mobile-app-with-app-engine-backend-tutorial
At "Modify the Client Application", when I replace the Code from MainActivity01, I get errors like "CloudEndpointUtils cannot be resolved", because in the MobileAssistant src folder the class CloudEndpointUtils was not created!
Conclusion: Seems like most of the documentation is not up-to-date and the google plugins are pretty bugged... Maybe somebody knows how to solve those errors?
Is there any Tutorial, which is up-to-date and, which shows how to build an easy application for android with appengine and which WORKS? I would like to complete just ANY tutorial and have a stable basic project...
The documentation does work, so the problems may lie in the configuration of your tools. You show considerable persistence, so consider switching to a new installation of tools (Eclipse or whatever). Also prove your tools by building and deploying simpler AppEngine-only projects first before aiming higher for Android-to-AppEngine projects.
Well, actually I had reinstalled eclipse several times because of those and other bugs.. But I think I had installed it correctly with the latest plugins...
Now, to be sure that I install it definitely correctly, I have completely formatted my computer (reinstall windows 8.1)
So, in order to be sure that I do everything absolute correctly, which of the following possible ways to install the whole eclipse setup is better?
Install eclipse kepler WITHOUT ADT. Then install all the ADT-plugins and google-plugins, and then install everything necessary from android SDK manager.
Install ADT Bundle (comes with eclipse juno atm and is version 22.3). Then install google-plugins and update ADT-plugins from 22.3 to 22.6.1. Then install everything necessary from android SDK manager.
I know this shouldn't make a real difference, but I have done that often enough and I still had errors. This time I want to be sure to do it completely right!
I tried to install adt 23.3.0 in Eclipse Kepler, but I have a problem. I tried every thing such as run as administrator or uncheck contact all update sites ... But I still have the same problem. I use Windows 8.1 and the error is:
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 22.3.0.v201310242005-887826
(com.android.ide.eclipse.adt.feature.group 22.3.0.v201310242005-887826)
Missing requirement: Android Development Tools 22.3.0.v201310242005-887826
(com.android.ide.eclipse.adt.feature.group 22.3.0.v201310242005-887826) requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found
I'm not exactly positive about this but since this question has received very little attention I figured any answer is better than no answer.
From what my understanding it is done differently in Eclipse Juno which you do from within Eclipse.
Instead you have to download the Android SDK separately and then set the SDK path in preferences...
window>preferences>Android>sdk location.
Make sure to create a folder in the same directory as Eclipse so Eclipse can easily locate the sdk. Hopefully this helps