Skip to content

nickav/android-native-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

First either adjust a.cmd to have correct paths to Android SDK, Android NDK and Java SDK or set them in environment variables. Then set APK varible to desired apk package name. Use Android SDK to install build-tools and platform SDK.

Now you can use a.cmd to build, install and run the application:

a [command]
By default build, install and run .apk file.

Optional [command] is:
  run       - only install and run .apk file
  build     - only build .apk file
  remove    - remove installed .apk
  install   - only install .apk file on connected device
  launch    - ony run already installed .apk file
  log       - show logcat

Clear logs:

adb logcat -c

Dump crashes:

adb logcat -s "AndroidRuntime"

Show app logs:

adb logcat -s "NativeExample"

About

simple example for building native app on Android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 40.7%
  • Shell 20.9%
  • Batchfile 17.9%
  • Java 15.2%
  • Makefile 4.1%
  • GLSL 1.2%