无法解析:com.magnet.mmx:magnet mmx客户端android:1.9.1
build.gradle(项目:) 无法从build.gradle解析com.magnet.mmx:magnet mmx客户端android:1.9.1 build.gradle(模块:)无法解析:com.magnet.mmx:magnet mmx客户端android:1.9.1,android,android-studio,android-gradle-plugin,build.gradle,Android,Android Studio,Android Gradle Plugin,Build.gradle,build.gradle(项目:) 无法从build.gradle解析com.magnet.mmx:magnet mmx客户端android:1.9.1 build.gradle(模块:) 在应用程序的build.gradle中,使用以下命令: repositories { maven { url "http://repo.magnet.com:8081/artifactory/public/" } mavenLocal() mavenCentra
在应用程序的
build.gradle
中,使用以下命令:
repositories {
maven {
url "http://repo.magnet.com:8081/artifactory/public/"
}
mavenLocal()
mavenCentral()
}
dependencies {
compile('com.magnet.mmx:magnet-mmx-client-android:1.9.1@aar') {
transitive = true
}
}
您还可以在此URL中找到依赖项,
您有问题吗?无法复制,工作正常
buildscript {
repositories {
jcenter{
url "http://jcenter.bintray.com/"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter{
url "http://jcenter.bintray.com/"
}
mavenLocal()
maven {
url "https://repo.magnet.com/artifactory/public"
}
}
}
repositories {
maven {
url "http://repo.magnet.com:8081/artifactory/public/"
}
mavenLocal()
mavenCentral()
}
dependencies {
compile('com.magnet.mmx:magnet-mmx-client-android:1.9.1@aar') {
transitive = true
}
}