Skip to content
BenUnikal edited this page Jul 22, 2015 · 3 revisions

Welcome to the BennuGD-Android-Template wiki!

Steps

  1. Create a keystore

  2. Set up Android SDK :

  • Download the version 19 of Android using the Android SDK Manager (you only need to select the "SDK Platform" checkbox)
  • Got to "C:\Users\UserName\AppData\Local\Android\android-sdk\platforms" (This path can be different depending on the installation, you can find it on the header of the Android SDK Manager)
  • Copy the "android-19" directory and past it here : "BennuGD-Android-Template\utils\android-sdk\platforms"

If you want to use another version of Android, there are step by step instructions here

  1. Create your application template
  • Run create-new-app.bat
  • Enter your studio/company name
  • Enter your app name
  • The script created a new directory named after your app's name. This is your app template
  1. Set up your game :
  • Open the directory created below and put your sources files (prg) in the "src" directory. Your main prg file must be named "main.prg"
  • Put your fpg in the fpg directory
  • Run compile.bat to make sure that your application compiles without errors
  1. Create the APK
  • Run export-android.bat
  • Enter your KeyStore's name (without the extension)
  • Enter the alias you want to use for your app
  • Enter the keystore password
  • Enter the alias password
  • The "temp" folder will open with the apk from the application in it.
Clone this wiki locally