Developing Android on Sublime Text 2

31,066

Solution 1

I know that I'm supposed to download and set up the Android SDK, but how, where and why?

Visit the official site and follow the instructions for "other/existing IDE". I don't think anyone wrote specific instructions for using Sublime yet though (since you haven't found one).

And how do I compile my projects and run them? This is a complete mystery to me.

As others already answered, other than a JDK, you will most likely need to download and run Ant from the command line.

Solution 2

If you really want start Andriod development, without using the great support of an IDE like Intelji Idea or Eclipse, then you should properly look into building and running your applications in the command line beside Sublime Text 2

Solution 3

If you follow the instructions for using the 'Andrew' software module from github, you can get sublime to communicate with the android sdk and ant build tool via a tool called monitor.

https://github.com/Korcholis/Andrew

Kind of similar to a vim addon i used to use that talked to eclipse service.

But if anyone else is reading this, intellij (android studio) has come on leaps and bounds regarding speed and autocomplete.

Share:
31,066
Admin
Author by

Admin

Updated on May 27, 2020

Comments

  • Admin
    Admin almost 4 years

    I wanted to start developing for Android, but found it terribly hard to set everything up so it would work on Sublime Text 2.

    I know that I'm supposed to download and set up the Android SDK, but how, where and why? And how do I compile my projects and run them? This is a complete mystery to me.

    I've been researching this for about 3 hours now and haven't had any success. Could anyone of you, please, help me by guide me through the process of setting everything up in ST2?

    Please note that I do not want to use Eclipse IDE. I've grown to love ST2 and I'd like to stick with it.