Right now I have Ubuntu, and Windows 7 Dual booted on my laptop. Both of which have Android SDK set up on them.
But when I had a very fast wifi network, I downloaded and installed all of the system images and everything else that was available for download, but only on my Ubuntu's Android SDK.
So since it was like 1.5GB of downloads, I am curious if they are dependent on the Linux system, and wouldn't work on Windows?
I am just curious if, instead of re-downloading all of that again, would I be able to transfer all the downloaded files from the SDK and transfer them onto my Windows Android SDK? Or would there be a compatibility issue, as if they will only work on the Linux System?
Thanks for your time guys.
The Android SDK is not system independent.
The configuration files of your AVD are not system independent ( mainly because of the filesystem changes ).
The images of your AVD are system independent.
Well if you go to the place where all the platform sdks are downloaded, that is http://dl-ssl.google.com/android/repository/repository-7.xml, you can browse through all system images, avd's, platforms, platform-tools, tools, etc.
So if you go to the sdk-archive xml element, of the things that you want to download, then you can check out the dependencies of the download in terms of architecture and operating system, so anything that has arch="any" and os="any" is effectively platform independent, and that counts for system images, samples, platforms, etc.
Also, if you are curious about where the extra stuff comes from, you can check out http://dl-ssl.google.com/android/repository/addons_list-2.xml, and follow the link list, as usual an relative path in both repository-7.xml and addons_list-2.xml means that you should append http://dl-ssl.google.com/android/repository/ to the relative path.
I don't think so that you will be able to use the Ubuntu's Android SDK updates in Windows 's Android SDK.
As Android provides different SDKS for different platforms,you will have to redo all that you have done for Ubuntu's Android SDK.
Related
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.
I am developing an android app and want to test on the latest version of android, also I need to check some apps from google store, so Is there a way to run full android OS from my PC, I searched and found some telling to use virtualbox, but I tried the installation steps and it didn't work, are there any other suggestions?
You can use GenyMotion for that. It provides Android VM that are really better than the one of SDK (chosse images of Android machines that are provided with google apps for retrieving apps from Play Store).
Assuming the normal android sdk is already installed, using the Android SDK manager:
Install the Intel x86 Atom System Image of the latest api level.
Install Intel x86 Emulator Accelerator HAXM which can be found in the folder called "tools" inside the list provided by the Android SDK Manager (for those of you on Linux, you'll have to hunt around and install kvm instead).
Create an AVD using the AVD Manager
Make sure you select the x86 version when creating the AVD, the select box defaults to ARM.
And tick the checkbox Snapshot, to make sure your image keeps anything you install on it between restarts.
Fill out the rest of the parameters, create your AVD, and start it (the first time it runs will take the longest, the second time will be faster). That being said, it's still a good idea not to shutdown the emulator between tests because of the reboot time.
AVDs based on parameters alone and not actual device names will also be faster than the ones that have specific model names, but bear in mind that those with parameters will include less stuff. So it sounds like you'll want to make sure you select one with a specific phone model name.
Genymotion should work just fine as well. Just note that for the non-AOSP phones, you may have to install some of the system apks separately (because of licensing reasons, but those system apks should be very easy to find if you just google around for them)
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.
Since Eclipse can run in Linux and this tablet has the new Honeycomb (Linux Kernel), can Eclipse IDE run in Android Honeycomb ?
I know that isn't pretty much comfortable coding in a tablet, but I'd want to use for UML modeling.
Android (despite its Linux roots) is far from capable of running Eclipse IDE as is. Not only is the hardware inadequate for supporting such a large application, but Android lacks a full Java SE JVM (Dalvik is a subset) and SWT (Eclipse UI framework) implementation for native Android UI controls does not exist. On Linux, SWT implementations exist only for GTK and Motif.
You may be interested in project Orion, which is an effort at eclipse.org to create Eclipse-like experience in the browser. I understand that people have been able to use Orion from a mobile browser on devices such as the one on the iPad.
http://mmilinkov.wordpress.com/2011/01/11/introducing-orion/
No you can't.
But who forbid you to connect to your computer using VNC? You can access your Eclipse or whatever application you want.
You can't run Eclipse but you can try AIDE:
https://market.android.com/details?id=com.aide.ui
It is compatible with the Eclipse project file format, has a fast editor with syntax highlighting and supports the full edit-compile-run cycle.
1.) The latest Android tablets ARE now powerful enough to run software like the Eclipse IDE in fact they are more powerful than the Intel and AMD processor machines that Eclipse was originally developed to run on.
2.) The tablet is a useful tool for graphical modelling techniques and the addition of an external wireless keyboard can improve input of code in a text editor.
3.) There is a lack of support for Java SE runtime for Android.
4.) Limited Android root access on the standard commercially supplied Tablets make it impossible to access OS features and install, compile or access development tools without additional 3rd party applications.
5.) AIDE does provide a method to write and run code on Android but the free version is extremely limited and the commercial (paid) version is nowhere near as powerful or comprehensive as the freely available Eclipse for Windows or Linux.
You can use DroidDevelop.
DroidDevelop allows to create native Android application on your mobile device. You don't need to install Android SDK, Eclipce and an other desktop program for Windows or Linux to start programing for Android.
https://market.android.com/details?id=com.assoft.DroidDevelop
http://en.assoft.ru/droiddevelop
Short answer, no.
Long answer, although Honeycomb is based on Linux, you'd have to do a lot of hacking to get to the point where you can have a full blown IDE installed on it. Android works with apps. There isn't an Eclipse app, so you can't have Eclipse.
There was actually a version of Ubuntu for Android, you could do the Ubuntu install for Eclipse on your tablet if you were running it.
As for running Eclipse on an android OS? Not so much since Android has no real JVM.
The Eclipse downloads page lists packages for Windows, Linux, and Mac OSX.
Android is not listed as one of the supported OSes for installation of the IDE.
Are you talking about actually running Java code with Eclipse APIs on the device? It's not impossible, but you will be doing most of the work yourself. The difficult part will be getting SWT to run and appear as native Android objects while supporting the full range of controls that Eclipse users expect.
There have been Eclipse projects in the past to get a workable subset of the APIs to run in an embedded space. One such project was eRCP, by IBM. I'm not aware of any activity to make a similar effort on Android, but there's no requirement to announce such work to the Eclipse community.
Its not possible to install Eclipse directly to Android OS but you can run Eclipse on your Tablet via Linux Deploy Application. But first you need to get Linux setup on your Android and use VNC viewer for display. That's how I did it.
See screen shot of Linux on Android running Eclipse.
I've seen some references to actually using Windows 7, however I expect that a Linux partition on my Laptop would be a better choice. Other than the Andriod SDK, what other dev tools are "essential" for Android?
I'd also be interested in knowing the system requirements for a reasonable IPad development system and "essentials" software beyond OSX and XCode. Plus what is the difference in the learning curves for the two platforms.
Eclipse + ADT is everything you need. OS makes no difference.
Depends:
If you're planning on creating your own fork of Android, or committing patches to the Android Open Source Project, then you need either a Linux distro or a case-sensitive partition on OS X. There are setup instructions for OS X and Ubuntu Linux on the Getting The Source of the AOSP site.
If you're planning on writing apps for Android, then it really depends on personal preference and development style:
If you're going to use Eclipse + ADT Plugin: Windows, Mac, and Linux will all work just fine.
Building from the command-line: You might be better off with OS X or Linux (you don't need to restrict yourself to any single distro) as they tend to have more command-line development tools pre installed.
Ubuntu is the one that springs to mind simply because getting help is easy and Canonical has been trying to make it easy to use. But as long as you can install a JVM, you're good to go. Remember, Java makes it possible to run apps (Eclipse in this case) without worrying about the OS.