Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I develop for Android in Emacs?

Tags:

I have gone through the Android guide for other IDEs, and I've got the basic build and install working fine using ant and a simple Emacs compile command. I'm aware of some of the existing tools for developing Java and XML in Emacs. I've also seen the EmacsWiki page recommending two Emacs packages, EmDroid and android-mode

I'd like to hear what people recommend, in terms of Emacs packages, small functions, or just workflows.

As a side note, I have decent familiarity with Eclipse, and I did setup the ADT plugin. However, emacs is my primary editor, and I'd like to see how I can use it here.

like image 637
Matthew Flaschen Avatar asked Sep 05 '10 02:09

Matthew Flaschen


People also ask

Can you develop for Android in Xcode?

Programming language and environmentIt's going to be Kotlin or Java on Android Studio for Android development, or Swift on Xcode for iOS. Currently Kotlin is growing very fast and it's highly recommended for Android development. At the same time, it's impossible to know Kotlin without Java.


1 Answers

I too use Emacs for my Android development. Although I do not use any Emacs packages for it.

Simply write in Emacs and then from a terminal use the android-sdk (ant, android, keytool, jarsigner, adb).

You can always use M-x compile from within Emacs, but I usually prefer a plain old bash shell for Android.

Sorry my work flow isn't really exciting.

like image 157
cjh Avatar answered Sep 22 '22 14:09

cjh