Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
347 views
in Technique[技术] by (71.8m points)

android - :app:generateCrashlyticsSymbolFileRelease error: Unstripped native library path required by generateCrashlyticsSymbolFileRelease does not exist:

I'm using firebase crashlytics gradle plugin 2.4.1. My app's build.gradle contains this:

android {
    buildTypes {
        release {
            firebaseCrashlytics {
                mappingFileUploadEnabled true
                nativeSymbolUploadEnabled true
                unstrippedNativeLibsDir "build/intermediates/merged_native_libs/release/out/lib/"
                strippedNativeLibsDir "build/intermediates/stripped_native_libs/release/out/lib/"
            }
        }
    }
}

However when running :app:generateCrashlyticsSymbolFileRelease I get this error:

Execution failed for task ':app:generateCrashlyticsSymbolFileRelease'.
> Unstripped native library path required by generateCrashlyticsSymbolFileRelease does not exist: /Users/nick/Documents/project/app/build/intermediates/merged_native_libs/release/out/lib. Check your configuration, or override using the firebaseCrashlytics.unstrippedNativeLibsDir extension property.

However:

ls /Users/nick/Documents/project/app/build/intermediates/merged_native_libs/release/out/lib
arm64-v8a       armeabi-v7a     mips            mips64          x86             x86_64

Is this a bug with the plugin or am I doing something wrong?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...