作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
有很多“喋喋不休”,但我没有为我的项目找到答案。
在我的项目中使用 Crashlytics 执行 Gradle 同步时,Gradle 无法同步。我还有其他很好的项目,当我“区分”build.gradle 文件和其他 Android Studio 设置时,它们具有与 Crashlytics 相关的相同值和设置。
A problem occurred configuring project ':app'.
> org.gradle.api.GradleException: Crashlytics could not determine stripped/unstripped native library directories for project ':app', variant Debug. These are required for generating symbol files when NDK build tasks cannot be automatically inferred. Please specify strippedNativeLibsDir and unstrippedNativeLibsDir in the firebaseCrashlytics extension.
我不是在找人来对我的配置进行分类,而是想知道在我的项目文件中的何处可以找到“firebaseCrashlytics 扩展”及其配置以及已剥离和未剥离的文件在哪里,以便我可以提供路径?如果您从文档中知道答案,请分享链接。
最佳答案
确保您的 android/app/build.gradle
有以下内容:
release {
// ...
firebaseCrashlytics {
nativeSymbolUploadEnabled true
strippedNativeLibsDir 'build/intermediates/stripped_native_libs/release/out/lib'
unstrippedNativeLibsDir 'build/intermediates/merged_native_libs/release/out/lib'
}
// ...
}
见
https://github.com/invertase/react-native-firebase/issues/4253#issuecomment-797187492
关于android-studio - GradleException : Crashlytics could not determine stripped/unstripped native library directories,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65961515/
有很多“喋喋不休”,但我没有为我的项目找到答案。 在我的项目中使用 Crashlytics 执行 Gradle 同步时,Gradle 无法同步。我还有其他很好的项目,当我“区分”build.gradl
我是一名优秀的程序员,十分优秀!