8

I want to use the pi as a continuous integration server. One type of the software are Android applications. Is it possible to have the Android SDK or something similar to compile Android apps?

I didn't find the Android SDK for arm on the official site. But for example there exists the AIDE app, where apps are compiled on an Android phone itself.

Disclaimer: I don't want to install Android as operating system on the pi.

11
  • Have you got CIS running on the Pi already?
    – Piotr Kula
    Commented Aug 16, 2012 at 15:30
  • 1
    The existence of compile-on-the-device Android tools demonstrates that it is possible. The more important question is if it is worthwhile (worth the trouble to set up) - it would not be particularly fast, and if you don't want to install most of Android you get little benefit for testing from having an ARM CPU. Something based on a customized Android build that could do testing (in a chroot?) could be interesting though. But most android devices will have higher performance and resources than the pi; the main thing you get with the pi is wired ethernet for reliability. Commented Aug 16, 2012 at 15:47
  • @ppumkin No but I plan on using Jenkins, which is possible as posted in a other thread. I would install it when Oracle delivers a Raspbian friendly Java VM. So for now I'm doing preparation for that.
    – keiki
    Commented Aug 16, 2012 at 18:26
  • @ChrisStratton The question I'm asking myself is, how difficult is it to set it up. Or is it just compiling the source (whereever to get it from).
    – keiki
    Commented Aug 16, 2012 at 18:28
  • If you are willing to install Android, probably fairly straightforward unless you run into lack of RAM; if not, you would have to get a java compiler working then recompile all of the android tools like dx. What advantage do you see which would result from working through all of that, vs using a conventional server, fractional cloud server, or even an android device? What are you going to do with the code once it is built? Commented Aug 16, 2012 at 18:35

2 Answers 2

3

At the moment there is no supported compilation available of Android SDK for ARM.

It maybe possible to do this, but this has to be done by someone with knowledge of Android build system.

Again clarification: I'm not talking about installing Android itself on the Pi. I'm talking to install the SDK on Raspbian to build Android application like in the development.

1
  • Hi, do you know if there still no arm SDK?
    – Pozzo Apps
    Commented May 24, 2018 at 12:40
-4

Oracle released arm java jre and jdk! links: http://forum.xda-developers.com/showthread.php?t=1328488

once i rigged android sdk for armv6 from source but i forget how.

1
  • 2
    This answer is not particularly helpful in relation to the question, and the spelling and grammar seem off. However, you can still improve your answer by clicking the small edit link underneath. Commented Sep 17, 2012 at 18:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.