What packages are really required for Android Applications Development - android

I've a 40kb/s Internet. The Android SDK took me 1 and half hour to download(at first I thought it is packaged with all required packages). I am using Ubuntu 14.10(yea, it took me 11 hours to download).
I downloaded and installed Android SDK Tools, Android SDK Platform-tools and Android SDK Build-tools. In Android 5.0.1(API 21), I unticked both Android TV whatever System Image and both Android Wear whatever System Image because I am sure that I'm not going to use it.
My questions is what things are really required for Android applications development? Can anyone explain what are those packages for?
EDIT: I am not new to Java development. I have Java JDK 7, Eclipse(without the ADT plugin) and IntelliJ installed. I'm going to use IntelliJ as it is came with "Android Support" plugin)

Downloading this packages will be enough for you
SDK Platform in Android 5.0.1 (API 21)
Android SDK Tools 24.0.2 in Tools
Android SDK Platform Tools 21 in Tools
Android SDK Build-tools 21.1.2 in Tools

You need eclipse,adt bundle and android sdk tool that's it. No other thing is required for it.

Basically you need:
Eclipse IDE integrated with Android
Select Android version on which you're going to develop your application (Lolipop/KitKat etc) through SDk Manager
Java SDK (with JRE)

Related

Xamarin; Android 11.0 SDK is not available in Visual Studio; Target Framework

In a computer, I have installed Android 11.0 SDK for a Visual Studio 2019 Community installation and my Xamarin Android app is compiled correctly using this SDK. The SDK was installed automatically:
Then I installed Visual Studio 2019 Community in another computer to compile my app there. But it seems the Android 11.0 SDK is no longer available:
It is not installed automatically and I cannot find anywhere to install it manually. What's wrong and how can I install Android 11.0 SDK on Visual Studio?
After long searching and none of the solutions were working for me, i've found that the SDK can also be installed with the VS Installer.
The API level 30 (Android 11) was nowhere to be found to install, nor VS SDK Manager nor Android Studio SDK Manager (the AS SDK Manager didn't even work, could not load any SDK's)
(See screenshots)
Go to VS Installer -> Modify VS version
-> Go to tab 'Individual Components' -> Search for SDK API level 30 -> Select and install
After the first login you'll probably need to accept SDK licenses again as I had to.
Hope this helps anyone who, like me, did not find any other solution working
PS: I did update VS to its latest version before doing this, not sure if this is mandatory or not since I was on 16.10 before but if this doesn't work, try updating VS itself first.
As of now Android 11 is not officially supported in Visual Studio.
So you have two options:
Select to use unofficial repositories in that dialog
Wait for the version 16.9 where it is supposed to be supported.

How to change Android SDK Platform-Tools?

I have two Windows 10 machines with the latest Visual Studio 2017 (15.9.18) installed. But one of the machines has a different Android SDK Platform-Tools version in the Android SDK Manager:
One has 28.0.0 and the other one has 29.0.1. How can I get them on the same version?
Now I found a way to change the Android SDK Platform-Tools. You can download the versions from here:
https://dl.google.com/android/repository/platform-tools-latest-windows.zip
https://dl.google.com/android/repository/platform-tools_r29.0.1-windows.zip
https://dl.google.com/android/repository/platform-tools_r28.0.0-windows.zip
Then go to your Android SDK Location (for me it is C:\Users\some-user\AppData\Local\Android\android-sdk\platform-tools) and put the files from the archive in this directory. Make a backup first - just in case.
Don't know why you can't do this in the Android SDK manager (Android SDKs and Tools Version 1.2.192 (d15-9/9312139)) itself and why he doesn't offer an upgrade after initial installation of Xamarin.

Android SDK Tools

Where can I find information about all listed Android SDK Tools, what they mean and (maybe) how to use.
The best place to visit is Android Developers site.
Android SDK Tools is a component of the Android SDK. It includes the complete set of development and debugging tools for Android. It comes as a part of Android Studio. So if you install Android Studio, Android SDK tools will also get installed. You can also install it separately if you are using any other IDE like Eclipse for development.
Please refer the links below to get a better understanding of,
Android SDK Tools released so far.
Android SDK Platform Tools
Android SDK Build Tools
Android Support Library Packages
Android SDK Platform-Tools is a component for the Android SDK. It includes tools that interface with the Android platform, such as adb, fastboot, and systrace. These tools are required for Android app development. They're also needed if you want to unlock your device bootloader and flash it with a new system image.
Although some new features in these tools are available only for recent versions of Android, the tools are backward compatible, so you need only one version of the SDK Platform-Tools.
Check it:
https://developer.android.com/studio/releases/platform-tools
I hope It helps!

Having problems downloading Android Development Tools for Eclipse 4.1.0

I tried to download the Development tools for the Android SDK last night and have been getting this error every time I try to download it ever since:
Cannot complete the install because one or more required items could
not be found. Software being installed: Android Development Tools
16.0.1.v201112150204-238534 (com.android.ide.eclipse.adt.feature.group 16.0.1.v201112150204-238534)
I've tried running Eclipse as an administrator, downloading the Google Plugin for Eclipse Galileo, and many assortment of things, but nothing seems to work. Is there a Google plugin for 4.1.0, would I have to reinstall an earlier version of Eclipse, or am I missing something else entirely?
NB: I've been using Windows 7 64-bit Eclipse 4.1.0, as well as the 64-bit version of JDK 1.7.
android sdk dosen't support JDK 1.7, use 1.6.
you should use Eclipse 3.7. Eclipse 4.* is a work in progress and shouldn't be used in production environments yet.
You did not mention anything about the Android Development Tool (ADT) which is required to develop Android apps.
You can get it from here, http://developer.android.com/sdk/eclipse-adt.html
You will need Android SDK r16
Does my answer to this question help?
Also note that there have been some documented bugs with running Eclipse in JDK 1.7 - make sure you have the very latest updates to JDK or use 1.6 instead.

is it necessary to keep older versions of Android SDK installed with Android SDK Manager?

In the Android DSK Manager under "Installed Packages", I see things like:
SDK Platform Android 3.2
SDK Platform Android 3.1
SDK Platform Android 3.0
SDK Platform Android 2.3
SDK Platform Android 2.2
SDK Platform Android 2.1
SDK Platform Android 1.6
SDK Platform Android 1.5
Is it necessary to keep the older SDKs, if I am programming with the latest SDK?
No. You dont need older packages if you are sure about developing with latest packages.
You dont need to keep those packages which your application is not using. Generally you should keep those versions installed which your application is going to use. Like your application may use version from 8 to 10. So no need to keep lower than 8. So that depends on your application which version it will use.
Its too late but I would like to share my experience.
Yes, if you are using Instant Run and using SDK 21 or higher then you should keep SDK Platforms.
For Example, if have deleted the SDK Platform 22 and testing on Android 5.1 device or emulator then Android Studio will ask you to install SDK Platform if you want to use instant run else instant run will not work.

Categories

Resources