qiuxiang / react-native-amap3d

react-native 高德地图组件,使用最新 3D SDK,支持 Android + iOS
https://qiuxiang.github.io/react-native-amap3d/api/
MIT License
1.28k stars 331 forks source link

app:transformClassesWithDexForDebug FAILED #221

Closed LukeChenyk closed 6 years ago

LukeChenyk commented 6 years ago

正在使用的版本、RN 版本、设备信息 "react": "16.0.0", "react-native": "0.51.0", android 6.0.0 使用了yarn add react-native-amap3d 然后 react-native link react-native-amap3d 再AndroidManifest.xml加了 <meta-data android:name="com.amap.api.v2.apikey" android:value="我的key"/>

错误信息: :app:transformClassesWithDexForDebug FAILED
FAILURE: Build failed with an exception.
*What went wrong:
Execution failed for task ':app:transformClassesWithDexForDebug'.

com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException

qiuxiang commented 6 years ago

https://github.com/qiuxiang/react-native-amap3d/issues?q=is%3Aissue+transformClassesWithDexForDebug+is%3Aclosed