Configuration
:app:debugRuntimeClasspathcontains AndroidX dependencies, but the
android.useAndroidX property is not enabled, which may cause runtime issues. Set
android.useAndroidX=truein the
gradle.properties file and retry. The following AndroidX dependencies are detected: :app:debugRuntimeClasspath -> androidx.core:core:1.7.0 :app:debugRuntimeClasspath -> androidx.annotation:annotation:1.2.0 :app:debugRuntimeClasspath -> androidx.annotation:annotation-experimental:1.1.0 :app:debugRuntimeClasspath -> androidx.lifecycle:lifecycle-runtime:2.3.1 :app:debugRuntimeClasspath -> androidx.arch.core:core-runtime:2.1.0 :app:debugRuntimeClasspath -> androidx.arch.core:core-common:2.1.0 :app:debugRuntimeClasspath -> androidx.lifecycle:lifecycle-common:2.3.1 :app:debugRuntimeClasspath -> androidx.core:core:1.7.0 -> androidx.versionedparcelable:versionedparcelable:1.1.1 :app:debugRuntimeClasspath -> androidx.core:core:1.7.0 -> androidx.collection:collection:1.0.0 :app:debugRuntimeClasspath -> androidx.core:core:1.7.0 -> androidx.concurrent:concurrent-futures:1.0.0
但是我已经使用了
android.useAndroidX=true android.enableJetifier=true
还是出现这个问题,请问怎么解决
能够编译通过并且我这个普通应用可以使用NotificationCompat
user24945493 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.