On 29 June, 2016 - Dirk Hohndel wrote: > I won't be able to do anything on Subsurface for a while... could someone > else help Willem? > > All requests that go to me only risk getting delayed > -- > Sent from my phone > > > -------- Original Message -------- > From: Willem Ferguson <[email protected]> > Sent: June 29, 2016 3:11:07 AM PDT > To: Dirk Hohndel <[email protected]> > Subject: cross-compile subsurface > > Dirk, > > Please have some patience with me. Getting the stuff installed is a > steep uphill battle. I have had some problems with the VM because the VM > reckons that the latest F23 system updates currupt the linux headers. > Java installation is trivial. Installation of the android SDK is > extremely complex. I have a folder in usr/share called > android-sdk-linux. Two components in this folder are critical: > > 1) Platforms. Which platforms do you have installed on your machine? Can > I just take Android-24? Any older version? >
I'd suggest you download and build against latest released android version, aka android-23. The only package you need there is the "SDK Platform". > 2) System images. There are many system images for ARM as well as intel. > Obviously the intel images (e.g. x86) are irrelevant and should, if > possible, not be installed. But there are several ARM and Google-related > images. Which of these need to be installed? > None needs to be installed. If you plan to test your builds in a emulator you would need to install a system image. If you plan to use a emulator, I'd suggest you download the x86 image, and run it as a hardware accelerated VM. Its way nicer than software emulated ARM (its ridiculously slow). > The android-skd installation procedure somehow filled my (100 Gb) disk > and then the installation program crashed. (took close to 24h to > download on a 100 kb/s link!!!) So I think I will probably try again > from fresh and limit the installation options. But the installation > options are so diverse that it is difficult to decide what should not be > installed. If you try to install everything, its somewhere in the in that magnitude. If you only install the bare things you need, its somewhere between 1-2 Gb's. > > Would you be prepared at all to send me a ls -Rl of your directory > android-sdk-linux so that I can have an idea of what you have? What you need is: * SDK Tools * SDK Platform-tools * SDK Build-tools (Any version, preferably latest) * API 23 SDK Platform If you're planning on testing in a emulator, you should also install: * Intel x86 Atom System Image and/or * Google APIs Intel x86 Atom System Image How to do all of these tasks are documented in a bazillion places all over the internets and I would just do a worse job of trying to clobber something up here so I'm leaving that part out. //Anton -- Anton Lundin +46702-161604 _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
