Commit 25bdb0da authored by Thomas Guillem's avatar Thomas Guillem

compile.sh: fix run in debug

parent f9de57c0
......@@ -177,11 +177,11 @@ PASSWORD_KEYSTORE="$PASSWORD_KEYSTORE" ./gradlew $TARGET
if [ "$RUN" = 1 ]; then
export PATH=${ANDROID_SDK}/platform-tools/:$PATH
adb wait-for-device
adb uninstall org.videolan.vlc
if [ "$RELEASE" = 1 ]; then
adb install -r vlc-android/build/outputs/apk/vlc-android-vanilla-release.apk
adb shell am start -n org.videolan.vlc/org.videolan.vlc.gui.MainActivity
else
adb install -r vlc-android/build/outputs/apk/vlc-android-vanilla-debug.apk
adb shell am start -n org.videolan.vlc.debug/org.videolan.vlc.gui.MainActivity
fi
adb shell am start -n org.videolan.vlc/org.videolan.vlc.gui.MainActivity
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment