I want to edit an entry of a sharedPreference file that is in my emulator: /data/data/package_name/shared_prefs/file_name.xml and make this change be applicable to the running app, not recompile it again:
<map>
<string name="orderKey">79160317</string>
<string name="userId">3103842</string>
<string name="userToken">eyJhbGciOiJIUeTR1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7InVzZXJJZCI6IjMxMDM5NDIifSwiaWF0IjoxNTQ0MDE0MzU5qwJleHAiOjE1NDQ4NzgzN7l9.gmqUlMzAUv2rCsGoYBZDTZ3aoYdYnDssdregrEJ&</string>
</map>
I have already tried this: Edit shared preferences from DDMS, but it requires me to run the app again, i.e. that's not dynamic.