小编Rom*_*don的帖子

(React Native): 任务':app:generatePackageList' 执行失败

我正在生成我使用 React Native 开发的项目的 apk。但是当我运行命令时./gradlew assembleRelease出现以下错误:

> Configure project :react-native-audio
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed in version 5.0 of the Android Gradle plugin.
For more information, see http://d.android.com/r/tools/update-dependency-configurations.html.

> Task :app:generatePackageList FAILED

FAILURE: Build failed with an exception.

* Where:
Script 'C:\Users\romer\ProjetoAP\Gravador\teste\Gravador_de_audio\node_modules\@react-native-community\cli-platform-android\native_modules.gradle' line: 131

* What went wrong:
Execution failed for task ':app:generatePackageList'.
> argument type mismatch

* Try:
Run with --stacktrace option to get the …
Run Code Online (Sandbox Code Playgroud)

javascript android execution gradle react-native

6
推荐指数
3
解决办法
4116
查看次数

标签 统计

android ×1

execution ×1

gradle ×1

javascript ×1

react-native ×1