I wrote an application for Galaxy Tab in Windows 7. I want to use the "adb shell" to view the files in my application "cordova.file.dataDirectory". I run adb shell without problems. The snippet below shows that even if a package is specified, there are "run-as" errors with an "unknown package".
shell@matissewifiue:/ $ pm list packages
...
package:org.simalliance.openmobileapi.service
package:org.crosswalkproject.xwalkembed
...
shell@matissewifiue:/ $ run-as org.crosswalkproject.xwalkembed
run-as: Package 'org.crosswalkproject.xwalkembed' is unknown
shell@matissewifiue:/ $
I get the same error, regardless of whether the shell is running as root. Why doesn't adb recognize the package in the run-as command?
Mikeb source
share