gradle.properties文件 添加 android.injected.testOnly=false -AndroidManifest.xml 清单文件 在application添加中添加 android:testOnly=“false” 奥利给! 完美解决 撒花完结~