Skip to content
This repository has been archived by the owner on Apr 10, 2018. It is now read-only.

Jopnal/Jopnal-android-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This template project is meant to help new developers starting game development on Android, using the Jopnal engine.

Prerequisites

In order to use this template, you'll need to have the following tools installed:

  • Android SDK
    • With API level 18 (or greater) images installed
    • You don't need Android Studio necessarily, just the command line tools
  • Android NDK (version r12b required)
  • Apache ANT

Once installed, add the following paths to your system PATH: System path?

  • [Path to SDK]/tools
  • [Path to SDK]/platform-tools
  • [Path to ANT]/bin
  • [Path to NDK]

Make sure that the path to the NDK doesn't contain any spaces!

Build, install and run

First of all, make sure your device is connected and has USB debugging configured. USB debugging?

If you're developing on Windows, you may simply double-click on build_install_run_ant.bat and the template will be automatically built and installed on your device.

If you're not using Windows, call the following commands using the terminal while the working directory is set to the template root:

android update project --target "android-18" --subprojects --path .
ndk-build
ant clean
ant debug
adb install -r bin/NativeActivity-debug.apk
adb -d shell am start -debug -a android.intent.action.MAIN -n net.example.jopnal/android.app.NativeActivity

After these steps you should see a rotating cube on the screen.

Then what?

Well, that's up to you. You may find the template code in main.cpp, in the jni folder. For more examples, see the examples folder here.

About

Get started quickly with Jopnal on Android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages