I've just did fresh installs of the ADT bundle (20130522) and the Android Studio. (because my eclipse install got screwed up again, but that's another story.)
In either version, when I launch the SDK Manager, I don't have any system images for 2.2, only an x86 image for 2.3.3, and no images for 3.0, 3.1, and 3.2.
I couldn't find any official word as to why they've been removed. Is there now a better way to test on those platforms rather than by using the emulator images?
Check the "Obsolete" checkbox, towards the bottom of your SDK Manager window, and you should see them.
More specifically, up until Android 4.0 (or thereabouts), the ARM emulator image was not broken out into a separate download, and so you get that from the base "SDK Platform" download.
Why would people expect the ARM image to be part of the SDK platform for <4.0, when it is broken out separately for 4.0+
Well, for those of us graybeards who have been developing for Android for a while, it's second nature... :-)
More seriously, I suspect they did not want to attempt to repackage the older releases. Bear in mind that the only available platform for Android was ARM up until about 2.3, and so having a separate ARM image download would have seemed odd back in the beginning.
Related
I have a question about running an app through the emulator on android studio.
My emulator device is able to turn on, but when running the app, install never completes so the app times out. I have tried invalidating cache and restarting, and I have installed the sdk platforms that are the same as the emulators and project, but these changes did not work. My computer cannot install emulator hypervisor driver for AMD processors or intel x86 Emulator accelerator, but I don't think it is necessary for the app to run since my emulator can turn on, right? also, any app has never successfully run on android studio.
The is no code other than the hello world that comes up automatically. This is an empty project with a minimum sdk of api: android 4.1. The device I am using is a pixel 2 with an api of 22. (size on disk 3.5 GB) for tools, I have android SDK build-tools 33, android emulator (31.3.10), and android sdk platform- tools (33.0.3) installed.
I have tried every forum that has the same issue as me but if you think there is one that can help me, please share it thanks.
Android Emulators aren't always the best so expect random failures. This is what I would try:
Make sure the app compiles properly (make sure you see BUILD SUCCESSFUL in your bottom "Build" Tab in Android Studio)
Make sure you have updated Android Studio and Android Emulator, Android Build Tools, SDKs etc.
Create and use a device with a higher API version. Ideally one with Play Store.
Depending on your development machine you might want to try a different architecture (ABI). Try x86 or x86_64 instead of what you've already tried.
In rare cases your existing emulator images get corrupted. Uninstall them in your SDK manager (Show Package Details) and install them again.
If possible try running the app on a real device (follow online instructions to enable USB debugging etc.) to verify the emulator is the problem.
Emulator in the image below is one of the fastest emulator in xamarin. I have 2 computers and 1 of them has this emulator somehow installed. whatever I tried and I searched all over, I cant find out how to install this emulator on my other computer. Does anybody know how do I get this emulator. something similar described here but it is not the same at all.
I have already api level 23 and intel atom(x86) for this api level installed
I have installed extras in android sdk manager as below
There are two ways of getting an x86 enabled emulator.
First is by installing the Intel HAXM emulator. To do so open Xamarin Studio click on tools and open SDK Manager. In the Extras folder you will see an entry Intel x86 Emulator Accelerator.
An even simple solution is to install Android Studio and during the installation set the SDK path to the one configured inside Xamarin Studio. The benefit is, that you can use Android Studio for stuff like memory monitoring, CPU usage and such as well as getting a better designer for your layouts.
I described it for Xamarin Studio but the steps basically applies to Visual Studio as well.
I found the answer for my question. Just for anyone who will have same interest here is the answer. I dislike xamarin android emulators in general. I used to test my app using real device rather. Advantages were,
I didnt need any virtualization whatever hassle to be installed like hyper v
They occupy a lot of space on my ssd drive
but this emulator is beautiful, fast and light. It occupies only around 700mb. I highly recommend this emulator to anyone.
It comes with VS 2017 RC installation but you dont need to install VS 2017. It is also working with VS 2015. Just download the VS 2017 installer and choose the emulator only from the list.
PS, I guess most of the xamarin presentations made by microsoft and xamarin is with this emulator :)
I would like to do development for a rooted Nook Simple Touch, which uses Eclair. I've downloaded the Android SDK and launched the Virtual Device Manager, but as it is now 2015, it doesn't offer any versions before Gingerbread. Is there a way I can get an Eclair virtual device? Alternatively, is there an older SDK package I can get?
Thank you,
Bob
it doesn't offer any versions before Gingerbread
The standalone SDK Manager does when you check the "Obsolete" checkbox. Note that the emulator images were in the "SDK Platform" options back in the old days, rather than having separate line items in the SDK Manager.
I tried to install Android Studio and it ended up taking up all of my free disk space. How do I uninstall it? The application reports it uses 400MB and /user/me/Library/Android directory reports 8GB. Can I delete these two directories? I would like to try and start fresh.
I'm on Mac OSX Mavericks.
Update:
I was following the instructions here,
This says, "Android Studio provides everything you need to start developing apps for Android".
The next page says, "By default, the Android SDK does not include everything you need to start developing." WTF? Which one is it?
So following the instructions on that page it says add these items:
I selected the items it recommended and noticed some items it mentions where already installed while others were not (the icon on the far right of it's name).
I clicked the minimal amount to install and clicked next. Half way through the download I start getting Low disk space warnings. Next I get Android out of space errors. So I cancel and look back at the application directory and that's at 400MB. I then remember from somewhere that it said something would be installed in /Library/Android. I check that directory and it's 7.4GB.
Most likely, you can just prune the sdk directories.
On Mac OSX Yosemite, my android sdk folder was taking 18 GB two minutes ago. Now, it's just 3.19 GB (not including Android Studio), after having deleted the packages I'm not currently using.
From Android Studio, select Tools > Android > SDK Manager.
Keep the tools. Keep the latest android sdk (currently at api level 21). That means, inside the folder api level 21; keep "SDK Platform", keep the "x86 emulator image for 64 bit", delete the "intel x86 emulator image for 32 bit", keep the "Samples for SDK", keep "Documentation for Android SDK", and keep "Sources for Android SDK"
For the "Google APIs", only keep that if you plan to use the google maps api, or some other google apis. Most likely, you can just delete that one as well, and download it again should you ever need it.
But do delete the package for "ARM emulator image" and all the other packages for the other api levels. Android is backwards-compatible, so targeting the latest SDK does not require additional SDKs even if your minimum SDK is very low.
From the extra folder section: Keep the "Intel x86 Accelerator (HAXM installer)", keep the "Android support repository" and keep the "Android support library". You can delete the "Google Repository" (although, I've personally kept that one, so you'll probably end up with even less than 3.19 GB once you delete it).
And if you still need even more space, I guess you could even remove the "SDK Samples" and the "Sources of Android SDK" (not that I'd recommend doing that. Do it only if you really need the space). After all, if Windows Phone and iPhone developers can survive without having access to the source code of their platforms, there is no reason most of us couldn't survive without the source code to our platform either.
I'm assuming you're using OS X here. You can simply open the applications folder and move Android Studio to the trash. Same thing goes for the SDK.
Though, I'm not sure why it says it's taking up 8 gb - it isn't nearly that big for me. My Android Studio is ~500 mb
EDIT: Also see #stkent's great find in the comments - he linked you to How to completely uninstall Android Studio?, which provides an answer that will completely remove all traces, so that if you reinstall, it is completely fresh.
(This question may belong on a different site such as SuperUser. If so, please migrate!)
I'm trying to do a lot of debugging of our web app for Android. The Android emulator seems a tad more difficult for me to get running than the iOS ones. ;)
I have installed the proper Java JDK and Android SDK.
I can now launch AVD manager. This is where I'm stuck. I understand this is where we can customize the specifications of our particular device, but to create a new virtual device, I need to choose a target. However, my target menu is grayed out. I'm guessing there's one more thing I need to install, but I'm lost as to what that is. (BTW, for starters, I'm trying to emulate the Thunderbolt).
Check this out. You probably missed step 4
Installing the SDK
Installing the Android SDK does not install one of the Android platforms to build a AVD from.
To install a platform do the following:
Open the Android SDK Manager (located in the Android SDK directory as tools\android).
Select at least one Android platform to install, and click Install Selected. Depending on the version of Android running on the Thunderbolt, you would most likely choose to install Android 2.2 or Android 2.3).
Once this installed the target menu will display the version you installed.