java - :app:processDebugResources Error in Android Studio

标签 java android windows

不太清楚为什么我不断收到此错误: errors

经过一番搜索,问题似乎出在我的 build.gradle 文件中,但我找不到它。我已附上该文件,但还附上了我的错误的屏幕截图,以防我遗漏了某些内容。 但这并没有改变任何事情。

Build.gradle 文件如下:

apply plugin: 'com.android.application'

android {
    compileSdkVersion 28
    buildToolsVersion "28.0.0"
    defaultConfig {
        applicationId "com.cormac.splashscreen"
        minSdkVersion 17
        targetSdkVersion 28
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
       }
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'com.android.support:appcompat-v7:28.0.0-alpha3'
    implementation 'com.android.support.constraint:constraint-layout:1.1.2'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}

最佳答案

引用这个网站

https://github.com/thevarungupta1/Android-Training-2/blob/master/SplashScreen/app/build.gradle

你好像忘了

implementation 'com.android.support:support-v4:28.0.0-alpha3'

关于java - :app:processDebugResources Error in Android Studio,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51212903/

相关文章:

java - 使用 maven-checkstyle-plugin 时如何抑制 maven 输出中的警告?

windows-7 - 注册DLL时出错

javascript - 使用 Java Selenium WebDriver 获取网页使用的 javascript 的名称

java - 调用类的接口(interface)方法

android - 无法在 Intellij 中调试 android 应用程序 : "Warning: debug info can be unavailable."

android - 拖动后如何将布局恢复到其在android中的原始位置

java - 在哪里可以找到 SysLog 输出?

在 Windows 机器上用 C 语言与 Arduino 芯片通信

java - 绘制一个 JButton 使其看起来像 JLabel(或者至少没有按钮边缘?)

java - 如何在jni文件夹中创建java类?是否可以?