在使用 Openinstall 上传 APK 包,提示:

当前apk为testOnly包,只能通过adb来安装

 

我的解决方法:

在 gradle.propeties 中加入下面代码:


android.injected.testOnly=false