用re-sign工具重新签名之后,创建了测试项目运行后出现下面错误:
Test run failed: Permission Denial: starting instrumentation ComponentInfo{com.rainy.imagetomp4.test/android.test.InstrumentationTestRunner} from pid=3220, uid=3220 not allowed because package com.rainy.imagetomp4.test does not have a signature matching the target com.dianping.v1
我用的是真机,没用模拟器,这个有影响么?而且我的preference-->build-->default debug keystore路径是:C:\Users\Administrator\.android\debug.keystore