Skip to content

Change android version

BenUnikal edited this page Jul 22, 2015 · 5 revisions

To compile your BennuGD games with another version of Android :

  • Download your needed version with 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 folder you need (for example "android-19").
  • Past this folder here : "BennuGD-Android-Template\utils\android-sdk\platforms"
  • Open "BennuGD-Android-Template\YouAppFolder\resources\android\AndroidManifest.xml" and change the sdk version
  • <uses-sdk android:minSdkVersion="19" android:targetSdkVersion="19"/>
  • Open "BennuGD-Android-Template\bennu-android\default.properties" and change the project target version :
  • target=android-19

Clone this wiki locally