Open AsixJin opened 7 years ago
Create a separate androidTest manifest for com.yourpackage.test that includes the READ.EXT... and WRITE.EXT... initially you need to install the app via pushing the .apk to the device /tmp/com.yourpackage and then"adb shell pm -rg /tmp/com.yourpackage ". Then issue "adb shell pm grant com.yourpgk android.permissions.REAd. .... " repeat for WRITE and then repeat both for com.yourpckg.test . Once done on a device all will wokr normally. Sry for the unstructured format , but this is writing in a hurry :) good luck fellaz !