Im creating an app that needs to access external storage of the device. Im writing unit tests in a test suite that extends AndroidTestCase, and am experiencing issues when trying to access the files i need. I think this may be due to the fact that the unit test doesnt have the correct permissions to do so. I've stated the permissions in the application manifest, but since Im targeting Android 6, do I need to do anything within the test suite to allow external storage access? I've seen some related posts, but nothing seems to address this directly.
Aucun commentaire:
Enregistrer un commentaire