tree: 89335301ce55bfa1eb33c3015ba40de2e3dccc0c [path history] [tgz]
  1. AndroidCertTest/
  2. reporting/
  3. .gitignore
  4. install_deps.sh
  5. README.md
  6. STYLE.md
cert/test/README.md

AndroidCertTest


Installation

Build the gamesdk archiveZip target:

$ cd ../../gamesdk
$ ./gradlew archiveZip

Vulkan requires that Shaderc (an NDK dependency) is built:

$ cd ${ANDROID_NDK}/sources/third_party/shaderc
$ ../../../ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=Android.mk APP_STL:=c++_static APP_ABI=armeabi-v7a libshaderc_combined -j16
$ ../../../ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=Android.mk APP_STL:=c++_static APP_ABI=arm64-v8a libshaderc_combined -j16

Run the install_deps.sh script to install glm and nlohman::json

$ cd <GAMESDK>/cert/test
$ ./install_deps.sh

Setup python environment:

$ cd gamesdk/cert/test/reporting
$ pipenv install --dev

Build and Deploy

Open gamesdk/cert/test/AndroidCertTest in AndroidStudio. Attach an Android device with developer mode enabled and the click the Run icon in the toolbar. The app should build and run on the attached device.