Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译失败 #10

Open
zhangjunhou opened this issue Dec 2, 2016 · 4 comments
Open

编译失败 #10

zhangjunhou opened this issue Dec 2, 2016 · 4 comments

Comments

@zhangjunhou
Copy link

:AirMaps:prepareReleaseDependencies
:AirMaps:compileReleaseAidl
:AirMaps:compileReleaseRenderscript
:AirMaps:generateReleaseBuildConfig
:AirMaps:generateReleaseAssets UP-TO-DATE
:AirMaps:mergeReleaseAssets
:AirMaps:generateReleaseResValues
:AirMaps:generateReleaseResources
:AirMaps:mergeReleaseResources
:AirMaps:processReleaseManifest
:AirMaps:processReleaseResources
:AirMaps:generateReleaseSources
:AirMaps:processReleaseJavaRes UP-TO-DATE
:AirMaps:compileReleaseJavaWithJavac
/Users/zhangjunhou/JJWallet/node_modules/react-native-amap-view/android/src/main/java/com/dianwoba/rctamap/RegionChangeEvent.java:17: 错误: 对于Event(int,long), 找不到合适的构造器
super(id, System.currentTimeMillis());
^
构造器 Event.Event()不适用
(实际参数列表和形式参数列表长度不同)
构造器 Event.Event(int)不适用
(实际参数列表和形式参数列表长度不同)
注: 某些输入文件使用了未经检查或不安全的操作。
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
1 个错误
:AirMaps:compileReleaseJavaWithJavac FAILED

@marshalYuan
Copy link
Member

不要尝试编译__example里面的内容,想看demo,可以看下example里面的内容

@daffy6537
Copy link

我把RN从 0.30 升级到 0.34 后也出现了这个问题,30是可以编译的,34不行

@daffy6537
Copy link

是不兼容34吗?

@zxc122333
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants