How to set up the environment for the HoneyComb? - android

I have already installed the android sdk for windows. I was working with the Api level 8 and API level 15.
Now I want to work with the Honeycomb for Tablets. But I don't know how to add the honeycomb API Level in my case.
When I am opening the Windows --> Preferences in eclipse, then I am getting this screen.
I want to setup the environment for Honycomb. please help me out.
This is my SDK MANAGER SHOWING:
This is the Tool menu in SDK Manager in my case.

In Eclipse, go to Window -> Android SDK Manager
Select API level 11 (Android 3.0) for Honeycomb and click on Install Packages.
If you fail to see any other API levels apart from already installed packages, try this:
Clear your cache and reload. The clear-cache button is in Tools > Options in the SDK Manager, and reloading is Packages > Reload in the SDK Manager.
Link: SDK Manager doesn't show anything, only already installed packages
In case you do not see any "Options" in the drop down menu just like the OP, then click on "Tools -> Manage Add On Sites" and see if the list of the repositories are there or not. Just to make sure, ensure that all the repos listed in the following image is present in your repo. If not, then add the missing ones:
Now go to "Packages -> Reload" and see if you can find the rest of the Android API's in the repo.

Start the Android SDK Manager by double-clicking android.bat in D:\Android Java Stuffs\android-sdk\tools\android.bat.
From there, update to the latest SDK version. As of the time of writing that would be Android 4.2 (API17).
Update all your tools while you're there. :D

Related

How can I delete additional tools from the sdk folder in android

I have android studio 1.3 and my sdk folder is in full update. But I do not want to have API18, API19 and the higher API in my android studio. Because I do not need them. Please say me that if I do not want to use the API18 to higher,What things should I delete from the sdk folder exactly?
In the Android Studio SDK manager, click on the Show package details checkbox in the bottom right corner, then untick the boxes for all the old SDK versions/emulators/documentation etc that you want to delete, and hit Apply.
You can safely delete any files for older SDK's on the SDK Platforms page, but I'd advise leaving everything on the SDK Tools page installed as these don't take up much space, and for the most part are not platform specific.
Instead of Force Delete you can Make It Simple By Using SDK Manager, Just Open Sdk manager, Mark Those Installed API which you want to uninstall and Click on Uninstall Package. It Should be Uninstalled.
Run your SDK Manager, select all the tools you want to uninstall, and click on the "Delete Packages" button, this will remove all the tools you selected.

how to add the new api level in android?

I am using Android API level-8(i.e. Android 2.2 Froyo). I want to add the new api level-5 ( i.e. Android 2.0 Eclair).
I have updated avd manager but the api level-5 can't display.
When I import the project in workspace the right click the project select android tools and fix the Project properties then Display this type error in console
Unable to resolve target 'android-5'
You should clarify what you mean by add.
If you mean add another OS image, then you should use the Android SDK Manager.
In the package name you should find the Android 2.0. If you didn't have it installed, then install it and create a new OS Emulator with this OS version.
There's a topic already discussed here. Link
If you mean you want to build against Android 2.0, you should simply right click on the project, go to properties, and then Android. You should see a list of targets. Simply check the one right for you.
Go to sdk manager and install required lvl from it
Goto window->android sdk manager and check the boxes you want to install. One of the checkboxes also concerns the avd, install it and then goto window->avd manager to create a new AVD.

How can i install support library android?

I need to work with the android-support-v4, buy when i try to install it from SDK manager (support library), it does not show me the package, actually i wanted to install another API level, but i can not either, because the sdk manager does not show me any other API than the ones i have already installed. Here is an image of the SDK manager:
How can i show everything i need? (i already tryied with the obsolete option).
You're asking the wrong question.
Right-click on your project.
Select Android Tools > Add Support Libraries...
(a progress bar will appear, and voila it should download what you need)
By the way, you should really install the latest android-sdk update. From your screenshot, it doesn't look like you have yet.
click on "Packages" > "Show Obsolete Packages"
By "select android tools" you mean "select android sdk tools"? This one is not expandable, by the way. (at least not on my android sdk manager).
The "support library" does not appear in any of the other branches of the android sdk manager.
Is there any repository need to be added to the sdk manager in order to obtain the package?
I'm using MacOSX lepard and the latest sdk, and got the same screenshot as above.
With the new SDK Manager installed, you will find the "Android Support Library" under Extras (if sorted by API level) or under the repository "Google Inc" (if sorted by Repository).
I had exactly the same view as above, searched all over the Net, incl this post, and couldn't find anything. By the time I gave up, it suddenly showed in my listings. It seems that I had some network issues (possibly combined with latest version).
I too faced the same issue and figured out the below solution.
Tools -> Manage Add-on Sites -> Enable "Google Inc."

How to install older Android SDK in Eclipse

I'm working at the moment at a simple app in eclipse for android. Just receiving and sending data, and using the camera API.
I've set the minSDKversion to 8, because I think that has the widest user base. But at the beginning of the project eclipse was asking me which target SDK version I would use, and because I had just one installed (the latest 4.0.3) I've took this.
Now I'm asking me if it wouldn't be wiser to install a lower SDK, like Android 2.2, because it would be not that big (compared to the 4.0.3) and my app would not have included all the fancy new features, which are not used in any way?! Or is this complete nonsense I'm talking here, and just should take my 4.0.3 SDK? When not, how can I install a lower version? Help -> SDK Manager is not showing old SDKs...
Here is a very helpful link that will probably answer your question: http://developer.android.com/sdk/installing/adding-packages.html
Basically, open up the Android SDK manager and it should give you a list of packages that you can install! From there you can choose old SDKs!
hey i faced the same issue as yours
usually while updating due to this error , it is unable to fetch the older SDKs
Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list.xml, reason: File not found
This is how you can fix it :
1) Go to Window > AndroidSDK Manager
2) select tools> options
3) set the proxy (if u r sitting behind proxy)
4) in checkboxes check Obsolete option (in Android SDK Manager)
5) go to Packages > reload (in Android SDK Manager)
This worked for me
In case you are using windows7 .
Go to Android SDK Manager location > right click > Run as Administrator
Best Regards,
Ashwani kumar
I was having a problem with this also. I tried all of the things listed in the other answers here and nothing worked. I went into Tools/Options (in the Android SDK Manager) and checked "Force https:// sources to be fetched using http://" and reloaded and the older APIs magically appeared.
if u want minSDKversion from its maxSDKversion
1.select maxSDKversion and delete all old pakages .
2. after doing it sdk manager will show all its older versions .
3. select required version and install all packages again.
:) :)
it worked for me .. just try .

Android SDK and AVD Manager installation

I am new to android development.
Have tried a couple times downloading the Android SDK and ADT plugin for Eclipse
In the Android SDK and AVD manager load fine but will not load any available packages.
Show:
- Android Repository
--"Some packages were found but are not compatible updates"
In the installed it shows 1.5 to 2.3 SDK platforms.
How to I get them available.
Appreciate help.
Thanks,
Alex
You can use following step:
1. window ->
2. customize perspective ->
3. command group availability tab ->
4. on the check box android SDK and AVD manager check it ->
5. click on ok
I had the same issue. Googled arround found nothing, and gues what:
It was the a checkbox in the main Android SDK and AVD Manager.
Click: available packages
Then select: Android Repository
Then you see the "some packages were found but are not compatible updates" message, which is why you created this question.
On the bottom of the form, you can see: 4 buttons and 1 checkbox.
Make sure you Uncheck: "Display updates only" when it is unchecked, you see the whole SDK list with Android 3.2 etc.
Steps for installing Development Environment.
Download Android SDK and Install it.
Install Android API’s for different android versions. The latest version is Android 2.3.
Download and Install Eclipse Install ADT plugin.
Create AVD (Android Virtual Device) for testing the applications.
I think you did not linked your Android SDK folder with Eclipse ADT plugin. Goto Window->Preference->Android browse your Android SDK if you have installed ADT plugin.
There are many resources available online. Here is a blog post where you find some good links to resources which help you in installing Android Development Environment.
Getting Started with Android
If you still didn't able to do it. Let me know your specific problem, where you got struck.
I think there is already an answer that probably works for most people (unchecking the box), but since that did not work for this install I have on Linux Mint, this did work:
(not my website)
http://blog.netscribe.us/blog/post/Step-by-Step-Guide-on-How-to-Install-Android-SDK-Offline-%28not-completely-offline%29.aspx
Basically, download the zip for the package you want and extract it to /platforms/.

Categories

Resources