[Android] compile.sh: fix run in debug
Thomas Guillem
git at videolan.org
Fri Feb 6 18:36:12 CET 2015
vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Feb 6 18:34:46 2015 +0100| [25bdb0da4a78ae3eb4bdfb4dab491cc68a60f091] | committer: Thomas Guillem
compile.sh: fix run in debug
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=25bdb0da4a78ae3eb4bdfb4dab491cc68a60f091
---
compile.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/compile.sh b/compile.sh
index 8c76331..43f6f0b 100755
--- a/compile.sh
+++ b/compile.sh
@@ -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
More information about the Android
mailing list