abrensch / brouter

configurable OSM offline router with elevation awareness, Java + Android
MIT License
501 stars 119 forks source link

error caching remote profile #492

Closed aakerbeere closed 1 year ago

aakerbeere commented 1 year ago

I actually get this when launching routing (android, Permission denied). Don't know how to solve. Hints are welcome.

afischerdev commented 1 year ago

No idea, sorry.

Any changes in your system? new Android version?

Do you have your BRouter data inside ./Android/media? Or external folder?

aakerbeere commented 1 year ago

thx @afischerdev

9 PKQ1.180904.001. No new Android version actually. Updates to occur permanently, but nothing relating to brouter as i can say so far. BRouter data inside "/storage/emulated/0/brouter/profiles2/". File to be accessed is "remote.brf" which there is present.

afischerdev commented 1 year ago

My recommendation would be to install new with storage path /Android/media/... Android 9 should not be affected and file access should work as usual - but who knows.

aakerbeere commented 1 year ago

Much simpler :)

Storage permissions have been set to deny somehow. BRouter App considered by Android as "never" being used and maybe therefore storage permissions set to "deny" by OS. Don't know how this happens. I use BRouter very frequent through locus. Setting storage access to "allow" again does it.

thx @afischerdev for comment.

Closing issue as solved.

afischerdev commented 1 year ago

@aakerbeere Thanks for sharing this solution. Good to know.