alibaba / GCanvas

A lightweight cross-platform graphics rendering engine. (超轻量的跨平台图形引擎) https://alibaba.github.io/GCanvas
Apache License 2.0
1.88k stars 208 forks source link

Android won't compile #180

Open Datagrdn opened 4 years ago

Datagrdn commented 4 years ago

I've been looking through the Android issues, I also get the error:

A problem occurred evaluating project ':react-native-gcanvas'.

Extension with name 'sdks' does not exist. Currently registered extension names: [ext, _internalAndroidGradlePluginDependencyCheckerRegistered]

when trying to follow from the https://alibaba.github.io/GCanvas/docs/Integrate%20GCanvas%20on%20ReactNative.html

Trying this be created a RN project with react-native init

Has anyone successfully run this on Android? If so what can I do to get started?

jwxbond commented 4 years ago

ReactNative will not maintance, you can implement a RN component by yourself

flyskywhy commented 3 years ago

@Datagrdn

Since Alibaba feat: delete weex bridge & reactive bridge, here comes the @flyskywhy/react-native-gcanvas npm package.

After months work, @flyskywhy/react-native-gcanvas runs well on Android and iOS, fix several bugs and add feat: support drawImage() from require('some.png') on Android, iOS and Web described in Changelog.md, refactor with the detailed Example As Usage in README.md.

With Performance Test Result, and Convenient With Browser-like canvas APIs with the easily <canvas/> ported example react-native-particles-bg runs on Android, iOS and Web, @flyskywhy/react-native-gcanvas is the best choice for now :yum:

Datagrdn commented 3 years ago

Thank you so much for the update!

Congratulations on the release, I'm very excited to check this out!