小编Gab*_*fia的帖子

任务:app:copyReactNativeVectorIconFonts 失败

你好,我正在编写一个react-native,其中assembleDebug可以工作,但assembleRealease则不行。我不知道为什么会发生这种情况&我在互联网上的解决方案不起作用

我能做些什么?

> Task :app:copyReactNativeVectorIconFonts FAILED                                                                                                  

FAILURE: Build failed with an exception.

* What went wrong:
Some problems were found with the configuration of task ':app:copyReactNativeVectorIconFonts' (type 'Copy').
  - Gradle detected a problem with the following location: 'D:\Cosas\UTN\APPMOVIL\HayEquipo\hayEquipo\android\app\build\intermediates\ReactNativeVectorIcons\fonts'.

    Reason: Task ':app:lintVitalReportRelease' uses this output of task ':app:copyReactNativeVectorIconFonts' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

    Possible solutions:
      1. Declare task ':app:copyReactNativeVectorIconFonts' as an input of …
Run Code Online (Sandbox Code Playgroud)

android gradle apk assemble react-native

1
推荐指数
1
解决办法
3399
查看次数

标签 统计

android ×1

apk ×1

assemble ×1

gradle ×1

react-native ×1