Cannot write to sdcard on android emulator: permission denied; storage state: mounted -


i trying use debug.startmethodtracing("tracefile"). got error "e/art: unable open trace file '/sdcard/localexp.trace': permission denied".

the following have tried:

  1. i did add "write_external_storage" androidmanifest.xml

2.i used "environment.getexternalstoragestate()". returned state "mounted".

3.the application works on real device got error on emulator.

i searched lot problem still can't solve it.


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -