Android Support package not present in SDK Manager - android

There is no android support package in my SDK manager, as shown:
And whenever I try to create an android application project I am presented with this screen at the end:
If I click install/upgrade this appears:
And it installs and everything, but nothing happens and it stays on the same screen as before. Clicking check again doesn't do anything either.
How can I get this to work?

For some weird reason android-sdk decided to install everything in /extras/compatibility instead of /extras/support which eclipse recognises, so I renamed /extras/compatibility to
/extras/support and now everything works fine.

Find your SDK directory, navigate to /extras/android/, in this folder you will see a folder named "compatibility", rename this folder to "support". Re-open Eclipse, create new Android Application Project, the process will complete without this problem occurring again!

Related

Application updates in emulator from Eclipse

In Eclipse, when I modify my Android application and I launch it in the emulator, Eclipse first asks me if I want to save the modified files and I answer "yes". So far, everything seems normal.
The problem is that, in the console window, Eclipse says : "Application already deployed. No need to reinstall.". And the application is not updated in the emulator.
Any idea of a reason which could explain this behaviour?
I can add that the "Build automatically" option is set.
After some more investigations, despite the "Build automatically" option set, I'm not sure the build is executed. How can I check if a new "apk" file has been created?
The problem seems to be much bigger : when I create with the wizard a brand new Android application, in the error window, Eclipse displays the following error : "failed to load properties files for project". The resource file (R) is not generated and, in the marker window, I have one error for each line of code containing a reference to the resource file.
With a complete re-installation of both Eclipse and the Android SDK manager, the problem seems to be solved.
Try re-installing the app.
Also, always exit the app in the emulator before updating it. It should work by itself, but it can be weird sometimes.
Just uninstall the application in your emulator and red-deploy it.

Not able to create Android Project in Eclipse

I'm not able to create a new android project in eclipse.
Whenever I try to create one & reach last screen of the wizard & hit finish button, a empty project (just folder structure) project with the same name gets created in navigator window but the wizard does not go away.
It still has that finish button & nothing happens on clicking it again.
The project created in navigator should have at-least few files for me to start working on it.
Any help?
I'm using eclipse indigo on ubuntu 12.04
try to Use Following Suggestion i'm Not Sure But Might Help you.
1 ) Just go with default launcher image (blue smiley) instead of customizing it and it should work.
2) If you have installed support library>8 Still get the error msg
-->Delete the support library from the SDK manager
-->Create a new project & install the support library by clicking on "Install / Upgrade"
also Check this answer for More Information.
Hope it will Some How Help you.
This might happen due to improper instalation..Can you specify what the message/error, it showing when you click finish on your project creation..?
else try to install eclipse again in someother location..
Installation steps-click here
Fwiw, I had this problem and I ended up reinstalling eclipse and the sdk, but I instead of installing them separately, I installed bundle:
http://developer.android.com/sdk/installing/bundle.html
and I don't get have this problem anymore.

Eclipse cannot find Android Support Library

I am an experienced programmer but new to Android, hence using Eclipse for the first time.
Unfortunately I cannot get my first project off the ground. I get as far trying to create the project when the following sequence happens.
A screen arrives titled 'Install Dependencies' telling me that the required version is 8 and the installed version is 'Not installed'
I click on the Install/Upgrade button and something must happen because Android SDK Manager pops up and I get a whole series of 'Fetching:' messages.
The next screen asks me to Choose Package to Install and the only option is Android Support Library, revision 10. This doesn't bother me as I presume 10 is better than 8 so I hit the Install button.
This is where it all goes wrong as I get a red message saying:-
File not found:C:\Program Files (X86)\Android\android-sdk\temp\support_r10.zip (Acces is denied).
Sure enough, when I check this folder, it is empty.
Now, something must have happened as as SDK Manager did a whole lot of fetching and must have put these files somewhere.
I am quite happy to find them and put them in the correct folder but the question is
What is the name of the files that I am looking for?
Run SDK Manager as administrator and then install Android Support Library from Extras
Download the sdk manager seperately and install files from there. put it in a place which is accessible to you and then point your eclipse android directory to it. tools>options>android sdk
Run eclipse as Administrator. This is the solution.
Try running your application (Eclipse) in Admin Mode.
Right click on the Eclipse app, and choose "Run as Administrator"
This will fix your problem.
properties >java build path >click library tab > add jars > add jars from the support library.

