flyskywhy / react-native-gcanvas

react native canvas based on gpu opengl glsl GCanvas -- A lightweight cross-platform graphics rendering engine. (超轻量的跨平台图形引擎)
Apache License 2.0
210 stars 21 forks source link

安装插件后运行项目失败 #49

Closed QianRuijin closed 1 year ago

QianRuijin commented 2 years ago

RN 使用原生环境,版本:0.69 按照 Getting Started 介绍配置 Android, 运行时提示错误如下:

FAILURE: Build failed with an exception.

* Where:
Build file 'D:\canvasProject\node_modules\@flyskywhy\react-native-gcanvas\android\build.gradle' line: 29

* What went wrong:
A problem occurred evaluating project ':flyskywhy_react-native-gcanvas'.
> Project with path ':android:gcanvas_library' could not be found in project ':flyskywhy_react-native-gcanvas'.

试了好久都不能解决,所以请教有什么处理方法吗

flyskywhy commented 2 years ago

如果你确实在 android/settings.gradle 中进行了配置,还出现这个错误的话,要不你先试试 RN0.63.2 ?因为我不确定 0.69 中是否有幺蛾子