after a lot of research i finally decided to post the following issue here. For a college project I want to save my app settings through SharedPreferences. However whatever I do it doesn't work.
For a simple test I tried to write some testdata in my main activity's oncreate-method like this:
SharedPreferences prefs = this.getSharedPreferences("Test", 0);
SharedPreferences.Editor editor = prefs.edit();
editor.putBoolean("Test", true);
editor.commit();
When I inspect the prefs object in debug mode it shows me the path where the file is supposed to be created: /data/user/0/.../shared_prefs/Test.xml
However when I navigate there on my phone it is not there.
I am using a Galaxy S6 with Android version 7 as a test device and I have to add that I am a complete beginner at Android programming. Could you point me into a direction here?