如何集成七牛云到React Native项目

新手上路,请多包涵

如题,我下载了下载了react-native-pili,安卓项目通过react-native link进行集成,IOS通过pod文件进行集成,
IOS集成后编译通过,进入项目,在引用Streaming组件的View中会出现闪退.

安卓端编译过程提示
Full recompilation is required because at least one of the classes of removed jar 'classes.jar' requires it. Analysis took 0.13 secs.
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
注: 某些输入文件使用了未经检查或不安全的操作。
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。

  • What went wrong:
    Execution failed for task ':app:transformClassesWithDexForRelease'.

com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lcom/qiniu/pili/droid/streaming/AVCodecType;

阅读 2.2k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题