Cannot find Support Package in Android SDK Manager - android

I need the Support Package jar file.
I opened the page http://developer.android.com/sdk/compatibility-library.html#Downloading and do as they said:
Launch the SDK and AVD Manager.
From Eclipse, you can select Window > Android SDK and AVD Manager.
Or, launch SDK Manager.exe from the / directory (on Windows
only) or android from the /tools/ directory.
Expand the Android Repository, check Android Support package and
click Install selected.
But my SDK manager is updated and there is no 'Android Repository' anymore and i cannot find Android Support Package.
Please give me any advice.

It's actually the Android Compatibility package. It's just a label error.

After installing API 16, I guess it's called as Android Support Library, and below is the path where the required library files are present:
C:\Program Files (x86)\Android\android-sdk-windows\android-compatibility\v*

Related

how can I download old packages( android 5.0) on sdk manager of Android studio 2.3.3

I am using eclipse all the time. I want to study android studio , and downloaded android studio and sdk. When I run the sdk manager , only android 7.0 was installed. The new sdk manager has a few differences. I don't know how to download android 5.0 packages?
Run sdk manager and you will see something like this:
You can check any android version you want here and by clicking apply and ok, it starts downloading.
If you don't want the whole package for each android version, you can click the show package detail checkbox on the button right of this window and see details of each package like below image:
Here you can check any subpackage you need and then click apply and ok.
It is also possible to copy and paste platforms, build-tools and other modules you need from your eclipse sdk to android studio sdk. Or set in your android studio preferences to use eclipse sdk.
You should launch the standalone SDK manager to have access to available packages.
Your SDK path is D:\Android\SDK.
Use explorer to open that directory then launch sdk manager.exe.
Now you have access to available packages.
It is also possible using android studio itself. check sdk tools and sdk update sites. Available packages can be found there too.

Android studio 2.3 canary missing 'Launch Standalone SDK Manager' option in 'SDK Manager'

I inadvertently accepted android studio's upgrade suggestion to 2.3 (canary), although I had always had it set to check for the developer channel, not canary, somehow that got switched. Now I no longer have a 'Launch Standalone SDK Manager' option in my 'SDK Manager' window.
I liked the standalone manager for various reasons, including that it suggested what needed to be downloaded and upgraded. The regular sdk manager lists a lot of things I expect I don't need like 'CMake', 'LLDB', 'Constraint Layout for Android', 'Solver for ConstraintLayout', 'Google Play APK Expansion Library' ('Google Play APK Expansion Library rev 3' is already installed, so do I need this too?), etc.
Is the standalone sdk manager unavailable for 2.3 canary 2, or is there something more I need to do to get it?
I also have updated to the Canary version 2.3 and I'm amazed that they took it away there.. but you can still start it via the SDK Manager.exe located in your sdk folder
C:\Users\You\AppData\Local\Android\sdk
Present:Today when i was trying to launch, the terminal says, The android command is no longer available.
For manual SDK and AVD management, please use Android Studio.
Past:
I also face the problem after updating to Canary version 2.3 on my mac.. On Mac or Linux, open a terminal and navigate to the tools/ directory in the location where the Android SDK is installed, then execute android sdk
or for only mac user go to folder located in
/Users/your mac account name/Library/Android/sdk/tools
and double click android to Launch Standalone SDK Manager
My Advice: Stop Searching for Launch Standalone SDK Manager and get use to be of android studio SDK manager and just choose the Show Package Details for more detailed description like Launch Standalone SDK Manager.
With the 2.3 Canary update, when using SDK Manager.exe or tools/android.bat, no manager is opened. However tools/android.bat give a pretty good answer to why it is not working:
The "android" command is no longer available.
For manual SDK and AVD management, please use Android Studio.
For command-line tools, use
tools\bin\sdkmanager.bat and tools\bin\avdmanager.bat
We can still use command-line tools, but no more standalone SDK manager.
Yes, "Launch Standalone SDK Manager" option in Android Studio V2.3 is not available, But you can still start it via SDK Manager.exe located in your sdk folder.
c:\Users\You_User_Account_Name\AppData\Local\Android\SDK Manager.exe
Enjoy Android Studio with new features.
I just received an official response from AOSP -
Project Member #1 uchid...#google.com
deprecated feature , please check latest stable version Android 2.3
The link is now gone, and it is intentional.
Yes the standalone sdk manager option is missing in Android Studio 2.3. Get yourself used to the sdk manager available in Android Studio settings.
Also if you are installing Android Studio from scratch, you will not be available to find Sdk Manager.exe from C:\Users\You\AppData\Local\Android\sdk or anywhere you install it.

