Zooshi
An open source project by
FPL.
|
Zooshi is known to build with the following tool versions:
NDK
, Google Play services
, and Android Support Repository
packages from the SDK Manager. You can access the SDK Manager through Android Studio.Configure Gradle by creating a local.properties
file in your Zooshi directory that gives the locations of the Android SDK and NDK. It should look something like this:
sdk.dir=/usr/local/google/home/username/Android/Sdk ndk.dir=/usr/local/google/home/username/Android/Sdk/ndk-bundle
dependencies/gpg-cpp-sdk
directory, or set environment variable GPG_SDK
to the install directory.~/zooshi/
, unpack the downloaded gpg-cpp-sdk.v2.0.zip
to ~/zooshi/dependencies/gpg-cpp-sdk
.dependencies/firebase_cpp_sdk
directory, or set environment variable FIREBASE_SDK
to the install directory.
Add the
google-services.json` file that you downloaded from Firebase console to the Zooshi directory. This file identifies your Android app to the Firebase backend.The Zooshi project has a build.gradle
file, which contains details about how to build an Android package (apk).
To build for Android:
gradlew
to build the project.You can use the Android Debug Bridge (adb) to install the game. This tool is in the Android SDK directory. Attach an Android phone to your desktop with a USB cable, and ensure remote debugging is enabled on your phone, then run:
adb install build/outputs/apk/zooshi-debug.apk