質問編集履歴
1
公式ドキュメントの手順をふんだ結果を記述
test
CHANGED
File without changes
|
test
CHANGED
@@ -87,3 +87,67 @@
|
|
87
87
|
+ Fabric.with(this, new Crashlytics.Builder().core(core).build());
|
88
88
|
|
89
89
|
```
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
公式ドキュメントに従った結果
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
```
|
98
|
+
|
99
|
+
build.gradle
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
buildTypes {
|
104
|
+
|
105
|
+
debug {
|
106
|
+
|
107
|
+
ext.enableCrashlytics = false
|
108
|
+
|
109
|
+
}
|
110
|
+
|
111
|
+
```
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
```
|
116
|
+
|
117
|
+
Application.java
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
@Override
|
122
|
+
|
123
|
+
public void onCreate() {
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
super.onCreate();
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
Crashlytics crashlyticsKit = new Crashlytics.Builder()
|
132
|
+
|
133
|
+
.core(new CrashlyticsCore.Builder().disabled(BuildConfig.DEBUG).build())
|
134
|
+
|
135
|
+
.build();
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
Fabric.with(this, crashlyticsKit);
|
140
|
+
|
141
|
+
```
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
上記を記述した場合以下のエラーが発生した。
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
```
|
150
|
+
|
151
|
+
The Crashlytics build ID is missing. This occurs when Crashlytics tooling is absent from your app's build configuration. Please review Crashlytics onboarding instructions and ensure you have a valid Crashlytics account.
|
152
|
+
|
153
|
+
```
|