2017-09-05 85 views
0

为什么当我点击“run”时我的项目不能运行?同步失败 - 关于DatabindingBuilder的错误

我得到这个面板:

enter image description here

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' 
} 

LOGCAT

enter image description here

+0

您是否尝试关闭项目并重新导入项目? –

+1

你可以在你的消息窗口中查看有关更具体信息的错误... –

+0

我得到这个:Error:(1,0)android/databinding/tool/DataBindingBuilder Open File Bella

回答