I have checked all these articles, and I still can't figure out why I can't find the Android Support Package/Library:
Cant' find Android Support package
Android Support package not present in SDK Manager
Can't find Support Package in Android SDK Manager
Cannot find Support Package in Android SDK Manager
This is what the Android SDK Manager is showing me:
I have tried clearing the cache and reloading, but this is what I get.
you just try to reload once again.
if it doesn't work for you use this link to download the support package manually
http://venomvendor.blogspot.in/2012/03/android-sdk-extras-by-google-inc.html
extract the zip and copy it to directory
android-sdk\extras\support
this works for me
you can also try using Android Package Deployer to download API level manually
http://siddharthbarman.com/sidstream/index.php?r=software/apd
Maybe you didn't select "Show Obsolete Packages" in your SDK Manager.
It's in "Packages". Select it and reload.
Related
I'm using Android Studio 1.5.1 and install every package needed using SDK Manager. I choose to use API 21 and install all the package under this API. But when I open a project, i get no preview but this.
File C:\Users\uyung\AppData\Local\Android\android-sdk\platforms\android-21\data\layoutlib.jar doesnt exist
Some people suggest to install another API package. But unfortunately I have limit storage at my partition. Any idea to make the preview work?
i delet my sdk platform and downlod it again. error fixed.
I'm using com.google.android.gms:play-services:7.5.0 which requires: support-v4:22.0.0. Ok no problem right? -- so I download it via SDK Manager:
Now, Android Studio still reports that it cannot find com.android.support:support-v4:22.0.0:
Could not find com.android.support:support-v4:22.0.0.
Searched in the following locations:
https://jcenter.bintray.com/com/android/support/support-v4/22.0.0/support-v4-22.0.0.pom
https://jcenter.bintray.com/com/android/support/support-v4/22.0.0/support-v4-22.0.0.aar
file:/C:/android-sdk/extras/android/m2repository/com/android/support/support-v4/22.0.0/support-v4-22.0.0.pom
file:/C:/android-sdk/extras/android/m2repository/com/android/support/support-v4/22.0.0/support-v4-22.0.0.aar
file:/C:/android-sdk/extras/google/m2repository/com/android/support/support-v4/22.0.0/support-v4-22.0.0.pom
file:/C:/android-sdk/extras/google/m2repository/com/android/support/support-v4/22.0.0/support-v4-22.0.0.aar
So then I go to the location ( C:/android-sdk/extras/google/m2repository/com/android/support ) to see for myself, and of course its not there. Now I know the download suceeded, so I search my drive for it. Turns out the SDK manager downloaded it to: C:\android-sdk\extras**android**\support\v4 instead. So I tried to import the jar file contained in that folder to my project but that did not work. How do I get around this?
The "Android Support Library" entry in the SDK Manager is primarily for Eclipse users. You are using Android Studio, so what matters is the "Android Support Repository", which you have not updated in the SDK Manager.
When I want to create new android Project, everything is OK but after the last step (about activity) eclipse said it has problem and said:
this template depends on the android Support library, which is either not install, or the template depends on a more recent version than the one you have installed.
link
required version 8
installed version: not installed
and If I use "upgrade/install" bottom, eclipse said :Android Compatibility JAR not found.
I found this solution on the net but I could not use it:
Steps:
Run your Android SDK Manager
Find Extras > support Library and delete that particular Library
Now Relaunch Android SDK MAnager
Download the Extras > support Library present
there is sth important: I am in Iran, because of the boycott, we couldn't download easily.
I use these tools:
Java.SE.Development.Kit.v7.0.Update.5.x86_p30download.com.exe
Eclipse:
Version: Juno Release
Build id: 20120614-1722
ADT-20.0.0
platform-tools_r13-windows.zip
android-2.3.3_r02-linux.zip
tools_r20-windows.zip
I think you are correct about the way to solve the problem - you need to download a package with SDK Manager.
I'd tried to upload my libraries, but not registered at any file-upload services. So I will recommend you to use some ananymizers or smth like Tor ( http://en.wikipedia.org/wiki/Tor ) and download all necessary libraries for development.
Good luck.
try update your ADT plugins (currently 20.0.3), go to Eclipse > Help > Check for Updates, not sure if this is the place in Linux
This happened to me too, but now solved by Right click on SDKManager.exe then run as administrator and download your required packages
according to : http://comments.gmane.org/gmane.comp.handhelds.android.devel/220558
I had a same problem so i used proxy.
in Eclipse go to :
windows-->preferences-->general-->network connections
And for SDK manager
In the Android SDK Manager go to :
Tools-->options-->enter your proxy
Now you can update your eclipse and sdk with no problem
I hope this work for you:)
I followed the android developer link to install sample package.
However, when I expand the package list of Android platform, there is no "Sample for SDK" option (checkbox) available. Why??
I have installed Android from version 2.3.3(API10) to 4.0.3(API 15), none of them contain the option for downloading sample package. Why?
Anyone has the same problem?
//you need to download it there is an option for that.
if it show already installed you need to go to the folder called <sdk>/samples/
Actually its not there in that folder <sdk>/platforms/<android-version>/samples/
You probably need to update the Tools packages.
Install the updates (may need to do this multiple times) to get the latest version. Then close the Sdk manager, reopen it and the sample package should be available!
Me too faced same problem.. I found solution here go to this link and download samples for all versions of sdk
http://www.hariadi.org/android/manual-download-of-android-sdk-components/
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.