adding API to android sdk

I have downloaded android APIs and I've copied one of them to this path
H:\Android\android-sdk\platforms\api
But again in SDK none of APIs wasn't installed.
THe sdk is what is suppose to be used to install the API you should not be copying it.
follow:
You can launch the SDK Manager in one of the following ways:
From Eclipse (with ADT), select Window > Android SDK Manager.
On Windows, double-click the SDK Manager.exe file at the root of the Android SDK directory.
On Mac or Linux, open a terminal and navigate to the tools/ directory in the Android SDK, then execute android sdk.
You can select which packages you want to download by toggling the checkboxes on the left, then click Install to install the selected packages.
The link below will give you more pointers.
http://developer.android.com/tools/help/sdk-manager.html
You need to use Android SDK Manager to download the APIs for Android. Check this:
http://developer.android.com/tools/help/sdk-manager.html

Android-Unable to add support library to a project

I am new to android apps. I am trying to add support library to a project. I have right clicked my 'project', then I had gone to 'android tools' and then 'add support library'.
I had checked other posts and have enabled android sdk manager to be run as a 'administrator'.
I had already through android sdk have installed android support library. Is it because of this reason, I am unable to add the support library to the project. If so if we install through android sdk once we need not install for individual projects.
[2013-09-08 15:52:32 - SDK Manager] URL not found: C:\Program Files (x86)\Android\android-sdk\temp\support_r18.zip (Access is denied)
Just run eclipse on administrator mode. This work to me.

How do you add an SDK to Android Studio?

I'm using Google's Android Studio 0.1 based on IntelliJ, and I cannot figure out how to add additional SDKs to my project.
I exported my existing project from Eclipse to a Gradle project, which I imported into Android Studio, as recommended by Google.
My project's SDK is Google APIs 2.3.3. However, I use a library called PullToRefresh which appears to need SDK 4.1, so I'm trying to add the SDK 16 to my project.
I've already made sure to download the SDK using the SDK manager. These SDKs are added to the Android Studio.app's sdk folder automatically.
I opened the Project Structure window, clicked "SDKs" under Platform Settings, and I currently see JDK 1.7 and Google APIs 2.3.3 shown. I click the + sign above that list to add a new SDK. I then navigate to the sdk directory that has android-16, as shown in the screenshot below. I am not quite sure what this wants me to add, but I've highlighted the android-16 folder (about the only thing I can select), and when I click "Choose," the window disappears, but no new SDK appears in the SDK list.
And here is a screenshot of my SDK Manager view, showing the installed SDKs:
I had opened a ticket also with Google's support, and received the solution. Instead of choosing the sdk/platform/android-16 folder, if you select the top-level "sdk" folder instead, you'll then be asked to choose which SDK you want to add. This worked!
You have to put your SDK's in a given directory or .app directory. You have to do it in finder while you are out of the application i'm assuming, but personally I'd use terminal in Mac instead of doing it in the App itself or finder. According to Google:
On Windows and Mac, the individual tools and other SDK packages are saved within the Android Studio application directory. To access the tools directly, use a terminal to navigate into the application and locate the sdk/ directory. For example:
Windows: \Users\<user>\AppData\Local\Android\android-studio\sdk\
Mac: /Applications/Android\ Studio.app/sdk/
You can change from the "build.gradle" file the line:
compileSdkVersion 18
to the sdk that you want to be used.
I had to restart Android Studio for changing the sdk after installing a new one. Then Android Studio asked me for configuring my SDK and let me do it.
And For linux(ubuntu)
/usr/share/android-studio/data/sdk
Download your sdk file, go to Android studio: File->New->Import Module
I followed almost the same instructions by #Mason G. Zhwiti , but had to instead navigate to this folder to find the SDK:
/Users/{my-username}/Library/Android/sdk
I'm using Android Studio v1.2.2 on Mac OS
For those starting with an existing IDEA installation (IDEA 15 in my case) to which they're adding the Android SDK (and not starting formally speaking with Android Studio), ...
Download (just) the SDK to your filesystem (somewhere convenient to you; it doesn't matter where).
When creating your first project and you get to the Project SDK: bit (or adding the Android SDK ahead of time as you wish), navigate (New) to the root of what you exploded into the filesystem as suggested by some of the other answers here.
At that point you'll get a tiny dialog to confirm with:
Java SDK: 1.7 (e.g.)
Build target: Android 6.0 (e.g.)
You can click OK whereupon you'll see what you did as an option in the Project SDK: drop-down, e.g.:
Android API 23 Platform (java version "1.7.0_67")

Categories

Resources