[์๋๋ก์ด๋] ์ ๋ฎฌ๋ ์ดํฐ์ ํ์ผ์ ๋ก์ปฌ๋ก ๋ด๋ณด๋ด๋ ๋ฐฉ๋ฒ (adb pull)
[์ ๋ฎฌ๋ ์ดํฐ์ ํ์ผ์ ๋ก์ปฌ PC๋ก ๋นผ๋ ๋ฐฉ๋ฒ] 0. /sdcard/testDir/testFile.txt ๋ฅผ ๋ก์ปฌ PC (์์น: C:\Temp) ๋ก pull ํด๋ณด๊ฒ ๋ค. ์ฌ๊ธฐ์์ testDir ํด๋์, testFile.txt ํ์ผ์ ๋ด๊ฐ ์์๋ก ๋ง๋ค์ด ์ฃผ์๋ค. ํ์ผ์..
devshin93.tistory.com
[๋ก์ปฌ PC ์ ํ์ผ์ ์ ๋ฎฌ๋ ์ดํฐ๋ก ๋ฃ๋ ๋ฐฉ๋ฒ]
0. ์ด์ ์ ๋งํฌ์์ ์ ๋ฎฌ๋ ์ดํฐ์ ํ์ผ์ ๋ก์ปฌ PC ๋ก pull ํ๋ ๋ฐฉ๋ฒ์ ์๊ฐํ๋ค.
- ์ด์ ์ด ํ์ผ์ ์์ ํด ๋ค์ ์ ๋ฎฌ๋ ์ดํฐ์ push ํ๋ ๋ฐฉ๋ฒ์ ๋ํด ์๊ฐํ๊ฒ ๋ค.
- ๊ธฐ์กด testFile.txt ๋ Hello World! ๊ฐ ๋ค์ด ์์๋ค.
0.1. ํด๋น ํ์ผ์ ๋ฉ๋ชจ์ฅ์ผ๋ก ์ด์ด Bye World! ๋ฅผ ์ถ๊ฐํ๋ค.
1. ์ด์ ์ ๋งํฌ์์ ์๊ฐํ ๋ฐฉ๋ฒ์ผ๋ก Terminal ํญ์ ์ด์ด ์๋์ ๋ช ๋ น์ด๋ฅผ ์ํํ๋ค.
C:\Users\{์ฌ์ฉ์๊ณ์ }\AppData\Local\Android\Sdk\tools>adb -s emulator-5554 push C:\Temp\testFile.txt /sdcard/testDir/testFile.txt C:\Temp\testFile.txt: 1 file pushed, 0 skipped. 0.0 MB/s (26 bytes in 0.004s) |
2. ๊ฒฐ๊ณผ
๊ฐ๋จ!!!
๋๊ธ