我试图在我的android项目中导入新的库模块(使用android studio),它没有任何问题,但是当我导入它时我有这个错误(当试图同步gradle时):
Run Code Online (Sandbox Code Playgroud)Gradle sync failed: Unable to load class 'org.gradle.internal.logging.LoggingManagerInternal'.
bulid.gradle for module
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
applicationId "com.amazon.mysampleapp"
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
multiDexEnabled = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
debuggable true
}
}
lintOptions {
abortOnError false
}
sourceCompatibility = 1.7
targetCompatibility = 1.7
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile fileTree(include: ['*.jar'], dir: 'app/libs')
compile 'com.android.support:appcompat-v7:23.1.0' …Run Code Online (Sandbox Code Playgroud) java android android-studio android-gradle-plugin gradle-plugin