Skip to content

Project template for Android app development on the command line, without an IDE, and using GNU Make!

License

Notifications You must be signed in to change notification settings

negativefnnancy/HelloAndroid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello Android

My reference template for Android Development! :3

Credit to this article.

Also credit to this article for Arch Linux setup.

Dependencies

On Arch Linux, install these packages for your desired Android API level from the AUR first: android-sdk android-sdk-build-tools android-sdk-platform-tools android-platform

Configuration

Edit Makefile as much as you need for your particular project and build setup. All the stuff you are most likely to want to change are towards the top.

Build

To build, just run make. If you haven't generated a keystore, it'll prompt you to create one, and then you won't have to create it again for subsequent builds, but it will prompt you to sign each new build.

Run

To run the build on a connected Android device, make sure your device is connected and recognized with developer mode enabled by running adb devices and see if it shows up on the list. And then just run make run.

Debug

Once it's running, debug the app using adb logcat. Filter for relevant messages, for example, like this: adb logcat HelloAndroid *:S

About

Project template for Android app development on the command line, without an IDE, and using GNU Make!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published