jpush / janalytics-react-native

MIT License
51 stars 21 forks source link

JAnalyticsPackage.java:27: 错误: 方法不会覆盖或实现超类型的方法 #20

Closed Riant closed 6 years ago

Riant commented 6 years ago

Build 失败,提示如下错误:

D:\...\node_modules\janalytics-react-native\android\src\main\java\cn\jpush\reactnativejanalytics\JAnalyticsPackage.java:27: 错误: 方法不会覆盖或实现超类型的方法
    @Override
    ^
1 个错误
:janalytics-react-native:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':janalytics-react-native:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

最后通过移除 JAnalyticsPackage.java:27行的 @Override 解决,请问是否如理,或者是否会造成其他问题?

谢谢。

KenChoi1992 commented 6 years ago

@Riant 不会,下个版本修复。

Riant commented 6 years ago

谢谢。