I\'m developing my first Android application in Eclipse, Win7x64 and am having trouble pulling a SQLite file to inspect what\'s getting in it. I\'m seeing this problem using DD
You just need to adb this secuence of steps and commands:
1- Go to the directory where your platform tools resides.
(Mine is: C:\Program Files (x86)\Android\android-sdk\platform-tools)
2- Click Ctrl + Shitt + Mouse right button and select "Open Command Window here"
(This is to open the command promt, you can also open the command promt and type the command: cd C:\Program Files (x86)\Android\android-sdk\platform-tools)
3- Once the shell is open, type this commands
adb shell su chmod 777 /data /data/data chmod 777 /data/data/package_name_of_your_android_project chmod 777 /data/data/package_name_of_your_android_project/databases
If you typed that, now you can see the databases, and if you click the pull button in the DDMS, then the error arises. But what you need to do is to type this last command:
chmod 777 /data/data/package_name_of_your_android_project/databases/your_database_name
So, these are the full sequence of commands:
adb shell
su
chmod 777 /data /data/data
chmod 777 /data/data/package_name_of_your_android_project
chmod 777 /data/data/package_name_of_your_android_project/databases
chmod 777 /data/data/package_name_of_your_android_project/databases/your_database_name