我在我的应用程序中使用了带有gradle插件的crashlytics-ndk。
当我运行./gradlew crashlyticsUploadSymbolsRelease --info --debug
时,它会写道我跳过了crashlyticsUploadSymbolsRelease:
20:08:16.488 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger] :crashlyticsUploadSymbolsRelease
20:08:16.488 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Starting to execute task ':crashlyticsUploadSymbolsRelease'
20:08:16.488 [INFO] [org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter] Putting task artifact state for task ':crashlyticsUploadSymbolsRelease' into context took 0.0 secs.
20:08:16.488 [DEBUG] [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] Determining if task ':crashlyticsUploadSymbolsRelease' is up-to-date
20:08:16.488 [INFO] [org.gradle.api.internal.changedetection.rules.TaskTypeTaskStateChanges] Task :crashlyticsUploadSymbolsRelease class loader hash: 7064e588920e76a48571db060884e368
20:08:16.488 [INFO] [org.gradle.api.internal.changedetection.rules.TaskTypeTaskStateChanges] Task :crashlyticsUploadSymbolsRelease actions class loader hash: 9d5b3601aafc02f324fe4d7eca81c860
20:08:16.489 [INFO] [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] Skipping task ':crashlyticsUploadSymbolsRelease' as it is up-to-date (took 0.001 secs).
20:08:16.490 [DEBUG] [org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter] Removed task artifact state for {} from context.
20:08:16.490 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':crashlyticsUploadSymbolsRelease'
20:08:16.490 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger] :crashlyticsUploadSymbolsRelease UP-TO-DATE
20:08:16.490 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :crashlyticsUploadSymbolsRelease (Thread[Daemon worker Thread 12,5,main]) completed. Took 0.002 secs.
我甚至不记得,我是否看到任何其他执行结果。 顺便说一句,我的所有崩溃日志都是这样的:
构建后我有cSym文件:
bash-3.2$ ls -lA build/fabric/*/*
build/fabric/debug/csyms:
total 82736
-rw-r--r-- 1 vasya staff 42360506 11 дек 19:51 godot_android-armv7-82196e26bb0953d61b033487c4f485860e1f0e5c.cSYM
build/fabric/release/csyms:
total 82736
-rw-r--r-- 1 vasya staff 42360506 11 дек 19:47 godot_android-armv7-82196e26bb0953d61b033487c4f485860e1f0e5c.cSYM
但我不知道如何将它们手动上传到崩溃学校。
有没有办法在crashlytics中检查上传状态,或者如何在crashlytics gradle插件中检查上传?