Trump-Hillary card game
May 6 - project created
- Install python-for-android and dependencies.
- Download Android SDK and NDK
- Export all necessary environment variables:
export ANDROIDSDK="path_to_your_sdk"
export ANDROIDNDK="path_to_your_ndk"
export ANDROIDAPI="21" # Target API version, better use v.21 because it failed in my case with ANDROIDAPI > 21
export ANDROIDNDKVER="r12b" # Version of NDK you installed
- Add path to $ANDROIDSDK/tools and $ANDROIDSDK/platform-tools to your $PATH
- Run
./build_android_debug.sh APK_VERSION
in project directory to build debug apk and place it into build/android - RUN
./build_android_release.sh APK_VERSION KEYSTORE KEYNAME STOREPASS KEYPASS
to build and sign release apk and put it into build/android
- Install Xcode
- Run
./build_xcode_project.sh
in project directory
- navigate to
Sources/main.m
in Xcode - in that file find function
export_orientation
- follow instructions in that function