1

我正在尝试将运行在 v 0.61.5 的 react 本机应用程序中的图像分享到 Instagram 故事中。为此,我使用版本 ^0.4.0 的 react-native-story-share 库。

我已经完成了库的整个实现,这向我展示了一些错误。起初我认为错误与它自己的 lib 的实现有关,但是当我删除实现并执行 react-native run-android 时,它显示以下错误:

Could not determine the dependencies of task ':app:preDebugBuild'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
   > Could not find com.snapchat.kit.sdk:creative:1.1.4.

如果我不删除执行过程,会出现以下错误:

Execution failed for task ':app:generateDebugBuildConfig'.
> org.xml.sax.SAXParseException; systemId: file:/C:/Users/.../android/app/src/main/AndroidManifest.xml; lineNumber: 17; columnNumber: 11; O atributo "name" vinculado ao namespace "http://schemas.android.com/apk/res/android" j� foi especificado para o elemento "meta-data".

这可能是因为我已经使用了 facebook 的元数据名称,当不使用 lib 中建议的元数据时,会发生以下错误:

 What went wrong:
Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [com.snapchat.kit.sdk:creative:1.1.4]

我正在处理这 3 个错误,但在处理它时我一无所知。我尝试打开 snapchat 文档,但也找不到与此问题相关的任何内容。在 lib 的文档中也没有与此类问题相关的内容

4

0 回答 0