有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

java Android Studio:Gradle构建完成,有251个错误

我有一个在Android Studio上成功运行的Android项目。问题是:具有讽刺意味的是,自从我重新安装了Windows之后,在我安装了包括Android Studio和其他支持库在内的所有东西之后,该项目从未成功构建

错误日志为:

Error:(3) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.Spinner.Underlined'.
Error:(3) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.Spinner.Underlined'.
D:\Users\Andy\AndroidstudioProjects\myapp\myapp\build\intermediates\res\merged\debug\values-v17\values-v17.xml
Error:(4, 21) No resource found that matches the given name: attr '安卓:textAlignment'.
Error:(8, 21) No resource found that matches the given name: attr '安卓:paddingEnd'.
Error:(11, 21) No resource found that matches the given name: attr '安卓:layout_marginEnd'.
Error:(14, 21) No resource found that matches the given name: attr '安卓:paddingEnd'.
Error:(17, 21) No resource found that matches the given name: attr '安卓:layout_marginStart'.
Error:(20, 21) No resource found that matches the given name: attr '安卓:layout_alignParentStart'.
Error:(21, 21) No resource found that matches the given name: attr '安卓:textAlignment'.
Error:(25, 21) No resource found that matches the given name: attr '安卓:paddingEnd'.
Error:(24, 21) No resource found that matches the given name: attr '安卓:paddingStart'.
Error:(28, 21) No resource found that matches the given name: attr '安卓:layout_alignParentStart'.
Error:(31, 21) No resource found that matches the given name: attr '安卓:layout_toStartOf'.
Error:(34, 21) No resource found that matches the given name: attr '安卓:layout_alignParentEnd'.
Error:(38, 21) No resource found that matches the given name: attr '安卓:layout_toEndOf'.
Error:(37, 21) No resource found that matches the given name: attr '安卓:layout_toStartOf'.
Error:(41, 21) No resource found that matches the given name: attr '安卓:layout_marginStart'.
Error:(45, 21) No resource found that matches the given name: attr '安卓:paddingEnd'.
Error:(44, 21) No resource found that matches the given name: attr '安卓:paddingStart'.
Error:(49, 21) No resource found that matches the given name: attr '安卓:paddingEnd'.
Error:(48, 21) No resource found that matches the given name: attr '安卓:paddingStart'.
Error:(4, 21) No resource found that matches the given name: attr '安卓:textAlignment'.
Error:(8, 21) No resource found that matches the given name: attr '安卓:paddingEnd'.
Error:(11, 21) No resource found that matches the given name: attr '安卓:layout_marginEnd'.
Error:(14, 21) No resource found that matches the given name: attr '安卓:paddingEnd'.
Error:(17, 21) No resource found that matches the given name: attr '安卓:layout_marginStart'.
Error:(20, 21) No resource found that matches the given name: attr '安卓:layout_alignParentStart'.
Error:(21, 21) No resource found that matches the given name: attr '安卓:textAlignment'.
Error:(25, 21) No resource found that matches the given name: attr '安卓:paddingEnd'.
Error:(24, 21) No resource found that matches the given name: attr '安卓:paddingStart'.
Error:(28, 21) No resource found that matches the given name: attr '安卓:layout_alignParentStart'.
Error:(31, 21) No resource found that matches the given name: attr '安卓:layout_toStartOf'.
Error:(34, 21) No resource found that matches the given name: attr '安卓:layout_alignParentEnd'.
Error:(38, 21) No resource found that matches the given name: attr '安卓:layout_toEndOf'.
Error:(37, 21) No resource found that matches the given name: attr '安卓:layout_toStartOf'.
Error:(41, 21) No resource found that matches the given name: attr '安卓:layout_marginStart'.
Error:(45, 21) No resource found that matches the given name: attr '安卓:paddingEnd'.
Error:(44, 21) No resource found that matches the given name: attr '安卓:paddingStart'.
Error:(49, 21) No resource found that matches the given name: attr '安卓:paddingEnd'.
Error:(48, 21) No resource found that matches the given name: attr '安卓:paddingStart'.
D:\Users\Andy\AndroidstudioProjects\myapp\myapp\build\intermediates\res\merged\debug\values-v21\values-v21.xml
Error:(13) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Inverse'.
Error:(15) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Large.Inverse'.
Error:(21) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Medium.Inverse'.
Error:(28) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Small.Inverse'.
Error:(212) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.ProgressBar'.
Error:(214) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.ProgressBar.Horizontal'.
Error:(222) Error retrieving parent for item: No resource found that matches the given name '安卓:Theme.Material'.
Error:(232) Error retrieving parent for item: No resource found that matches the given name '安卓:Theme.Material.Light'.
Error:(254) Error retrieving parent for item: No resource found that matches the given name '@安卓:style/Theme.Material.Light.DialogWhenLarge.NoActionBar'.
Error:(172) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.AutoCompleteTextView'.
Error:(185) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.EditText'.
Error:(6) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Button'.
Error:(3) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material'.
Error:(4) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Body1'.
Error:(5) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Body2'.
Error:(7) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Caption'.
Error:(8) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Display1'.
Error:(9) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Display2'.
Error:(10) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Display3'.
Error:(11) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Display4'.
Error:(12) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Headline'.
Error:(14) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Large'.
Error:(16) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.PopupMenu.Large'.
Error:(18) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.PopupMenu.Small'.
Error:(20) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Medium'.
Error:(22) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Menu'.
Error:(23) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.SearchResult.Subtitle'.
Error:(25) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.SearchResult.Title'.
Error:(27) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Small'.
Error:(29) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Subhead'.
Error:(30) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Title'.
Error:(31) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.ActionBar.Subtitle'.
Error:(33) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.ActionBar.Subtitle.Inverse'.
Error:(35) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.ActionBar.Title'.
Error:(37) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.ActionBar.Title.Inverse'.
Error:(39) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.ActionMode.Subtitle'.
Error:(41) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.ActionMode.Title'.
Error:(43) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.Button'.
Error:(49) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.PopupMenu.Large'.
Error:(51) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.PopupMenu.Small'.
Error:(53) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Button'.
Error:(54) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.TextView.SpinnerItem'.
Error:(55) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.ActionBar.Subtitle'.
Error:(57) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.ActionBar.Title'.
Error:(102, 21) No resource found that matches the given name: attr '安卓:colorAccent'.
Error:(106, 21) No resource found that matches the given name: attr '安卓:colorButtonNormal'.
Error:(104, 21) No resource found that matches the given name: attr '安卓:colorControlActivated'.
Error:(105, 21) No resource found that matches the given name: attr '安卓:colorControlHighlight'.
Error:(103, 21) No resource found that matches the given name: attr '安卓:colorControlNormal'.
Error:(100, 21) No resource found that matches the given name: attr '安卓:colorPrimary'.
Error:(101, 21) No resource found that matches the given name: attr '安卓:colorPrimaryDark'.
Error:(109, 21) No resource found that matches the given name: attr '安卓:windowElevation'.
Error:(149, 21) No resource found that matches the given name: attr '安卓:colorAccent'.
Error:(153, 21) No resource found that matches the given name: attr '安卓:colorButtonNormal'.
Error:(151, 21) No resource found that matches the given name: attr '安卓:colorControlActivated'.
Error:(152, 21) No resource found that matches the given name: attr '安卓:colorControlHighlight'.
Error:(150, 21) No resource found that matches the given name: attr '安卓:colorControlNormal'.
Error:(147, 21) No resource found that matches the given name: attr '安卓:colorPrimary'.
Error:(148, 21) No resource found that matches the given name: attr '安卓:colorPrimaryDark'.
Error:(156, 21) No resource found that matches the given name: attr '安卓:windowElevation'.
Error:(159, 21) No resource found that matches the given name: attr '安卓:windowElevation'.
Error:(161) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.ActionBar.TabText'.
Error:(163) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.ActionBar.TabView'.
Error:(165) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.ActionButton'.
Error:(167) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.ActionButton.CloseMode'.
Error:(170) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.ActionButton.Overflow'.
Error:(175) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.Button'.
Error:(176) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.Button.Borderless'.
Error:(177) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.Button.Borderless.Colored'.
Error:(180) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.Button.Small'.
Error:(181) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.ButtonBar'.
Error:(182) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.CompoundButton.CheckBox'.
Error:(183) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.CompoundButton.RadioButton'.
Error:(184) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.DropDownItem.Spinner'.
Error:(188) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.ImageButton'.
Error:(189) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.Light.ActionBar.TabText'.
Error:(191) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.Light.ActionBar.TabText'.
Error:(193) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.Light.ActionBar.TabView'.
Error:(195) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.Light.PopupMenu'.
Error:(199, 21) No resource found that matches the given name: attr '安卓:overlapAnchor'.
Error:(201) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.ListPopupWindow'.
Error:(203) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.ListView'.
Error:(204) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.ListView.DropDown'.
Error:(206) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.PopupMenu'.
Error:(210, 21) No resource found that matches the given name: attr '安卓:overlapAnchor'.
Error:(216) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.RatingBar'.
Error:(217) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.SeekBar'.
Error:(218) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.Spinner'.
Error:(219) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.TextView.SpinnerItem'.
Error:(220) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.Toolbar.Button.Navigation'.
Error:(246, 21) No resource found that matches the given name: attr '安卓:colorAccent'.
Error:(250, 21) No resource found that matches the given name: attr '安卓:colorButtonNormal'.
Error:(248, 21) No resource found that matches the given name: attr '安卓:colorControlActivated'.
Error:(249, 21) No resource found that matches the given name: attr '安卓:colorControlHighlight'.
Error:(247, 21) No resource found that matches the given name: attr '安卓:colorControlNormal'.
Error:(244, 21) No resource found that matches the given name: attr '安卓:colorPrimary'.
Error:(245, 21) No resource found that matches the given name: attr '安卓:colorPrimaryDark'.
Error:(13) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Inverse'.
Error:(15) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Large.Inverse'.
Error:(21) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Medium.Inverse'.
Error:(28) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Small.Inverse'.
Error:(212) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.ProgressBar'.
Error:(214) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.ProgressBar.Horizontal'.
Error:(222) Error retrieving parent for item: No resource found that matches the given name '安卓:Theme.Material'.
Error:(232) Error retrieving parent for item: No resource found that matches the given name '安卓:Theme.Material.Light'.
Error:(254) Error retrieving parent for item: No resource found that matches the given name '@安卓:style/Theme.Material.Light.DialogWhenLarge.NoActionBar'.
Error:(172) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.AutoCompleteTextView'.
Error:(185) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.EditText'.
Error:(6) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Button'.
Error:(3) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material'.
Error:(4) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Body1'.
Error:(5) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Body2'.
Error:(7) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Caption'.
Error:(8) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Display1'.
Error:(9) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Display2'.
Error:(10) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Display3'.
Error:(11) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Display4'.
Error:(12) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Headline'.
Error:(14) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Large'.
Error:(16) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.PopupMenu.Large'.
Error:(18) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.PopupMenu.Small'.
Error:(20) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Medium'.
Error:(22) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Menu'.
Error:(23) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.SearchResult.Subtitle'.
Error:(25) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.SearchResult.Title'.
Error:(27) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Small'.
Error:(29) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Subhead'.
Error:(30) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Title'.
Error:(31) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.ActionBar.Subtitle'.
Error:(33) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.ActionBar.Subtitle.Inverse'.
Error:(35) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.ActionBar.Title'.
Error:(37) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.ActionBar.Title.Inverse'.
Error:(39) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.ActionMode.Subtitle'.
Error:(41) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.ActionMode.Title'.
Error:(43) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.Button'.
Error:(49) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.PopupMenu.Large'.
Error:(51) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.PopupMenu.Small'.
Error:(53) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Button'.
Error:(54) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.TextView.SpinnerItem'.
Error:(55) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.ActionBar.Subtitle'.
Error:(57) Error retrieving parent for item: No resource found that matches the given name '安卓:TextAppearance.Material.Widget.ActionBar.Title'.
Error:(102, 21) No resource found that matches the given name: attr '安卓:colorAccent'.
Error:(106, 21) No resource found that matches the given name: attr '安卓:colorButtonNormal'.
Error:(104, 21) No resource found that matches the given name: attr '安卓:colorControlActivated'.
Error:(105, 21) No resource found that matches the given name: attr '安卓:colorControlHighlight'.
Error:(103, 21) No resource found that matches the given name: attr '安卓:colorControlNormal'.
Error:(100, 21) No resource found that matches the given name: attr '安卓:colorPrimary'.
Error:(101, 21) No resource found that matches the given name: attr '安卓:colorPrimaryDark'.
Error:(109, 21) No resource found that matches the given name: attr '安卓:windowElevation'.
Error:(149, 21) No resource found that matches the given name: attr '安卓:colorAccent'.
Error:(153, 21) No resource found that matches the given name: attr '安卓:colorButtonNormal'.
Error:(151, 21) No resource found that matches the given name: attr '安卓:colorControlActivated'.
Error:(152, 21) No resource found that matches the given name: attr '安卓:colorControlHighlight'.
Error:(150, 21) No resource found that matches the given name: attr '安卓:colorControlNormal'.
Error:(147, 21) No resource found that matches the given name: attr '安卓:colorPrimary'.
Error:(148, 21) No resource found that matches the given name: attr '安卓:colorPrimaryDark'.
Error:(156, 21) No resource found that matches the given name: attr '安卓:windowElevation'.
Error:(159, 21) No resource found that matches the given name: attr '安卓:windowElevation'.
Error:(161) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.ActionBar.TabText'.
Error:(163) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.ActionBar.TabView'.
Error:(165) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.ActionButton'.
Error:(167) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.ActionButton.CloseMode'.
Error:(170) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.ActionButton.Overflow'.
Error:(175) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.Button'.
Error:(176) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.Button.Borderless'.
Error:(177) Error retrieving parent for item: No resource found that matches the given name '安卓:Widget.Material.Button.Borderless.Colored'.
.
.  
.

