How To Get Root Acess To Data/app Folder In Android Eclipse Emulator?
I'm new to Android development. I want to access 'data/app folder in Android eclipse emulator to take backup of apk file that store in that directory but unfortunately I am unable
Solution 1:
you can do it by using adb command : e.g E:\android-sdk-windows\platform-tools>adb pull /data/app/filename.apk e:\
Solution 2:
If you don't have root access on the machine it's impossible. The phone need to be rooted in order to allow your app to do this kind of things.
Solution 3:
First your phone should be rooted, you can use https://www.kingoapp.com/ for that. Next, you should modify the permission of your app access, to do so you have to :
Locate your adb.exe folder (you can find it in your sdk folders)
Right click
open cmd here
Type:
adb shell su chmod 777 /data /data/data /data/data/yourapp
Good luck
Post a Comment for "How To Get Root Acess To Data/app Folder In Android Eclipse Emulator?"