android: fix possible run target error (#14608)
Auto-granting the external storage permission does not work in all cases, so ignore errors: ``` Error: Unknown operation string: MANAGE_EXTERNAL_STORAGE ```
This commit is contained in:
1 parent
016b3ed6b5
commit
40793eaadf
1 file changed
+1
-1
+1
-1
@@ -28,7 +28,7 @@ endif
|
||||
# install
|
||||
adb install $(ADB_INSTALL_FLAGS) '$(ANDROID_APK)'
|
||||
# speed up testing, auto-grant permission
|
||||
adb shell appops set --uid $(ANDROID_APP_ID) MANAGE_EXTERNAL_STORAGE allow
|
||||
-adb shell appops set --uid $(ANDROID_APP_ID) MANAGE_EXTERNAL_STORAGE allow
|
||||
# there's no adb run so we do this…
|
||||
adb shell monkey -p $(ANDROID_APP_ID) -c android.intent.category.LAUNCHER 1
|
||||
# monitor logs
|
||||
|
||||
Reference in new issue
Block a user