D 2019-05-02T05:02:16.779 L Building\sAndroWish P a89026a2134e58aed64e3665df3b0224d32e8c63 U chw W 2295

Building AndroWish

Requirements

* Android SDK (version 12 or later) * Android NDK (r7 or later) * Minimum API level support by SDL is 10 (Android 2.3.3), requested API level from project.properties is 16 (Android 4.1) * CPUs supported for native shared libraries are currently armeabi and x86. This can be changed in jni/Application.mk.

Building and Running AndroWish

Old school using Apache ant: # Refresh the project settings using the android command from Android SDK: android update project # Review local.properties to point to the directory where the Android SDK resides. # Use ant to build AndroWish from scratch: ant debug. This includes building the C libraries using Android NDK. That step can be performed separately by running ndk-build in the jni directory or by invoking ant ndk-build # The resulting Android APK is built to bin/AndroWish-debug.apk which can be installed onto a device or emulator using adb install -r bin/AndroWish-debug.apk. # Start AndroWish on device or emulator using adb from the development system: adb shell am start tk.tcl.wish/.AndroWishLauncher. # Clean the build tree with ant clean. New style using gradlew: # Setup your environment regarding ANDROID_HOME and the ndk-build command e.g. by setting both a proper PATH and ANDROID_NDK_HOME. # Use gradlew to build AndroWish from scratch: ./gradlew assembleDebug. As above this performs both the NDK build and the final compile and packaging steps. # The resulting Android APK is built to build/outputs/apk/AndroWish-debug.apk which can be installed onto a device or emulator using adb install -r build/outputs/apk/AndroWish-debug.apk. # Start AndroWish on device or emulator using adb from the development system: adb shell am start tk.tcl.wish/.AndroWishLauncher. # Clean the build tree with ./gradlew clean. Z 8556a760dfbf706afcf98bff427ec611