Javascript 当构建apk版本为react native时,如何修复不推荐的Gradle?

Javascript 当构建apk版本为react native时,如何修复不推荐的Gradle?,javascript,android,react-native,gradle,Javascript,Android,React Native,Gradle,当开发人员流程中没有错误,但我想在react native上构建APK版本时,会发生错误 我试过clean gradle,但它仍然有错误,gradle native仍然不受欢迎 Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more

当开发人员流程中没有错误,但我想在react native上构建APK版本时,会发生错误

我试过clean gradle,但它仍然有错误,gradle native仍然不受欢迎

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 2m 1s
51 actionable tasks: 51 executed ```

I expectd for a solution so that the Build Release APK can react natively.

好的,它被修复了,因为我使用Svg文件。我可以问一下如何修复svg在生产环境中不显示的问题吗。我使用library react native remote svgok,因为我使用Svg文件,所以它被修复了。我可以问一下如何修复svg在生产环境中不显示的问题吗。我使用本机远程svg