I need to work with the android-support-v4, buy when i try to install it from SDK manager (support library), it does not show me the package, actually i wanted to install another API level, but i can not either, because the sdk manager does not show me any other API than the ones i have already installed. Here is an image of the SDK manager:
How can i show everything i need? (i already tryied with the obsolete option).
You're asking the wrong question.
Right-click on your project.
Select Android Tools > Add Support Libraries...
(a progress bar will appear, and voila it should download what you need)
By the way, you should really install the latest android-sdk update. From your screenshot, it doesn't look like you have yet.
click on "Packages" > "Show Obsolete Packages"
By "select android tools" you mean "select android sdk tools"? This one is not expandable, by the way. (at least not on my android sdk manager).
The "support library" does not appear in any of the other branches of the android sdk manager.
Is there any repository need to be added to the sdk manager in order to obtain the package?
I'm using MacOSX lepard and the latest sdk, and got the same screenshot as above.
With the new SDK Manager installed, you will find the "Android Support Library" under Extras (if sorted by API level) or under the repository "Google Inc" (if sorted by Repository).
I had exactly the same view as above, searched all over the Net, incl this post, and couldn't find anything. By the time I gave up, it suddenly showed in my listings. It seems that I had some network issues (possibly combined with latest version).
I too faced the same issue and figured out the below solution.
Tools -> Manage Add-on Sites -> Enable "Google Inc."
Related
I created a new project in Android Studio 0.8 in order to start integrating Android Wear into one of my apps. I create a new project and include the Wear form factor, but when I try to sync I get:
Error:Could not find any version that matches com.google.android.support:wearable:+.
Required by:
win_control:wear:unspecified
EDIT: I played around with Gradle a bit, and now I get these errors:
Error:Failed to find: com.google.android.gms:play-services-wearable:+
Open in Project Structure dialogOpen File
Error:Failed to find: com.google.android.support:wearable:+
Open in Project Structure dialogOpen File
Had the same problem. Open up your Android SDK manager, go to tools -> manage add on sites, and add your own repo:
https://dl-ssl.google.com/android/repository/addon-play-services-5.xml
I finally found these helpful guides. There are lots of broken links and bad info floating around, but these should work:
http://developer.android.com/preview/google-play-services-wear.html
then,
http://developer.android.com/training/wearables/apps/creating.html
Also, double check your android sdk manager to make sure you have all the latest updates, as well as the android support repository/libraries!
All the suggestion here at SO are now outdated.
What you should do is make sure "Google Repository" is checked and installed in the SDK manager.
If all of these didn't work for you, check out the instructions at https://code.google.com/p/android/issues/detail?id=72454
For me, I was simply missing Google Repository from the extras section in the sdk manager
If the SDK manager doesn't find any updates for you, it helped for me to wipe the m2repository folder under ~/.android/extras/google/.
You can manually add the update site by using your favorite text editor on ~/.android/repositories.cfg, it should look like this:
### User Sources for Android SDK Manager
#Wed Jul 02 10:15:39 EDT 2014
count=1
src00=https\://dl-ssl.google.com/android/repository/addon-play-services-5.xml
I found out that, as of Android Studio 0.8.1, the option "Manage Add-On Sites" is absent from the Tools menu. Just in case someone else can't find it either, here's how to get to it :
1/ Go to Tools > Android > SDK Manager.
2/ Then, once the SDK Manager is opened, in the top menu go to Tools > Manage Add-On Sites.
There you go, then you just apply what nickjm said (thanks for the tip btw, I was wondering what was going on with this error message !).
Adding the add on site did not work for me. In the android SDK, I simply opened up:
Tools->Options...->Enable Preview Tools (Check it)
Then it had an update for the wear stuff ... which I, of course, updated.
This allowed the library to be referenced by the IDE.
Today I installed API8 from the SDK manager, previously I only had been working with API14. After the SDK manager was done, and upon restarting ADT I got this error:
This android SDK requires Android Developer Toolkit version 21.1.0
and above. Current version is 21.0.1.2012-12-6-2-58.
So I click to find updates but I get "no updates found".
I did the following:
Used the SDK manager to re-install android SDK tools (rev 21.1).
Used the SDK manager to re-install API8 and API14.
Still no go :(
I had the same issue. Please try the following in eclipse
Help --> Install new software
Then choose "Android Developer Tools Update Site - http://dl-ssl.google.com/android/eclipse/" from the drop down list and update the ADT
IF THIS THROWS ERROR Like this
No repository found containing: osgi.bundle,com.android.ide.eclipse.adt,21.1.0.v201302060044-569685
Modify http: to https:
Sample : https://dl-ssl.google.com/android/eclipse/
And then update ADT. This method worked for me.
You get that issue when your eclipse ADT plugin version doesn't match your SDK tools version.
Have you tried updating the ADT plugin in eclipse?
Help -> Install New Software and then using the ADT update site should work.
If you get a No Respository Found error using this site, you should use the HTTPS version instead.
If you're still having trouble getting it to install, you can download the zip standalone and manually install it. You can find the latest zip and installation instructions at the ADT troubleshooting page.
If problem in "http".
1) Help --> "Install new software" --> "Available Software Sites"
2) Click on "Android Developer Tools Update Site"
3) Click "Edit"
4) Mofify "http" to "https"
5) Click "Ok" --> "Ok"
6) Try update again.
I tried all methods mentioned here, but still without success.
What finally helped was the tip from No repository found error in Installing ADT in eclipse Indigo:
Uncheck “Contact all update sites during install to find required software”
you Should Update your ADT to Latest Version by below way.
Eclipse--> Go to Help--> Install New Software --> Add--> Inside Add Repository
Write Name="ADT"(as you want) and
Location="https://dl-ssl.google.com/android/eclipse/" --> after
loading some times you will get Developer Tools & NDK Plugins-->
checked both if you want to install Use NDK as future Use or checked
only developer Tool--> click Next--> Finish.
After this you can Update your SDK to latest Version.
Hope it will Help.
Got this one too, going from ADT 22.3 to 23.
Not sure what's keeping Eclipse from finding the updates (maybe some IDs changed or something), but the solution is to install the ADT plugins over the existing ones using Help -> Install New Software, just select the same site, no need to correct the URL from https to http or vice versa. The wizard will tell you there are a bunch of conflicts that'll result in removing the old versions of the plugins -- that's ok, go for it.
UPD Seemingly, (as at least one person downvoted the answer), installing new version over old one forcefully doesn't work for everyone. Here's the related bug where it's said that the old installation of Exclipse/ADT is hopelessly unupdatable and one should just download the new bundle to resolve this.
PS Anyway, you should be using Android Studio by now. Compared to Eclipse, it's a memory hog and has a very different feel to it and different hotkeys, but (as much as I hate to say it having been a snuggled up Eclipse user for a long time) it's way better, at least for Android development.
Same issue here, but luckily it is resolved now. The help->install new software and the android tool manager didn't help.
I re-downloaded the ADT bundle and simply copied over the failing installation, it works now.
I had the very same problem last weekend. Go to Help->Install new Software. Here use Android Developer Tools Update Site url - http://dl-ssl.google.com/android/eclipse/, two options should appear and I can't remember which one to choose ;) (It should be the one with DEV)
I don't think it is necessary but before I removed and downloaded the whole Eclipse with ADT. But it should not be necessary.
I'm working at the moment at a simple app in eclipse for android. Just receiving and sending data, and using the camera API.
I've set the minSDKversion to 8, because I think that has the widest user base. But at the beginning of the project eclipse was asking me which target SDK version I would use, and because I had just one installed (the latest 4.0.3) I've took this.
Now I'm asking me if it wouldn't be wiser to install a lower SDK, like Android 2.2, because it would be not that big (compared to the 4.0.3) and my app would not have included all the fancy new features, which are not used in any way?! Or is this complete nonsense I'm talking here, and just should take my 4.0.3 SDK? When not, how can I install a lower version? Help -> SDK Manager is not showing old SDKs...
Here is a very helpful link that will probably answer your question: http://developer.android.com/sdk/installing/adding-packages.html
Basically, open up the Android SDK manager and it should give you a list of packages that you can install! From there you can choose old SDKs!
hey i faced the same issue as yours
usually while updating due to this error , it is unable to fetch the older SDKs
Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list.xml, reason: File not found
This is how you can fix it :
1) Go to Window > AndroidSDK Manager
2) select tools> options
3) set the proxy (if u r sitting behind proxy)
4) in checkboxes check Obsolete option (in Android SDK Manager)
5) go to Packages > reload (in Android SDK Manager)
This worked for me
In case you are using windows7 .
Go to Android SDK Manager location > right click > Run as Administrator
Best Regards,
Ashwani kumar
I was having a problem with this also. I tried all of the things listed in the other answers here and nothing worked. I went into Tools/Options (in the Android SDK Manager) and checked "Force https:// sources to be fetched using http://" and reloaded and the older APIs magically appeared.
if u want minSDKversion from its maxSDKversion
1.select maxSDKversion and delete all old pakages .
2. after doing it sdk manager will show all its older versions .
3. select required version and install all packages again.
:) :)
it worked for me .. just try .
I've been trying to create an application that uses Google Maps and upon getting an error for "MapActivity" I searched the web and found the solution was to make my build target "Google APIs".
However, I looked in the "Android SDK and AVD Manager" in Eclipse, I could find it anywhere :(
I looked under "Third part Add-ons">"Google Inc" but it simply says "No packages found".
Any help, please?
I encountered the same problem
Go here to manually download the Google APIs.
For example, I use GoogleAPI level 8, so I download the package here
After downloading just extract the zip file to "C:\Program Files (x86)\Android\android-sdk\add-ons" and rename the directory to "google_apis-8" instead of "google_apis-8_r02".
This happened to me.
The simple fix was to update currently installed packages, which in turn updated the SDK Manager app, then after restarting, every appeared including the USB drivers.
Apparently, if the SD Manager is outdated, then you won't be able to install important thing like the USB driver.
If you're using the latest version of the SDK (ADK 14), the Google API packages should be located in the folder containing the appropriate SDK level in the SDK manager.
For example, for Android 2.2, there should be a folder called "Android 2.2 (API 8)" which should contain the SDK "SDK Platform" and additional pieces such as the Google APIs "Google APIs by Google, Inc.".
I met the same problem and it said "access is denied".
I am using 64bit win7 and the sdk tools is installed under C:\Program Files (x86)\Android\android-sdk.
I figure out that it is because the SDK manager does not have permission to the folder so the quick fix is to right click SDK manager and run it as administrator.
I found that working with the Motorola Development studio made things very easy to pick up various API levels from Google. You can find all of the download and documentation at
developer.motorola.com
Sometimes Google Server is down or return 502 error, so you cannot find any manifest file. This happened to me. The solution is to wait for a couple of minutes.
Run as Administrator did the trick from me in Windows7. SDK mgr is showing all extra google apis too after this.
I faced the same problem.
Restarting the Eclipse & SDK manager solved the problem. After Restart, all the GOOGLE API and other stuff are visible under the respective Build.
If this dont show any change, Invoke the SDK Manager.exe as ADMINISTRATOR and this will solve the problem
Try clearing your cache (Tools > Options > Clear Cache), then
reloading (Packages > Reload), and see if that helps.
If it is an old package it is possible that it is obsolete and the SDK manager wont show it by default. Go to "Packages" Tab and select "Show Obsolete Packages".
Reinstalling SDK manager and ADT solved the problem.
I am new to android development.
Have tried a couple times downloading the Android SDK and ADT plugin for Eclipse
In the Android SDK and AVD manager load fine but will not load any available packages.
Show:
- Android Repository
--"Some packages were found but are not compatible updates"
In the installed it shows 1.5 to 2.3 SDK platforms.
How to I get them available.
Appreciate help.
Thanks,
Alex
You can use following step:
1. window ->
2. customize perspective ->
3. command group availability tab ->
4. on the check box android SDK and AVD manager check it ->
5. click on ok
I had the same issue. Googled arround found nothing, and gues what:
It was the a checkbox in the main Android SDK and AVD Manager.
Click: available packages
Then select: Android Repository
Then you see the "some packages were found but are not compatible updates" message, which is why you created this question.
On the bottom of the form, you can see: 4 buttons and 1 checkbox.
Make sure you Uncheck: "Display updates only" when it is unchecked, you see the whole SDK list with Android 3.2 etc.
Steps for installing Development Environment.
Download Android SDK and Install it.
Install Android API’s for different android versions. The latest version is Android 2.3.
Download and Install Eclipse Install ADT plugin.
Create AVD (Android Virtual Device) for testing the applications.
I think you did not linked your Android SDK folder with Eclipse ADT plugin. Goto Window->Preference->Android browse your Android SDK if you have installed ADT plugin.
There are many resources available online. Here is a blog post where you find some good links to resources which help you in installing Android Development Environment.
Getting Started with Android
If you still didn't able to do it. Let me know your specific problem, where you got struck.
I think there is already an answer that probably works for most people (unchecking the box), but since that did not work for this install I have on Linux Mint, this did work:
(not my website)
http://blog.netscribe.us/blog/post/Step-by-Step-Guide-on-How-to-Install-Android-SDK-Offline-%28not-completely-offline%29.aspx
Basically, download the zip for the package you want and extract it to /platforms/.