https://github.com/halide/Halide
Raw File
Tip revision: 022bcd5ba3d76c568de9a4828e7932dda3fcdc2a authored by Andrew Adams on 11 October 2023, 19:14:31 UTC
Don't try to construct illegal types
Tip revision: 022bcd5
build-gradle.sh
#!/bin/bash

# Gradle needs to know where the NDK is.
# The easiest way is to set the ANDROID_NDK_HOME environment variable.
# Otherwise, set ndk.dir in local.properties (even though the file itself says
# that it's only used by ant).
# However, if you run "android update" (say, via build.sh), this variable will
# be clobbered.
./gradlew build && adb install -r gradle_build/outputs/apk/HelloAndroidCamera2-debug.apk && adb shell am start com.example.helloandroidcamera2/com.example.helloandroidcamera2.CameraActivity
back to top