I have downloaded and unzipped the file android-sdk_r15-windows.zip from the
URL http://developer.android.com/sdk/index.html, however the install instructions
I have installed the SDK and the ADT plugin for eclipse as described with no hitches, however when I go to create a new AVD using the AVD Manager.exe that came with the install archive there are no targets. This seems to be because i haven't installed any platforms into my system. This is where the question comes. All the install instructions and tutorials refer to executables, 1) SDK setup.exe and 2) Android SDK and AVD Manager, neither of these applications came with the install zip described above. There are however 2 files SDK Manager.exe and AVD Manager.exe. So without the tools described ongline it seems impossible to install the platforms into the SDK, does anyone know where these tools went or how to install platforms into my system using the SDK Manager or AVD Manager
[Edit]
Here is an image of what I am describing,
In the root of the sdk zip file, there is an SDK Manager executable. If you run that, you can use it to select which platforms you want to download and install. Don't forget to install the platform-tools package as well.
The image below shows the available package screen within the manager:
I was also facing the same problem.
I have followed following steps.
Uninstall above installation from Eclips
Follow steps as described into the link: http://sochinda.wordpress.com/2011/04/28/step-by-step-guide-on-how-to-install-android-sdk-offline-not-completely-offline/#comment-428
Related
Below error displays during installation:
Done loading packages.
Preparing to install archives
Downloading Android SDK Platform-tools, revision 26.0.2
Download interrupted: Connection to https://dl.google.com refused
Done. Nothing was installed.
Preparing to install archives
Downloading Android SDK Platform-tools, revision 26.0.2
Download finished with wrong checksum. Expected 98832431e339c82be1fe910a733a3782071200fd, got aa3ef6f18eff4b8f12dbdf980647a6ce6c2ebe8c.
Done. Nothing was installed.
I had to install it by myself.
Download link:
https://developer.android.com/studio/releases/platform-tools.html
Select the zip file SDK Platform-Tools for Windows and extract it.
Move it into your android directory, in my case it was: C:\Users\Public\Documents\Embarcadero\Studio\19.0\CatalogRepository\AndroidSDK-2433_19.0.27659.1188.
Now you have the new directory: C:\Users\Public\Documents\Embarcadero\Studio\19.0\CatalogRepository\AndroidSDK-2433_19.0.27659.1188\platform-tools.
Run SDK Manager.exe again.
In my case, the error was gone. I had to install 4 packages first and then I had to install 3 packages after that. Now it run perfect.
You can just extract the archive the SDK Manager already downloaded:
Go to your android-sdk directory
Enter the 'temp' folder
Extract the 'platform-tools_r26.0.2-windows.zip' to the android-sdk root directory
But this makes the checksum pointless, it might be better to wait until it is fixed unless you need the new version now.
I resolved this by first removing the Android SDK Platform-tools using the Android SDK Manager. Then I used the direct download link provided by Umair Malhi above (https://dl.google.com/android/repository/platform-tools_r26.0.2-windows.zip) then extracted the platform-tools folder into the SDK folder (which in my case is C:\ProgramData\Microsoft\AndroidSDK\25). If you rerun Android SDK Manager, the issue is resolved.
I had the same issue, after running Visual Studio as an Administrator then the updates went through successfully.
EDIT: Newer versions of VS now prompts you to run VS in Administrator mode when you click on Android SDK Platform Tools.
I had the same checksum issue, until I just updated to Android Studio 3.0. Now the Android SDK Platform-tools 26.0.2 downloads and installs as expected. Not sure if the issue still exists for Android Studio 2.x or it was fixed separately, but it's worth trying again now.
In my case all I needed to do was run Android Studio as administrator and the the packages installed with no problem.
I have the same problem, in my case I hadn't write rules to platform-tools folder. So I gave me write rules with the command:
sudo chmod -R ugo+rw
I tried to reinstall Android Studio on Ubuntu and seems not to get to download the Sdk this time.
Go to Android Studio download page and go to Get just the command line tools section and download the SDK tools for Linux
Then after download is done, launch the SDK manger and install the needed packages.
Then finally, Open Android studio and change the SDK path to your new path, see attached screenshot for this step
I need to install some packages in Android SDK Manager, but in my SDK folder there isn't the .exe file (There is only the AVD Manager and the folders).
How can I find it? My SDK works normally with Android Studio, without problems, it's strange that SDK Manager.exe isn't there.
I had to install an older version
https://dl.google.com/android/installer_r24.4.1-windows.exe
and update it. Going from there worked
To open the SDK Manager from Android Studio, click Tools > Android > SDK Manager or click SDK Manager in the toolbar. If you're not using Android Studio, you can download tools using the sdkmanager command-line tool.
Check this link: https://developer.android.com/studio/intro/update.html#sdk-manager
I found C:\NVPACK\android-sdk-windows\tools\android.bat
When I ran it, it brought up SDK Manager.
Which was nice, because I couldn't find SDK Manager in the C:\NVPACK\android-sdk-windows\lib folder like I was told it would be there.
You can find Android SDK Manager.exe file in the following folder:
C:\Users[account]\AppData\Local\Android\sdk (sdk1 in my case)
You can tap on that and you will get the Android SDK Manager screen.
Go to android_sdk/tools/bin/ open cmd and type sdkmanager and hit enter you can use command prompt for it
You can find sdk manager under command-line tools, which you will have to download by clicking the configure drop-down link under the android studio start-up wizard.
C:\Users[account]\AppData\Local\Android\sdk\cmdline-tools\latest\bin
C:\Users[account]\AppData\Local\Android\sdk\cmdline-tools\latest\bin
I had trouble running from here because I didn't have the right permission. I was trying to update my SDK. I got it running from another folder on my system with the command line command:
"C:/Program Files (x86)/Android/android-sdk/cmdline-tools/7.0/bin/sdkmanager.bat" --update --sdk_root="C:/Program Files (x86)/Android/android-sdk/cmdline-tools"
On Visual Studio 2022 you can look under Tools/Android/Android SDK Manager
I am trying to install android studio 0.8.14 from this page.
I download the zip file and unzip it into a directory and the run studio.exe ( as explained in documentation on web site)
but when I run studio.exe, I found that android sdk was not installed.
what is the correct procedures to install android studio on windows?
Go to this link https://developer.android.com/sdk/index.html?hl=i, and look to the section called "GET THE SDK FOR AN EXISTING IDE", download that to a known location and then use that folder when android studio asks you to point to sdk location
Download the SDK from here.
This link can be found on Android SDK | Android Developers.
after downloading the sdk , open studio64.exe ->configure->project default->project structure-> set android SDK location to that of standalone sdk installation directory [by default its "C:\Program Files (x86)\Android\android-sdk"].
note- start sdk manager as administrator. else it wont do anything
I am following
https://developers.facebook.com/docs/android/getting-started/facebook-sdk-for-android/
And I am at step 2:
Secondly, locate the adb tool in the platform-tools directory of your main Android SDK. On OS X, you will have chosen this location when you unzipped the Android SDK. On Windows, the SDK is installed into your home directory, under AppData\Local\Android\android-sdk
A lot of that language is really unclear and I am not sure what is meant by it, but on windows 7 if I system search I find no adb or platform-tools and I can't find it in android SDK either. Where is this tool and why can't I find it? I have eclipse adt installed and an emulator of a phone running but I can't find this step.
It should be in the directory you installed ADT to (the Android Developer Tools). There should be 2 folders in that folder, Eclipse and SDK. In SDK, there should be platform-tools, and in there should be adb.exe.
Edit: If you have an actual Android device (not the emulator) that you're testing your app on, you don't need to complete Step 2. You can just install the Facebook app via Google Play. If you're using an emulator to test your app, you still need to complete this step.