Question: Use the Android Studio terminal window to log into the phone using adb shell. From the command line, type run-as package-name. Then navigate to /data/data/package-name/shared_prefs,
- Use the Android Studio terminal window to log into the phone using "adb shell". From the command line, type "run-as package-name". Then navigate to "/data/data/package-name/shared_prefs", and display the shared preferences using "more filename.xml"

I don't know how to fix this error. Please help
generic_x86:/$ run-as com.example.lab3 generic_x86: /data/user/0/com.example.lab3 $ /data/data/com.example.lab3/shared_prefs sh: /data/data/com.example.lab3/shared_prefs: can't execute: Is a directory 126| generic_x86: /data/user/0/com.example.lab3 $ 0
Step by Step Solution
3.47 Rating (157 Votes )
There are 3 Steps involved in it
It seems like you are encountering an issue while trying to access the shared preferences of an Andr... View full answer
Get step-by-step solutions from verified subject matter experts
