mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
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:
@@ -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