質問編集履歴
1
エラーログを追記しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -80,260 +80,104 @@
|
|
80
80
|
|
81
81
|
```
|
82
82
|
|
83
|
-
|
83
|
+
09-09 22:26:24.418 3842-3842/sample.chronoself E/AndroidRuntime: FATAL EXCEPTION: main
|
84
84
|
|
85
|
-
|
85
|
+
Process: sample.chronoself, PID: 3842
|
86
86
|
|
87
|
-
|
87
|
+
java.lang.OutOfMemoryError: Failed to allocate a 438939660 byte allocation with 3795696 free bytes and 378MB until OOM
|
88
88
|
|
89
|
-
|
89
|
+
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
|
90
90
|
|
91
|
-
|
91
|
+
at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
|
92
92
|
|
93
|
-
|
93
|
+
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:620)
|
94
94
|
|
95
|
-
|
95
|
+
at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:455)
|
96
96
|
|
97
|
+
at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:1155)
|
97
98
|
|
99
|
+
at android.content.res.ResourcesImpl.loadDrawableForCookie(ResourcesImpl.java:720)
|
98
100
|
|
99
|
-
|
101
|
+
at android.content.res.ResourcesImpl.loadDrawable(ResourcesImpl.java:571)
|
100
102
|
|
101
|
-
|
103
|
+
at android.content.res.Resources.loadDrawable(Resources.java:858)
|
102
104
|
|
103
|
-
|
105
|
+
at android.content.res.TypedArray.getDrawable(TypedArray.java:928)
|
104
106
|
|
105
|
-
|
107
|
+
at android.widget.ImageView.<init>(ImageView.java:162)
|
106
108
|
|
107
|
-
|
109
|
+
at android.widget.ImageView.<init>(ImageView.java:150)
|
108
110
|
|
111
|
+
at android.support.v7.widget.AppCompatImageView.<init>(AppCompatImageView.java:60)
|
109
112
|
|
113
|
+
at android.support.v7.widget.AppCompatImageView.<init>(AppCompatImageView.java:56)
|
110
114
|
|
111
|
-
|
115
|
+
at android.support.v7.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:106)
|
112
116
|
|
113
|
-
|
117
|
+
at android.support.v7.app.AppCompatDelegateImplV9.createView(AppCompatDelegateImplV9.java:1029)
|
114
118
|
|
115
|
-
|
119
|
+
at android.support.v7.app.AppCompatDelegateImplV9.onCreateView(AppCompatDelegateImplV9.java:1087)
|
116
120
|
|
117
|
-
|
121
|
+
at android.support.v4.view.LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView(LayoutInflaterCompatHC.java:47)
|
118
122
|
|
123
|
+
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:769)
|
119
124
|
|
125
|
+
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:727)
|
120
126
|
|
121
|
-
|
127
|
+
at android.view.LayoutInflater.rInflate(LayoutInflater.java:858)
|
122
128
|
|
123
|
-
|
129
|
+
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
|
124
130
|
|
125
|
-
|
131
|
+
at android.view.LayoutInflater.rInflate(LayoutInflater.java:861)
|
126
132
|
|
133
|
+
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
|
127
134
|
|
135
|
+
at android.view.LayoutInflater.rInflate(LayoutInflater.java:861)
|
128
136
|
|
129
|
-
|
137
|
+
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
|
130
138
|
|
131
|
-
|
139
|
+
at android.view.LayoutInflater.rInflate(LayoutInflater.java:861)
|
132
140
|
|
133
|
-
|
141
|
+
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
|
134
142
|
|
135
|
-
|
143
|
+
at android.view.LayoutInflater.rInflate(LayoutInflater.java:861)
|
136
144
|
|
145
|
+
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
|
137
146
|
|
147
|
+
at android.view.LayoutInflater.inflate(LayoutInflater.java:518)
|
138
148
|
|
139
|
-
|
149
|
+
at android.view.LayoutInflater.inflate(LayoutInflater.java:426)
|
140
150
|
|
141
|
-
|
151
|
+
at android.view.LayoutInflater.inflate(LayoutInflater.java:377)
|
142
152
|
|
143
|
-
|
153
|
+
at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:292)
|
144
154
|
|
145
|
-
|
155
|
+
at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
|
146
156
|
|
147
|
-
|
157
|
+
at sample.chronoself.MainActivity.onCreate(MainActivity.java:14)
|
148
158
|
|
149
|
-
|
159
|
+
at android.app.Activity.performCreate(Activity.java:6679)
|
150
160
|
|
151
|
-
|
161
|
+
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
|
152
162
|
|
163
|
+
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2618)
|
153
164
|
|
165
|
+
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)
|
154
166
|
|
155
|
-
|
167
|
+
at android.app.ActivityThread.-wrap12(ActivityThread.java)
|
156
168
|
|
157
|
-
|
169
|
+
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1477)
|
158
170
|
|
159
|
-
|
171
|
+
at android.os.Handler.dispatchMessage(Handler.java:102)
|
160
172
|
|
161
|
-
|
173
|
+
at android.os.Looper.loop(Looper.java:154)
|
162
174
|
|
163
|
-
|
175
|
+
at android.app.ActivityThread.main(ActivityThread.java:6119)
|
164
176
|
|
177
|
+
at java.lang.reflect.Method.invoke(Native Method)
|
165
178
|
|
179
|
+
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
|
166
180
|
|
167
|
-
|
168
|
-
|
169
|
-
<ImageView
|
170
|
-
|
171
|
-
android:id="@+id/image03"
|
172
|
-
|
173
|
-
android:layout_width="0dp"
|
174
|
-
|
175
|
-
android:layout_weight="1"
|
176
|
-
|
177
|
-
android:layout_height="match_parent" />
|
178
|
-
|
179
|
-
</TableRow>
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
<!-- 2行目 -->
|
184
|
-
|
185
|
-
<TableRow
|
186
|
-
|
187
|
-
android:layout_width="match_parent"
|
188
|
-
|
189
|
-
|
181
|
+
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
<ImageView
|
194
|
-
|
195
|
-
android:id="@+id/image04"
|
196
|
-
|
197
|
-
android:layout_width="0dp"
|
198
|
-
|
199
|
-
android:layout_weight="1"
|
200
|
-
|
201
|
-
android:layout_height="150dp" />
|
202
|
-
|
203
|
-
<ImageView
|
204
|
-
|
205
|
-
android:id="@+id/image05"
|
206
|
-
|
207
|
-
android:layout_width="0dp"
|
208
|
-
|
209
|
-
android:layout_weight="1"
|
210
|
-
|
211
|
-
android:layout_height="match_parent" />
|
212
|
-
|
213
|
-
<ImageView
|
214
|
-
|
215
|
-
android:id="@+id/image06"
|
216
|
-
|
217
|
-
android:layout_width="0dp"
|
218
|
-
|
219
|
-
android:layout_weight="1"
|
220
|
-
|
221
|
-
android:layout_height="match_parent" />
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
</TableRow>
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
<!-- 3行目 -->
|
230
|
-
|
231
|
-
<TableRow
|
232
|
-
|
233
|
-
android:layout_width="match_parent"
|
234
|
-
|
235
|
-
android:layout_height="wrap_content" >
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
<ImageView
|
240
|
-
|
241
|
-
android:id="@+id/image07"
|
242
|
-
|
243
|
-
android:layout_width="0dp"
|
244
|
-
|
245
|
-
android:layout_height="150dp"
|
246
|
-
|
247
|
-
android:layout_weight="1" />
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
<ImageView
|
252
|
-
|
253
|
-
android:id="@+id/image08"
|
254
|
-
|
255
|
-
android:layout_width="0dp"
|
256
|
-
|
257
|
-
android:layout_height="match_parent"
|
258
|
-
|
259
|
-
android:layout_weight="1" />
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
<ImageView
|
264
|
-
|
265
|
-
android:id="@+id/image09"
|
266
|
-
|
267
|
-
android:layout_width="0dp"
|
268
|
-
|
269
|
-
android:layout_weight="1"
|
270
|
-
|
271
|
-
android:layout_height="match_parent" />
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
</TableRow>
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
<!-- 4行目 -->
|
280
|
-
|
281
|
-
<TableRow
|
282
|
-
|
283
|
-
android:layout_width="match_parent"
|
284
|
-
|
285
|
-
android:layout_height="wrap_content" >
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
<ImageView
|
290
|
-
|
291
|
-
android:id="@+id/image10"
|
292
|
-
|
293
|
-
android:layout_width="0dp"
|
294
|
-
|
295
|
-
android:layout_weight="1"
|
296
|
-
|
297
|
-
android:layout_height="150dp" />
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
<ImageView
|
302
|
-
|
303
|
-
android:id="@+id/image11"
|
304
|
-
|
305
|
-
android:layout_width="0dp"
|
306
|
-
|
307
|
-
android:layout_weight="1"
|
308
|
-
|
309
|
-
android:layout_height="match_parent" />
|
310
|
-
|
311
|
-
<ImageView
|
312
|
-
|
313
|
-
android:id="@+id/image12"
|
314
|
-
|
315
|
-
android:layout_width="0dp"
|
316
|
-
|
317
|
-
android:layout_weight="1"
|
318
|
-
|
319
|
-
android:layout_height="match_parent" />
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
</TableRow>
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
</TableLayout>
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
</LinearLayout>
|
332
|
-
|
333
|
-
</ScrollView>
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
</LinearLayout>
|
338
182
|
|
339
183
|
```
|