Android SDK installation (adt-bundle-windows-x86_64-20131030) - android

I have Win7-64 laptop, installed JDK, Eclise is working. I am failing to install the Android SDK. I downloaded 'adt-bundle-windows-x86_64-20131030' from developer.android. When I used SDK Manager, i could select required installation components and it shows as complete. However, I dont see anything in the 'All Programs'. I also dont see any plugin (that I was supposed to see) in the Eclipse as well. So I gather I am missing some step. Can anyone help. Pl see![][1]

Your downloaded sdk files may not shown in All Programs as they are not executable nor meaningless to be clickable.
Sometimes many folks got a problem to point out exact SDK path, so more than one SDK binaries are downloaded. I think your eclipse cannot find sdk path properly.
To find out where the SDK path is, it displays in SDK Manager.
Then, you can set the path in Eclipse Eclipse->Window->Preferences-> select Android from left hand menu. Check SDK Location has same path; see screenshot.
FYI, as downloaded files are just a bunch of binaries used only for Android development, you can copy the whole android-sdk folder to other place.
I personally recommend to change the directory to C:\Android or C:\User\<me>\Documents\Android-sdk as default directory is in C:\Users\<me>\AppData\Local hidden folder.

The ADT bundle includes an Eclipse executable fully configured with the Android SDK tools. It does not add a plugin to an existing Eclipse install. To launch ADT/Eclipse goto . Search for eclipse.exe within that directory. This is the executable you need to launch.
On my Mac, the Eclipse executable is in /Applications/adt-bundle-mac-x86_64/eclipse/Eclipse.app/Contents/MacOS/eclipse. Just a guess, but on Windows, the path will probably look something like adt-bundle-windows-x86/eclipse/Eclipse.app/Contents/windows/eclipse.exe

I would personally suggest to use Android Studio 2.1 for easy install of plugins as whenever there is an update to any platform tools or build tools they are readily available and the dependency injection is far better with the build tools such as Gradle which are bundled with the Android Studio .
Android Studio

Android adt is plugin to use Android SDK in Eclipse IDE. You have SDK you have Eclipse now you need to install adt plugin in eclipse to use your SDK.
You can refer Android developers for plugin installation
https://stuff.mit.edu/afs/sipb/project/android/docs/sdk/installing/installing-adt.html#Download
For "I dont see anything in the 'All Programs' I also dont see any plugin" part you will not see any extra program installed in your system as adt is extension of eclipse. When you will have adt in place you should be able to see Android option in eclipse preferences. You should also be see Android APplication option while creating new project.

Related

How do I install the standalone Android SDK and then add it to IntelliJ IDEA on Windows?

This is the webpage showing from where I downloaded the SDK:
On extracting the .zip folder, and opening the 'tools' folder, all I can see in an emulator.exe, mksdcard.exe and a host of .bat files (as shown below).
How do I proceed?
In IntelliJ IDEA 2017.1 and 2017.2 setting up Android SDK from scratch is complicated. I would recommended to install Android Studio and manage SDK platform there. This problem will be addressed in one of the nearest updates.
If you are brave enough, it's still possible to set it up without Android Studio using the tools\bin\sdkmanager.bat command line tool. GUI version of the SDK Manager is deprecated (no longer available in the SDK download). Standalone SDK can be downloaded here. Look below the Get just the command line tools section.
So, you will need to install at least one platform version.
First run the update to ensure you have the latest tools:
sdkmanager --update
Now you can list the packages available for installation:
sdkmanager --list
To install Android Platform: (Edit April 2022: need quotes now)
sdkmanager "platforms;android-26"
To install the current build tools version (optional):
sdkmanager "build-tools;26.0.0"
At this point you should be able to add Android SDK configuration for the installed platform version in IntelliJ IDEA like this:
You will also have access to Android SDK configuration UI where you download additional components and perform updates (just like in Android Studio):
As Karan Sharma mentioned in this post.
To add an existing SDK, you should close your project if you have any open one.
Then from the Welcome page select Configure -> Project Defaults -> Project Structure
And then from the Default Project Structure window and from the left side, select SDKs and then the plus button from the toolbar, and from the menu select Android SDK
And then give the address to the location where your Android SDK files are in, and hit OK.
Thats it!
Now it should be working for you!
You can also install the SDK in the IDEA GUI. It says in the tutorial,
If you don't have the Android SDK configured, IntelliJ IDEA will
detect this and prompt you to download it:
launch android executable and install the platforms and build-tools.

Android sdk for Intellij IDEA

I'm trying to setup IntelliJ IDEA to develop android applications and I faced an issue with android sdk. As far as I know, I need to download the sdk separately. But I all I managed to find was Android command line tools which is obviously not something I need. So my question how can I get android sdk for IntelliJ IDEA?
You can install whichever android SDK or API from Intellij. I have the 2018.1 version but I hope this works in earlier versions too. You can find the options to install the SDKs here:
Same problem I have with IDEA 2017.1.1. I installed tools_r25.2.3-windows.zip and managed to install them.
I've done:
unzipped it to C:\Android\android_sdk\
renamed "tools" folder to "tools-sdk"
executed
C:\Android\android_sdk\tools_inst\bin>sdkmanager --update
prepared file my_file with lines:
build-tools;24.0.0
platforms;android-24
tools
emulator
Executed:
C:\Android\android_sdk\tools_inst\bin>sdkmanager --package_file=my_file
Then gave IntelliJ IDEA folder C:\Android\android_sdk as Android SDK Home Folder.
Then IDEA asks to install something additional. The test android project compiles and runs on emulation (AVD Manager works). I had to install 22 Platform and Build Tools though because android-24 virtual device asked for a password.
The only problem is I still have no SDK Manager with GUI interface.
First of all make sure you'be setup JDK properly. If not, you can download it from here.
Now go to Android Developer official site and download Android Studio.
If you are already done with above mentioned points the few point you might be missing.
When asked to choose the JDK (not SDK) you need to choose the Java JDK which you've installed earlier. Should be under C:\Program Files\Java\jdk{version}
Choose a New platform ( if there's not one selected ) , the SDK platform is the android platform at C:\Program Files\Android\android-sdk-windows.
Please let me know if it didn't help.
Reference:
https://www.jetbrains.com/help/idea/2017.1/getting-started-with-android-development.html
I had the same issue. I tried downloading sdk via android eclipse setup process. Eclipse automatically downloads the sdk. This sdk has a gui sdkmanager and can be used in idea as well. Here is the link to download eclipse.
(Android Studio installed on my computer.)
As i see users missed a point while installing android SDK.
You should show the Android SDK at AppData folder to IntellijIdea.
C:\Users\Your_Username\AppData\Local\Android\SDK_Folder.
References: https://www.jetbrains.com/help/idea/prerequisites-for-android-development.html
https://www.jetbrains.com/help/img/idea/2017.2/AndroidSDKManager.png
You can download the android SDK from this link here. I hope it should be helpful that link.

Sdk Manager not opening from eclipse

SDK Manager is not opening from eclipse. An initialization screen comes but the SDK Manager doesn't open. I have tried renaming android.bat file but that doesnt work. Re-installing has also been tried.
The possible reason for this to happen is you might have installed the plugin in a wrong way or the destination of the file might have changed by some means.
Make sure these 2 are correct on the 1st place.
If you are confident about these 2 are proper. Make sure the actual SDK_Manager.exe runs directly from its folder destination if double clicked.
which will be present in your android SDK path--->\Android\android-sdk\SDK Manager.exe
Open android.bat in sdk/tools folder by right click on it and click edit
find the line-
set java_exe=
edit it to your path to java.exe like
set java_exe=C:\Program Files\Java\jre7\bin\java.exe
then delete the next line which is
call lib\find_java.bat
This one worked for me......
Check out this link......
After 2 days of frustration not getting solution to launch SDK Manager manually and in Eclipse. Finally, I figured out the solution and whatever solution available elsewhere is not correct on recent development. Thought of adding this info of Android SDK for new to mobile testing enthusiast:
Android encourages users to use Android IDE, so you don't find Android ADT bundle zip file in the site. You may need to download from untrusted source if you want to configure SDK to Eclipse manually.
Solution:
Download JDK, install it, set environment variables for JDK and JRE in your system. (if not sure, please see videos of how to install JDK)
Download Eclipse, unzip it and launch Eclipse
In Eclipse, Go to Windows and click Install new software
Enter this url in work-with: https://dl-ssl.google.com/android/eclipse/ and press Enter
Select Developer Tools checkbox and click Next and finish
Click Ok for permission in popup
Click OK to restart Eclipse
Click Cancel in setting SDK in preferences
Parallely, Android Installation Tool windows opens up, click next
Select automatically downloading Android SDK tools and api versions
It downloads all required tool, it restarts the eclipse, sets preferences,
Now you can launch SDK Manager from Eclipse or go to SDK tools folder and launch Android in tools folder.
The reason of this is using newer version of android sdk tools.
Eclipse supports sdk tools version 25.2.5 and build-tools version 25.0.3. The reason is google has removed some optional/deprecated tools from sdk tools in release 25.3.0. But eclipse needs them to work with android projects. So the thing you can do is delete tools folder from your sdk and download eclipse supported version
Android SDK Tools:
https://dl-ssl.google.com/android/repository/tools_r25.2.5-windows.zip
https://dl-ssl.google.com/android/repository/tools_r25.2.5-linux.zip
https://dl.google.com/android/repository/tools_r25.2.5-macosx.zip
Extract them in your sdk installation directory.
You can now access to SDK manager by using the android command, which is located in tools directory of your sdk. You can also do this from eclipse.
Note that Eclipse supports build-tools version 25.0.3 and older, so you will have to download them. For other tools you can select latest version. They are supported by eclipse.

cant find android sdk build-tools

When i create a new android application project in eclipse the gen - file is empty.
I found out I have to install android sdk build-tools but in the tools folder there's just the Android SDK tools and the android platform tools.
It's revision 22
You need to start the SDK Manager and download the build-tools from there.
You'll need to update the ADT (Android Development Tools) in Eclipse to the newest version first (see this post for more info on how to do this). What also worked for me was to get the Android API and all the extras updated before I could update the build-tools.
May be you can use ADT bundle (http://developer.android.com/sdk/index.html) and avoid the manual installing of SDK and eclipse plugins. All you need to do is to download it, unzip it and start using eclipse to create your apps.
I had the same concern.
You may be looking in the wrong sdk folder.
I had two on my machine. One from before I started using the ADT Bundle. when you open Eclipse sometimes it opens the SDK manager for the wrong SDK. Open it manually from the bundle you downloaded.
Hope this helps.
I hope that this will help you and others. I had downloaded the "build tools" myself and placed in "Android home". I even used some of the tools several times but could not link them to other tools listed under sdkmanager. After much searching, I found that;
deleting the old tools that I installed manually, and
re-installing the same package version of the tools using the sdkmanager
helped me. After this the tools showed up under the list of packages in the sdkmanager. I had not noticed that my "build tools" were not listed on sdkmanager before as I had installed them myself and barely used the manager.
If you don't want to go through this (reinstall) hassle, I noticed that the only difference between the auto install and manual is that sdkmanager kept the package version directory structure for the "build tools". For example, if you download version 4.0.5, then it will be in
<ANDROID-HOME>/build-tools/4.0.5/
whereas I had done away with this to keep the file path shorter. After this, all should be fine.
Note: this is like learning that white space matters in some languages and not others. You just have to follow the thing's rules. Also question is a duplicate of this one.

From where to download pure Android SDK without ADT?

I am googling like a mad but I am unable to find out from where I should download basic Android SDK zip (tar.gz).
I was used to download that zip, extract it and that's it. Now all what is offered to me is some weird Android ADT "bundle" which goes with some Eclipse x.y.z I am not totally interested into. I just need pure android-sdk with all these binaries for creating emulators and stuff from the command line. I do not want any bundled IDE. Right now, what I get in one zip is:
Eclipse + ADT plugin <-- I do not want this at all
Android SDK Tools
Android Platform-tools
The latest Android platform
The latest Android system image for the emulator
Go to this site and click on Using an existing IDE. There is the Android SDK.

Categories

Resources