Android任务:app:lint-运行时JAR文件的版本早于API版本所需的版本

Android任务:app:lint-运行时JAR文件的版本早于API版本所需的版本,android,react-native,kotlin,gradle,Android,React Native,Kotlin,Gradle,我试图用React Native构建一个Android应用程序。在添加Facebook登录功能时,我遇到了一个奇怪的问题,出现了以下错误: > Task :app:lint w: Runtime JAR files in the classpath have the version 1.3, which is older than the API version 1.4. Consider using the runtime of version 1.4, or pass '-api-ve

我试图用React Native构建一个Android应用程序。在添加Facebook登录功能时,我遇到了一个奇怪的问题,出现了以下错误:

> Task :app:lint
w: Runtime JAR files in the classpath have the version 1.3, which is older than the API version 1.4. Consider using the runtime of version 1.4, or pass '-api-version 1.3' explicitly to restrict the available APIs to the runtime of version 1.3. You can also pass '-language-version 1.3' instead, which will restrict not only the APIs to the specified version, but also the language features
w: C:\Users\your-machine\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib-common\1.3.31\20c34a04ea25cb1ef0139598bd67c764562cb170\kotlin-stdlib-common-1.3.31.jar: Runtime JAR file has version 1.3 which is older than required for API version 1.4
w: C:\Users\your-machine\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib-jdk7\1.3.31\e652770b6416c6d85934086899ffed3eccd35813\kotlin-stdlib-jdk7-1.3.31.jar: Runtime JAR file has version 1.3 which is older than required for API version 1.4
w: C:\Users\your-machine\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib\1.3.31\11289d20fd95ae219333f3456072be9f081c30cc\kotlin-stdlib-1.3.31.jar: Runtime JAR file has version 1.3 which is older than required for API version 1.4
w: C:\Users\your-machine\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib-common\1.3.31\20c34a04ea25cb1ef0139598bd67c764562cb170\kotlin-stdlib-common-1.3.31.jar: Runtime JAR file has version 1.3 which is older than required for API version 1.4
我知道这与我的Kotlin配置有关,但到目前为止,我还没有单独完成任何配置。这是React Native附带的所有默认设置


有什么问题以及如何解决的建议吗?

检查日志中提到的依赖项版本 例如:\kotlin stdlib common增加了1.3.31版本,其中最新版本为1.4

将build.gradle文件中的依赖项更改为最新版本,或检查maven依赖项注入文件中是否有实例(如果使用)

并对该项目进行了重新评估