LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Android emulation? (http://www.linuxquestions.org/questions/slackware-14/android-emulation-4175476255/)

dchmelik 09-07-2013 12:11 AM

Android emulation?
 
Anyone managed to build the Android emulator from its official source, on the current stable version of Slackware? As of this post, I am using Slackware64 14, and Android requires Java 6 and would not even start to build until I downgraded to the last official Java 6 Slackware package. Then the emulator build has some problem with Slackware's current stable version of Perl.

update: apparently the official Android SDK has an emulator binary for GNU/Linux. So, I have that running, but have some questions for it... I guess I will have to go over to androidquestions.org, though I really disagree with the existence of another site for it, since Android is in fact a Linux distribution... of course I disagreed in the first place of this site also not being called something like gnu-linuxquestions.org... if it was, then it would make sense for the Android site to be separate, since Android is basically non-GNU.

update 2: I have been reading about setting up network access in the Android emulator. Apparently the emulator is QEMU, which I have seen complicated descriptions of setting up network access for. One description says use OpenVPN and bridge-tools, and Slackware has the former, but not latter... is there any other way to do it (or can it even be done in the emulator itself)?

stewl 10-02-2013 12:17 AM

I have java 1.7.0_40 on my system no trouble with install downloaded for Oracle then used slackbuild to install it. Also have Android SDK and Eclipse running managed to get hello world to compile then tested it on my ASUS tab. Sorry cannot help with the emulator as it does not work on my machine but I do not need it as my phone also is recognized as well as the ASUS tab. The install of the SDK is a bit fiddly getting all the updates as some required stuff needs to be in place before the rest of the updates will load. I did find it better to get eclipse on its own then add in the android plugin to get the SDK running

dchmelik 10-02-2013 12:26 AM

I found out on IRC or androidquestions.org that the SDK has an emulator for GNU/Linux anyway.

stewl 10-02-2013 12:59 AM

So you have the SDK up and running ok. I may need help with my coding and running eclipse later so hope someone can point me to the right thread


All times are GMT -5. The time now is 08:37 AM.