Not able to create new Project with ADT version 20

I have recently updated my ADT and it is now ADT_V20. I have also updated my SDK platform tools as well. But I am not able to create new Project through Project wizard from Eclipse.
I have Eclipse Helios latest version. and It was working well with old ADT versions.
In the project wizard I have reached upto Install Dependencies screen, where "Next" and "Finish" buttons are disabled. I have tried to "Install/Upgrade" new version as shown in the wizard and that process is completed successfully . Still I am not getting "Next" or "Finish" buttons enabled.
This same thing happens on the other PCs as well.
Could anybody please help me ?
Thanks
Looks like you can get around this issue by uninstalling the Support library from the SDK manager, then reinstalling at the prompt in the wizard. I had the same problem you did, and this solution worked for me.
Source: http://code.google.com/p/android/issues/detail?id=33859
In the new Android Project Wizard on the second screen where is says "Select whether to create an activity, and if so, what kind of activity"
Simple un-check the Create Activity, A new Blank Activity will be enabled to be created. -
Click Finish.
They might push a fix for the issue you have highlighted soon.
I have come across some more issues related to Ant build.xml not able to find "com.android.ant.NewSetupTask" due to this upgrade to ADT20
After installing ADT version 20, I have this problem creating a 1.6/API 8 project now that the newer (version 20) SDK is installed.
Would one of the experts try creating this even WITHOUT the 'activity' please?
I cannot complete with the blank activity checked (due to the missing API 8, which tries to install the already installed API 9 when asked to update), NOR can I complete with NO activity selected.
In the latter case, i.e., uncheck the create Activity box, the Finish button appears, creates the project partially, but not one that will build (as the older versions would do even with an old API.
Also, there is no actual indication that the "Finish" has worked -- you must look over in the browse pane to see the new project even though the dialog remains.
If any of the above did n't solved your problem please do one thing, try DELETING org.apache.log4j_1.2.17.jar from eclipse/plugin directory !!!!
In MACOSX, with Eclipse Helios IDE, this solution didn't work for me. I solved the problem uninstalling the components by the SDK tools and installing them again by the same SDK manager. I tried to reinstall the components by the same new project dialog, but didn't work for me, my only solution was that, uninstalling and reinstalling from sdk manager.
I hope this solution works for you :)
My solution is that I found out that Android Support Library was not installed on my computer (I didn't even have an Android folder under extras/. I ran the SDK Manager as Administrator, selected this and installed it. Then I tried creating a new project and I got the same error. I clicked Install/Upgrade and the Finish button became enabled. The next time I created a new project, I didn't get this error.
In my case the app had been created, but I didn't see it as it was completely obsqured by the welcome splash screen. When I didn't see it, I tried to create the app again, and it was failing to finish silently. Only when I ventured to close the splash screen did all become clear.

Not able to create new android project in android

eclipse is working fine with importing a project which already exist. But i am facing problem while am creating a new project in the android.
And then am trying to change the path in the properties of the project which i have created then it is showing some kind of error and screen shot of it is
Can any one help me in this.
Assuming your d: drive is an actual hard drive you have the android-sdk in, and not some DVD/CD drive you tried installing the android-sdk from.
You should click on your new android project folder, right-click and click on "close unrelated projects", then the right files will get generated correctly (re-initiate a manual rebuild if you have to).
The problem was that Eclipse was trying to rebuild all the projects you had in your workspace, a number of which already contained errors in them. Not only those other projects were clogging up your error log, but when an error is detected by the packager/builder, the building process gets stopped entirely.
Now just in case this wasn't your only problem, do Help > Check updates
After that, click on the menu Window > AVD Manager and something
and make sure that you have the latest SDKs and AVD updates already installed.
Also be aware that Pulsar is not the recommended version of Eclipse for doing Android development, although this probably wasn't what was causing your problem.

Categories

Resources