我使用Android Studio在窗口10中编写了一个简单的hello world应用程序。当我尝试运行模拟器时,应用程序停止在模拟器中运行。以下是在构建输出中显示的一些错误消息。
如何解决此已过时的问题?
Changing the value for a property with a final value has been deprecated. This will fail with an error in Gradle 6.0.
at org.gradle.api.internal.provider.AbstractProperty.beforeMutate(AbstractProperty.java:86)
at org.gradle.api.internal.provider.DefaultPropertyState.set(DefaultPropertyState.java:50)
at org.gradle.api.internal.file.DefaultFilePropertyFactory$DefaultDirectoryVar.set(DefaultFilePropertyFactory.java:253)
at com.android.build.gradle.internal.scope.ProducersMap$Producer.resolve(ProducersMap.kt:148)
at com.android.build.gradle.internal.scope.ProducersMap$Producers.resolveAll(ProducersMap.kt:101)