質問編集履歴
1
補足
test
CHANGED
File without changes
|
test
CHANGED
@@ -149,3 +149,79 @@
|
|
149
149
|
|
150
150
|
|
151
151
|
だけにするとエラーは出ません。
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
遅くなりました
|
156
|
+
|
157
|
+
logcatのエラーはこんな感じです。
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
10-09 05:32:36.539 6209-6209/com.***.myapplication E/AndroidRuntime﹕ FATAL EXCEPTION: main
|
162
|
+
|
163
|
+
Process: com.***.myapplication, PID: 6209
|
164
|
+
|
165
|
+
java.lang.OutOfMemoryError: Failed to allocate a 36 byte allocation with 1952 free bytes and 1952B until OOM
|
166
|
+
|
167
|
+
at java.lang.ref.FinalizerReference.add(FinalizerReference.java:54)
|
168
|
+
|
169
|
+
at android.widget.TextView.<init>(TextView.java:684)
|
170
|
+
|
171
|
+
at android.widget.TextView.<init>(TextView.java:671)
|
172
|
+
|
173
|
+
at android.support.v7.widget.AppCompatTextView.<init>(AppCompatTextView.java:48)
|
174
|
+
|
175
|
+
at android.support.v7.widget.AppCompatTextView.<init>(AppCompatTextView.java:44)
|
176
|
+
|
177
|
+
at android.support.v7.internal.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:103)
|
178
|
+
|
179
|
+
at android.support.v7.app.AppCompatDelegateImplV7.createView(AppCompatDelegateImplV7.java:912)
|
180
|
+
|
181
|
+
at android.support.v7.app.AppCompatDelegateImplV7.onCreateView(AppCompatDelegateImplV7.java:966)
|
182
|
+
|
183
|
+
at android.support.v4.view.LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView(LayoutInflaterCompatHC.java:44)
|
184
|
+
|
185
|
+
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:746)
|
186
|
+
|
187
|
+
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
|
188
|
+
|
189
|
+
at android.view.LayoutInflater.rInflate(LayoutInflater.java:835)
|
190
|
+
|
191
|
+
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
|
192
|
+
|
193
|
+
at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
|
194
|
+
|
195
|
+
at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
|
196
|
+
|
197
|
+
at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
|
198
|
+
|
199
|
+
at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:255)
|
200
|
+
|
201
|
+
at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:109)
|
202
|
+
|
203
|
+
at com.***.myapplication.***.onCreate(***.java:13)
|
204
|
+
|
205
|
+
at android.app.Activity.performCreate(Activity.java:6237)
|
206
|
+
|
207
|
+
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
|
208
|
+
|
209
|
+
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
|
210
|
+
|
211
|
+
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
|
212
|
+
|
213
|
+
at android.app.ActivityThread.-wrap11(ActivityThread.java)
|
214
|
+
|
215
|
+
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
|
216
|
+
|
217
|
+
at android.os.Handler.dispatchMessage(Handler.java:102)
|
218
|
+
|
219
|
+
at android.os.Looper.loop(Looper.java:148)
|
220
|
+
|
221
|
+
at android.app.ActivityThread.main(ActivityThread.java:5417)
|
222
|
+
|
223
|
+
at java.lang.reflect.Method.invoke(Native Method)
|
224
|
+
|
225
|
+
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
|
226
|
+
|
227
|
+
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
|