Mikotwa / FuckLocation

A simple xposed module that helps you fully control your location.
https://github.com/Xposed-Modules-Repo/fuck.location
GNU Affero General Public License v3.0
342 stars 72 forks source link

Failed to open whiteList.json #10

Closed MmmmHeee closed 2 years ago

MmmmHeee commented 2 years ago

App version: 1.2.2

The app crashes when trying to modify the whitelist and the log reports java.io.FileNotFoundException: /data/system/fuck_location_test/whiteList.json: open failed: ENOENT (No such file or directory)

I navigate to the path /data/system but do not find the fuck_location_test folder

The full log is attached here crashlog.log

MmmmHeee commented 2 years ago

I tried creating an empty whiteList.json at the path and it still crashes. Reinstalling the app does not work either. It seems that the app failed to initialize some configuration files at first runtime.

Mikotwa commented 2 years ago

Must be an issue introduced by recent changes. Will investigate soon.

MysticalMusings commented 2 years ago

Same problem here. I found a workaround: Try installing the previous version that doesn't crash(1.1.0 works for me). And then install the latest version. Edit: I also change the owner of these two files as described in 1.2.2

Mikotwa commented 2 years ago

Should works for v1.2.3.3 now. Would you mind upgrade your module and let me know if this helps? Thanks.

MmmmHeee commented 2 years ago

I test the latest app of version 1.2.3.5 and the problem is fixed. Nice work!