这是我的身材。渐变文件:

buildscript {
    repositories {
        maven { url 'https://maven.fabric.io/public' }
    }

    dependencies {
        classpath 'io.fabric.tools:gradle:1.+'
    }
}
apply plugin: 'com.安卓.application'
apply plugin: 'io.fabric'

repositories {
    maven { url 'https://maven.fabric.io/public' }
}


安卓 {
    compileSdkVersion 16
    buildToolsVersion '21.0.1'
    defaultConfig {
        applicationId "com.my.app
        minSdkVersion 16
        targetSdkVersion 19
    }

    buildTypes {
        release {
            minifyEnabled false
            //proguardFiles getDefaultProguardFile('proguard-安卓.txt'), 'proguard-rules.txt'
        }
        debug {
            debuggable true
        }
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_6
        targetCompatibility JavaVersion.VERSION_1_6
    }
}

dependencies {
    compile project(':facebookSDK')
    compile 'com.安卓.support:support-v4:+'
    compile 'com.google.安卓.gms:play-services:+'
    compile files('libs/AndroidEasingFunctions-1.0.0.jar')
    compile files('libs/AndroidViewAnimations-1.1.3.jar')
    compile files('libs/httpclient-4.3.6.jar')
    compile files('libs/kenburnsview-1.0.3.jar')
    compile files('libs/NineOldAndroid-2.4.0.jar')
    compile files('libs/universal-image-loader-1.9.3.jar')
    compile('com.crashlytics.sdk.安卓:crashlytics:2.3.0@aar') {
        transitive = true;
    }
    compile files('libs/TapForTap.jar')
    compile files('libs/Parse-1.9.1.jar')
    compile files('libs/ParseFacebookUtilsV3-1.9.1.jar')
    compile files('libs/ParseCrashReporting-1.9.1.jar')
}

如果有人知道为什么构建突然变得疯狂,以及如何修复它的任何线索

在Windows重新安装之前和之后,我没有更改任何内容


共 (1) 个答案

  1. # 1 楼答案

    compileSdkVersion更改为最新版本(目前为25),将buildToolsVersion更改为匹配版本(目前为25.0.2)。然后,将依赖项版本上的+替换为实际版本号:

    compile 'com.android.support:support-v4:+'
    compile 'com.google.android.gms:play-services:+'
    

    support-v4的情况下,目前是25.1.1。我忘记了最新的版本号是什么

    目前,您正在引入一个比您的compileSdkVersion工作环境更新的support-v4