2013-07-11 3 views
2

나는 대상 패키지의의 sharedUserId는 "android.uid.system"안드로이드 단위 테스트를 실행할 수 없습니다

것을 테스트를 실행 한 문제를 가지고 때 쉘에 입력하십시오

adb shell am instrument -w -e class com.lewa.security2.holder.ClearanceHolderTest  com.lewa.dunit.test/android.test.InstrumentationTestRunner 

절대 결과를 반환하지 않습니다.

하지만 난 "android.uid.system", 그것은 단지 하나가 나를 도울 수

작동 제거 할 때?

답변

0

응용 프로그램을 죽인 후에 안드로이드의 단위 테스트를 실행해야합니다. 그러나 shareduid가있는 응용 프로그램 android.uid.system은이 방법으로 삭제할 수 없습니다. 그래서 단위 테스트를 실행하기 전에 응용 프로그램을 강제 종료해야합니다.

관련 문제