任何人都可以帮助这个错误是什么以及如何解决它。因为我已经搜索了许多互联网解决方案,但没有人工作。
未能通知项目评估侦听器。groovy.lang.missingpropertyexception:没有这样的属性:类的作用域:com.android.build.gradle.internal.variant.applicationvariantdata org.gradle.api.tasks.taskinputs.property(ljava/lang/string;ljava/lang/object;)lorg/gradle/api/任务/任务输入;
build.gradle(:app)文件。
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.+'
}
}
repositories {
maven { url 'https://maven.fabric.io/public' }
}
apply plugin: 'org.greenrobot.greendao'
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.idev4.kashf"
minSdkVersion 22
targetSdkVersion 28
versionCode 252
versionName "1.1.10x"
testInstrumentationRunner "android.support.list_cell_tasks.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
targetCompatibility 1.8
sourceCompatibility 1.8
}
}
greendao {
schemaVersion 8
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0-alpha3'
implementation 'com.android.support:support-v4:28.0.0-alpha3'
implementation 'com.android.support:design:28.0.0-alpha3'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation 'org.apache.commons:commons-io:1.3.2'
implementation 'org.apache.commons:commons-lang3:3.6'
implementation 'com.google.firebase:firebase-crash:11.8.0'
testImplementation 'junit:junit:4.12'
/------------------------------
* UI and Java class linking *
*----------------------------- /
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
/------------------------------------------------------
* Make image circular -> used in navigation drawer *
------------------------------------------------------ /
implementation 'de.hdodenhof:circleimageview:2.2.0'
/--------------------------------------------
* Animation used fot "Please Wait" Dialog *
-------------------------------------------- /
implementation 'com.github.ybq:Android-SpinKit:1.2.0'
/------------------------
* Searchable Spinners *
------------------------ /
implementation 'com.toptoche.searchablespinner:searchablespinnerlibrary:1.3.1'
/---------------------------------------
* DB ORM (Object-relational mapping) *
--------------------------------------- /
implementation 'org.greenrobot:greendao:3.2.2'
/------------------------------
* Image Compression Library *
------------------------------ /
implementation 'id.zelory:compressor:2.1.0'
implementation 'com.github.chrisbanes:PhotoView:2.1.3'
/---------------------------
* Server Requests Library *
--------------------------- /
implementation 'com.android.volley:volley:1.1.1'
/---------------------------
* Validation Library *
--------------------------- /
implementation 'com.mobsandgeeks:android-saripaar:2.0.3'
/---------------------------
* Numeric Field Library *
--------------------------- /
implementation 'com.aldoapps:autoformatedittext:0.9.3'
/---------------------------
* GSON Library for parsing*
--------------------------- /
implementation 'com.google.code.gson:gson:2.8.5'
implementation('com.crashlytics.sdk.android:crashlytics:17.2.2@aar') {
transitive = true;
}
}
apply plugin: 'com.google.gms.google-services'
build.grade(:android)
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.0'
classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.google.gms:google-services:3.2.0'
}
}
allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
暂无答案!
目前还没有任何答案,快来回答吧!