Appium run with android app which sharedUserId is android.uid.system

Hi All:

I am a new tester, just run Appium for few days.

The sample code is working well in android 4.4. (appium/sample-code/tree/master/sample-code/examples/java/junit)

If we want to test any apk, we need the appPackage name and appActivity name to set in capabilities.

But the problem is, how to start in system app when the android:sharedUserId is “android.uid.system”.

Any ideas? Thanks.