run-as says 'package is unknown' after upgrading Android to 4.3

razor picture razor · Aug 3, 2013 · Viewed 17.9k times · Source

I have a simple script that downloads database from phone to my PC it uses 'run-as', it worked well, but now, run-as says 'package is unknown' my application is installed on device, nothing changed, just Android was updated to 4.3

Do you have the same problems? how to bypass this or resolve ?

Answer

Paul Beusterien picture Paul Beusterien · Aug 7, 2013

We ran into the missing run-as problem when the Galaxy S4 released without it. We were using run-as to start a gdbserver for app debugging.

We worked around the issue by starting gdbserver as an Android service. More details at run-as Package 'a.b.c' is unknown - Galaxy S4 Jellybean or Android 4.3