`

android studio编译提示的问题解决

阅读更多
1.Could not resolve all files for configuration ':app:debugAndroidTestRuntimeClasspath'.
> Could not find common.jar (android.arch.core:common:1.1.0).

解决办法:
repositories {
        //增加
        maven { url 'https://maven.google.com' }
}


2. Android testonly一直为true的问题  [Failure [INSTALL_FAILED_TEST_ONLY]]
  
   正确的做法是,选择Build APK(s) 而不是平时那样点击编译的三角形箭头,然后拷贝build/outapk/

   如果要adb 覆盖安装,就需要选择编译apk
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics