点击" run
"为什么我的项目没有运行?
我得到这个小组:
的build.gradle:
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion '25.0.3'
defaultConfig {
applicationId "info.androidhive.materialtabs"
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
dataBinding{
enabled = true
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.android.support:design:23.3.0'
compile 'com.android.support:support-v4:23.3.0'
compile files('libs/tinydb-0.0.9.jar')
compile files('libs/droidText.0.2.jar')
compile files('libs/gson-2.2.2.jar')
compile files('libs/jipsi.jar')
// compile 'com.android.support:appcompat-v7:23.1.1'
// compile 'com.android.support:design:23.1.1'
compile 'com.mcxiaoke.volley:library-aar:1.0.0'
compile 'net.gotev:uploadservice:2.1'
compile files('libs/jipsi_055b734e299151494aa487f8b477464882efb509.jar')
//compile 'com.android.support:design:23.3.0'
}
AND
logcat的
答案 0 :(得分:0)
确保在项目级别中添加build.gradle jcenter(),如此
allprojects { repositories { mavenCentral() jcenter() }}
同时检查此
Gradle couldn't find com.android.databinding:dataBinder:1.0-rc0
这对你有帮助。