Android ошибка выдачи студии при установке нового parse sdk - PullRequest
1 голос
/ 21 июня 2020

Я попытался использовать новый sdk синтаксического анализа из github, но после установки android studio выдает ошибку ниже.

Ошибка: не найден идентификатор ресурса для атрибута appComponentFactory в пакете 'android' Ошибка: Не удалось выполнить задачу ': app: processDebugResources'.

com. android .ide.common.process.ProcessException: не удалось выполнить aapt

Присоединение градиента файлы. Пожалуйста, помогите, если есть какие-либо проблемы, которые необходимо исправить.

App gradle

apply plugin: 'com.android.application'

android {
    compileSdkVersion 27
    buildToolsVersion "27.0.3"
    defaultConfig {
        applicationId "com.example.ashwini.test"
        minSdkVersion 14
        targetSdkVersion 27
        versionCode 1
        versionName "1.0"
        multiDexEnabled true
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    aaptOptions {
        cruncherEnabled = false
    }
    dexOptions {
        javaMaxHeapSize "4g"
    }
    buildTypes {
        release {
            minifyEnabled true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })
    compile 'com.android.support:appcompat-v7:27.0.0'
    compile 'com.android.support.constraint:constraint-layout:1.0.2'
    compile 'com.github.parse-community.Parse-SDK-Android:parse:1.23.0'

    testCompile 'junit:junit:4.12'
}


Module gradle:

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        jcenter()
        mavenCentral()
        maven {
            url 'https://maven.google.com'
        }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.3.3'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        mavenCentral()
        jcenter()
        maven {url 'http://jitpack.io'}
        maven { url "https://oss.sonatype.org/content/repositories/snapshots" }

        maven {
            url 'https://maven.google.com'
        }
    }
}

ext {
    compileSdkVersion = 27
    buildToolsVersion = "27.0.3"


}

task clean(type: Delete) {
    delete rootProject.buildDir
}
...