Android Question Why does "java.io.FileNotFoundException.." occur running GPS Example Moto G5+ ver 27?

CharlieHab

New Member
Licensed User
Trying to run GPS Example. Compiles, loads ok, but comes up with a file not found error. Added External SD card. Newbie, missing something obvious (but not to me!). Using a Moto G5+. Android 27.

Thanks for any insight.

Charlie
 

DonManfred

Expert
Licensed User
Longtime User
The GPS Example shows you the use of Runtimepermission.

If you want to write (or read) the external CD-Card then you need to do similar checks for them using runtimepermissions lib. See Runtimepermission-Tutorial:
 
Upvote 0
Top