From 40c868be929c891ba454ef66c3dc715dd164dafb Mon Sep 17 00:00:00 2001 From: Cody Northrop Date: Tue, 27 Sep 2016 11:48:14 -0600 Subject: [PATCH] docs: Add CubeWithLayers to Android section --- BUILD.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/BUILD.md b/BUILD.md index 06dee6a..4384302 100644 --- a/BUILD.md +++ b/BUILD.md @@ -189,6 +189,16 @@ adb install ./tri/bin/NativeActivity-debug.apk adb shell am start com.example.Cube/android.app.NativeActivity adb shell am start com.example.Tri/android.app.NativeActivity ``` +To build, install, and run Cube with validation layers, first build layers using steps above, then run: +``` +cd demos/android +android update project -s -p . -t "android-23" +ndk-build -j +ant -buildfile cube-with-layers debug +adb install ./cube-with-layers/bin/NativeActivity-debug.apk +adb shell am start -a android.intent.action.MAIN -c android-intent.category.LAUNCH -n com.example.CubeWithLayers/android.app.NativeActivity --es args "--validate" +``` + To build, install, and run the Smoke demo for Android, run the following, and any prompts that come back from the script: ``` -- 2.7.4