data/data/app_name/
sdcard/
data/data/
directory, entries corresponding to apps on the device that are not debuggablecannot be expanded in the Device File Explorer.Previous | | Next | | Home |
Android Studio handles the transfer of files packaged up in the executable associated with your app automatically. However, one situation where you may want to transfer additional files manually from your development computer to a device is when your app expects to read a data or image resource from the device. Then you must store the resource in an appropriate place on the device. The project Playing Video gives an example of doing this. Conversely, if your app writes a file on the device, you may want to transfer this file to your development computer for examination; the project Read Your Contacts gives an example. |
The -d flag targets a device, assuming it to be the only device connected. If the directory download did not exist in the sdcard directory, it would be created by the above command. For a single emulator, the flag would change to -e; if there is more than one emulator or more than one device running, you will have to specify the device serial number with a -s flag, as described in Installing on a Device. |
Previous | | Next | | Home |