摘要: 1)报错信息:Injecting to another application requires INJECT_EVENTS permission 2)解决方案: 开发者选项里面 》打开USB调试(安全设置) 备注:打开这个就允许通过USB调试修改权限或模拟点击事件了 阅读全文
posted @ 2020-09-22 09:50 xmmc 阅读(2192) 评论(0) 推荐(0) 编辑
摘要: 步骤一:在build.gradle(:app)中增加 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 步骤二:在build.gradle(:app)中增加 testImplementation 'junit:ju 阅读全文
posted @ 2020-09-22 09:45 xmmc 阅读(295) 评论(0) 推荐(0) 编辑