i am confused about eclipse problems. I created project in android yesterday and today morning i opened to eclipse. but i saw that there is not option for creating new Android project. also i checked Windows - > preference -> Android , Android option is also not available here
and also Android SDK option is not in eclipse.
I import a android project and see a Red color error on it.
i have installed both ADT and SDK by
http://developer.android.com/sdk/installing/installing-adt.html
please help me
There are many possibilities for this query:
1) First of all please check whether you have installed it correctly:
Help --> Install New Software then
add this link adt - http://dl-ssl.google.com/android/eclipse/
and read this too
2) try Window > Customize perspective > Command Groups Availability tab. Check the "Android SDK and AVD Manager" option and hit the OK button.
If "Android SDK and AVD Manager" hasn't shown up, I think there may be some kind of file miss match in the eclipse.
3) If so, It would be better to start fresh:
You can find the step by step guidance here
I am a beginner to android development,I have downloaded adt-bundle-windows-x86_64 with android 4.2 and started the eclipse version(Android developer tools) provided with it.But when I click finish after filling all the details in new android application dialog box,the finish button doesn't seem to respond at all.At the first click on finish button an application is created but no java files in it and the dialog box stays still.At least the android 4.2 library is not in the application.src is also empty.
I'm working with Windows 7 64bit and JDK 1.6 64bit.
Any idea on solving this?
http://developer.android.com/training/basics/firstapp/creating-project.html
http://developer.android.com/tools/help/adt.html
http://www.chhitizbuchasia.com/articles/chhitiz/2011/02/Setup%20Android%20SDK%20With%20Eclipse.html
http://developer.android.com/sdk/installing/installing-adt.html
Cannot create a new Android Project using Eclipse
install android sdk manager
step1
step2
step3
install the following sdk to perform the application
Download ADT plugin
http://developer.android.com/sdk/installing/installing-adt.html#Download
BASIC STEPS
http://blog.teamtreehouse.com/the-one-stop-android-sdk-installer-you-always-wanted
Best Jvm setting
Eclipse is not that much robust IDE.If nothing can solve your issue.try to restart Eclipse and your Computer.
and yes,before restarting just update the packages.
Go to SDK Manager, and install available updates for following packages.
Android SDK Tools
Android SDK Platform-tools
After updating,it will be look like this,
I just got mine past this bug; hopefully yours will fix too?
On the screens with menus to select from, where one item is greyed (selected?) as default:
Deliberately click the item, to ACTUALLY select it (it turns dark blue or something).
Mine apparently got caught up on the "Make activity" (or whatever) page, and until I went back and assumed that the default had failed to select it, I was unable to choose finish (even though it clicked, looked as though it was going to do something, and then didn't go).
I am using android-sdk-macosx to download from the internet, then installed Android SDK 2.2 and 2.1 successfully, then I tried to create new AVD on mac, but I don't have any idea about how to create AVD.
I tried this below mentioned for your reference:
Fig 1.0 Create new AVD
Fig 2.0 I tried to open SDK and AVD Manager in eclipse menu Window --> Android SDK Manager
In Eclipse, go to Windows Menu , Select Preference Option so, following dialog box will appear. Just select the Android-SDK folder using Browse Button.
After doing this step click on the "Apply Button",
Now, you will be able to create new AVD in your eclipse.
Note, I have upload this image using Windows System, but i am sure, MAC has some, same kind of menu option.
Follow this seven steps to fix this issues:
1. Start Eclipse, then select Help > Install New Software.
2. Click Add, in the top-right corner.
3. 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/
Click OK.
4. If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
5. In the next window, you'll see a list of the tools to be downloaded. Click Next.
Read and accept the license agreements, then click Finish.
6. If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
7. When the installation completes, restart Eclipse.
It looks like you need to configure Eclipse to tell it where the android-sdk-macosx directory is (this can be done in 'Window>Preferences>Android> SDK Location".
Also, take a look at this page.
In the screenshot Fig 4.0, there's an error message at the top of the widow, which probably explains why the apply button is not available.
While the message cannot be read completely, I think it says that your version of ADT (Android Developer tools) does not match your version of the SDK : I might want to try updating both .
Also, take a look at this question, which might be about the same problem.
I have reformatted my computer. When I installed eclipse, android avd and the SDK I am now missing the options. To make an android program. I can make an android application program. That's the closest option I have. Is there a big difference in the two? Has anyone ran into this problem before?
Much thanks!
I think your Android Plugin has been removed from the eclipse.
Go to Help menu and select "Install New Software"
Type the URL https://dl-ssl.google.com/android/eclipse/ in the textbox
Select the Android Plugin Components and install them.
I am installing the Android SDK along with Eclipse in mac os. Whenever I try to start a new project development I get an error location of the android sdk has not been setup in the preferences
How do I resolve this problem?
Hi try this in eclipse: Window - Preferences - Android - SDK Location and setup SDK path.
I got this message after updating eclipse platform-tools and tools from the SDK Manager and then it was impossible to update the SDK path because I had an old version of ADT plugin.
Whenever you get this error message in a prompt right after eclipse loaded, you should do the following:
Go to Help - Install new software
Click on Available software sites
Delete the link http://dl-ssl.google.com/android/eclipse/
Reboot eclipse
Go to Help - Install new software
In the box "Work with" add http://dl-ssl.google.com/android/eclipse/ again
Install ADT and accept whatever that prompts.
This is how my problem with this message got solved.
I saw this error after updating the Android SDK to r17. The solution was to go to Help -> Update and get the latest version of the Android SDK to match.
I experienced this problem and fixed it by updating to the latest Android SDK Tools which in my case was 20.0.3
I am running Mac OSX Lion 10.7.4
If ever you encounter errors while updating the SDK Tools try deleting
http://dl-ssl.google.com/android/eclipse/
from the "Available Software Sites" in Eclipse, and adding it again.
If you have not installed plugin for eclipse, install it first.
If the plugin is installed, setup preferences: "Eclipse">"Preferences...", in left column choose "Android"(do not expand list, just choose root element), and first preference will be "SDK Location".
I've had the same problem on Eclipse Juno.
No "Welcome page" appeared, I could not create a project, compilation didn't work and "Graphical layout" didn't work.
I have fixed it:
Window > Preferences > General > Startup and shutdown:
Check "Android development toolkit"
Reestart Eclipse.
Of course you have to be configured this:
Window - Preferences - Android - SDK Location and setup SDK path.
Simply create this folder:
C:\Users\xxxxx\android-sdk\tools
and then from Window -> Preferences -> Android, put this path:
C:\Users\xxxxx\android-sdk
I had the same problem when I was trying to upgrade from ADT 20.0.x to ADT 23.0.x on Eclipse Indigo.
To fix the issue, I had to uninstall the ADT plugin (remove feature) from Eclipse, then reinstall the newer versions.
This maybe done by going to Help->Install New Software. Then at the bottom of the page, click What is already installed?
All what is left now is to install the newer versions as usual from help->Install New Software.
there are many things which can cause this error. For example, I
imported google api from the android SDK Manager and that is when I
got this same error. Eclipse broke down on me. I could not even create
a new android project.
To fix this, I went to help - Install New Software... - from the "work with"
drop-down box I selected http://dl-ssl.google.com/android/eclipse/ -
I then check marked "Developer Tools" and hit the Next button.
I then followed the prompts and it basically did a re-install. It took less
than 5 minutes. That resolved the error.
Now Im back up and running, and I got the lastest version of Eclipse.
i tried everything/....but only this thing worked for me:
To fix this, I went to help - Install New Software... - from the "work with" drop-down box I selected http://dl-ssl.google.com/android/eclipse/ - I then check marked "Developer Tools" and hit the Next button. I then followed the prompts and it basically did a re-install. It took less than 5 minutes. That resolved the error.
Now Im back up and running, and I got the lastest version of Eclipse.
Thanks a lot Nadir
Hope this helps:
Step 1.) Go to https://www.eclipse.org/downloads/index-developer.php?release=kepler and download appropriate Eclipse version.
Step 2.) Extract downloaded zip file in appropriate location. In this tutorial, I have downloaded and installed it under program files.
Step 3.) Right click on eclipse.exe file and send shortcut to desktop.
Step 4.) Double click on eclipse shortcut from desktop and select appropriate location to create your workspace.
Step 5.) Navigate to Window > Preferences. This should open Preferences window.
Step 6.) On the left hand side page expend “Java” and click on “Installed JREs”
Step 7.) Click Add. It will open “Add JRE” dialog. Select “Standard VM” and click Next.
Step 8.) For “JRE home” select “Direcotry…”. This will open “Browse for folder” dialog. Select the location where your JDK is installed. NOTE: MAKE SURE THAT ITS x64 AS WELL, AS WE ARE USING 64-BIT VERSION OF ECLIPSE.
Step 9.) If you have selected proper location, it will show JDK version in JRE name and it will display “JRE system libraries”.
Step 10.) Click finish. Now your JDK is properly pointed as “Installed JREs”.
Step 11.) Select checkbox unchecked before name of your JDK name.
Click ok and you’re done. You are now using JDK as “Installed JREs”
Read complete procedure at below location.
https://softwaretestingboard.com/qna/4/how-do-i-map-android-sdk-after-eclipse-plugin-is-installed#axzz4wM3UEZtq
You can find the Android SDK path by running the SDK Manager. Once the window comes up the path is displayed at the top. For me it was hiding in AddData (Windows). You can then set the path in Eclipse by going Window > Preferences > Android > and set SDK Location.
If you already installed in your eclipse you can solve this problem below,
Go to Windows -> Install New Software and find your android plugin address
Check all lists and re-install your android plugin for eclipse
I solved it like this
It is very irritating problem... i found one simple solution...that is
eclipse->help->Install new software
now u see "work with"field...below this fields u observe on link called
"available software sites"...click on this link..then open one window...here u find out some location address..... delete wrong locations and then add perfect location to install/update location. then click on ok button... then ur problem is solved....
This problem seems to arise from new versions of android sdk the solution that worked fine for me was to go to help->check for updates and let that finish once all software in eclipse updated it all seems to work fine. I was using juno and the latest sdk, which I upgraded outside eclipse.
i was facing the same problem.
the solution is...Copy the link http://dl-ssl.google.com/android/eclipse/
then in eclipse go to
Help > Install New Software > Add(work with) > past the link on locations > ok > select all > next
this will solve your problem.
If you already setup location in preferences, but see that error, try to create folder "add-ons" in your sdk folder
had the same problem in windows, the reason is always displayed at the top of the window(where you browse for the location)
Here is, how I've handled this issue (Mac OS X 10.8.4):
1) Because I previously have installed Android Studio the sdk located here:
Applications/Android Studio.app/sdk
You can dig into Android Studio.app folder by hitting "Show package contents" in context menu
2) Simply copy the "sdk" folder to another location and write it down to Eclipse preferences.
Because I couldn't find how to properly add adress like "/Android Studio.app/sdk" (folder with .app extension) to Eclipse preferences.
I know that this solution is not smooth and best, but it works (at least for me). And I've tried all advices in this theme, and installed the ADT from http://dl-ssl.google.com/android/eclipse/ before, but the error window have kept appearing every time.
I had the same problem: when click on the "Opens the Android SDK Manager", a pop out error message says “Location of the Android SDK has not been setup in the preference”.
The delete and add again update address in "install new software" doesn't work for me.
I went to the ../android/android-sdk-windows and click the SDK Manager.exe. This works for me.
So I think after I updated the SDK, the eclipse cannot trigger the SDK Manager currently. But it can run by itself outside of eclipse.