I am confused about how SDK platforms work in android studio.
I have only a few SDK platforms installed, yet i am able to run my app for MeMu android 4.4.4 emulator.
When creating the project i set min version to android 4, i assume that's why it can run on android 4+. but then what are these SDK platforms and what will be missed if i dont have them installed?
Those are different versions of the SDK released for the different versions of the platform. Generally you just install the latest and use that for a new project. However not all projects jump right on updating it, so if you're working on a pre-existing app you may need to download whatever version they were using at the time.
Related
I have downloaded some projects of android apk to learn from it ..
i try to open it using the latest version of android studio (2.2.3) , but it's take too long time and then stop ,I looked for a solution to this problem and found that these applications were built on previous versions of the sdk So to solve this problem, I should use an earlier version of Android Studio, so I want to know what is the Android studio version which have Android 5.1 (API level 22).
You can have a single installation of Android Studio and all the SDKs you want to use (partially or fully installed)
You have to download the sdk via sdk manager download the latest sdk
I am learning about android.
I have downloaded Eclipse and Adt .
Now I have to download Android sdk. Should I download SDK as standalone tool or with Android Studio.
What is SDK and what all does it include?
Can I use both Eclipse and Android Studio with Sdk
Is better to use just Android Studio, this is the official Android Development IDE.
https://developer.android.com/intl/pt-br/sdk/index.html
Android Studio help you to download Android SDKs.
What is android sdk ? What does it include ?
It stands for Software development kit, and as the name suggests , it contains the platform (android version specific libraries to help you make apps for android platforms).
It contains different tools to help you install apps (adb tool), collect statistics and view information about the apps running in your devices etc.
Download sdk here
Can I use both Eclipse and Android Studio with Sdk ?
Yes you can , just have to point these ide's to the sdk's absolute path.
Should I download SDK as standalone tool or with Android Studio ?
You can do it either way, the former would require you to give its path to the ide you will be using, either Android Studio or eclipse.
Note
Android studio is the best and developer's guide by google recommends the same as well.
Some features of android studio
The SDK means Software Development Kit and is there for building android apps.
The sdk contains all the libraries you need to run your code on an android device.
Therefore eclipse and android studio can use the same sdk.
I really recommens using androi studio tho.
It is way better for developing android apps and comes with the sdk.
Eclipse was used some time ago but now android studio is the official ide for android, and way more powerful than eclipse.
Android SDK is a software development kit that is used to create Android applications.
You can download Android SDK as standalone and use it with eclipse to develop your android Apps.So you do not need to download Android Studio to develop Android Apps although it is recommended for starters.
You can download Android sdk only from here Or here
Also, The final step before you develop your android applications is to make sure that your android-sdk-tools,android-sdk-platform-tools,support-tools, and your API s are up to date.Check out your SDK Manager "Don't forget to run as administrator".
I would like to install the SDK for several android platforms on my chromebook using Ubuntu with crouton when I get it. The problem is that the chromebook I might get only has 16gb minus the OS. Installing the android SDK to eclipse also seems to install the whole emulator as well and it takes up A LOT of storage. Last time I did it I install 3 SDKs and the total space was almost 10gb.
Is there a way to install just the bare essentials for android development?
I don't want to run an emulator since I have several devices at my disposal and the chromebook won't be able to handle it anyway. Thanks! :)
Assuming you already have a JDK installed, the bare minimum you need for Android development is the standalone SDK, the platform tools, and at least one version of the Android platform. All of that takes up less than 1/2gb.
You can get the standalone SDK from here. Scroll down to the bottom and it's under Other Download Options / SDK Tools only. Once you have that downloaded and unzipped somewhere, go into the android-sdk-linux/tools directory and run the android command there. It will popup the Android SDK manager. Uncheck everything except for the following and click install:
Tools
Android SDK Platform-tools
Android SDK Build-tools
Android 5.1.1. (API 22) // or different version
SDK Platform
Google APIs
Extras
Android Support Library
other packages if your app needs them
You can find more information about how to use the standalone SDK for setting up your project and whatnot here.
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.
Does anybody have a single Eclipse installation for both Blackberry and Android development?
I have the BB Plugin working fine. I am wondering if I can just follow the Android installation steps without it affecting the BB setup.
I dont want to experiment, so I am asking.
I have seen this thread - Android and Blackberry project in eclipse
Yes, I have a working Eclipse installation for both BlackBerry and Android development.
You must install the 'BlackBerry Plugin for Eclipse' from RIM first (which you've already done). Essentially it's the Eclipse IDE (currently Helios 3.6) with the BlackBerry plugin hardcoded into it.
Apart from the BlackBerry stuff, there are no other differences between the vanilla Helios 3.6 and the RIM 'BlackBerry Plugin for Eclipse', this means you can install the Android development tools into your IDE with no problems.
Works like a charm if you follow the guide here: http://developer.android.com/sdk/installing.html
How to use single eclipse for Android and Blackberry ..?
Ans:
There was no any single setup available which work for both android and blackberry.
but in a simple thing the eclipse version 3.6 is work for blackberry plugin and as well as work with Android ADT-12 plugin so first of all you need to configure your blackberry and than you have to install any ADT plugins (i.e. the latest adt version is ADT-12) and than config the android sdk.
now your blackberry and android are working.
when you want to use blackberry than you open perspective option and select blackberry application development perspective.
and same when you want to use android than you may select java perspective...
try it..