首页 > 解决方案 > 无法解决:com.loopj 当我尝试同步 android studio 时收到此消息。我是 http 异步依赖

问题描述

在此处输入代码:

apply plugin: 'com.android.application'

android {
  compileSdkVersion 27

defaultConfig {
    applicationId "com.londonappbrewery.climapm"
    minSdkVersion 16
    targetSdkVersion 27
    versionCode 1
    versionName "1.0"
}
buildTypes {
    release {
    }
  }
}

dependencies {
 implementation fileTree(dir: 'libs', include: ['*.jar'])
 testImplementation 'junit:junit:4.12'
 implementation 'com.android.support:appcompat-v7:27.1.1'
 implementation'com.loopj.andrdoid: android-async-http:1.4.9'

}

标签: android

解决方案


你应该把它改成

    implementation 'com.loopj.android:android-async-http:1.4.9'

推荐阅读