- How to access app files from internal storage
- adb shell
- run-as com.yourapp.package-name
- Now you can navigate to the app_<app_name> folder and go through the files.
- Copy file from desktop to device sdcard
- adb push d:\temp\delnow\console.log /sdcard
- Move file from sdcard to internal storage
- adb shell
- run-as com.sanjith.carcare
- mv /sdcard/console.log ./app_CarCare/.
- Application log viewing
- adb logcat | findstr "com.example.app"
- adb -d logcat | findstr "com.example.app" > C:\file-path
- Next
Tuesday, April 4, 2017
Android Development Tips
Monday, April 3, 2017
Subscribe to:
Posts (Atom)
