summaryrefslogtreecommitdiff
path: root/checkperms.sh
diff options
context:
space:
mode:
Diffstat (limited to 'checkperms.sh')
-rwxr-xr-xcheckperms.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/checkperms.sh b/checkperms.sh
new file mode 100755
index 00000000..b5f92c5b
--- /dev/null
+++ b/checkperms.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+if [ -z "$1" ]; then
+ FILE="platforms/android/build/outputs/apk/android-debug.apk"
+else
+ FILE="$1"
+fi
+echo "*** Permissions for $FILE ***"
+`echo $ANDROID_HOME`/build-tools/23.0.1/aapt d permissions $FILE