質問編集履歴

4

AndroidManifest 追記

2018/06/25 13:06

投稿

syyyow
syyyow

スコア28

test CHANGED
File without changes
test CHANGED
@@ -273,3 +273,63 @@
273
273
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)
274
274
 
275
275
  ```
276
+
277
+
278
+
279
+
280
+
281
+ ```
282
+
283
+ Androidmanifest.xml
284
+
285
+
286
+
287
+ <?xml version="1.0" encoding="utf-8"?>
288
+
289
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android"
290
+
291
+ package="jp.aaaaaa.myapplication">
292
+
293
+
294
+
295
+ <application
296
+
297
+ android:allowBackup="true"
298
+
299
+ android:icon="@mipmap/ic_launcher"
300
+
301
+ android:label="@string/app_name"
302
+
303
+ android:roundIcon="@mipmap/ic_launcher_round"
304
+
305
+ android:supportsRtl="true"
306
+
307
+ android:theme="@style/AppTheme">
308
+
309
+ <activity
310
+
311
+ android:name=".MainActivity"
312
+
313
+ android:label="@string/app_name">
314
+
315
+ <intent-filter>
316
+
317
+ <action android:name="android.intent.action.MAIN" />
318
+
319
+
320
+
321
+ <category android:name="android.intent.category.LAUNCHER" />
322
+
323
+ </intent-filter>
324
+
325
+ </activity>
326
+
327
+ <activity android:name="Product_box"></activity>
328
+
329
+ </application>
330
+
331
+
332
+
333
+ </manifest>
334
+
335
+ ```

3

Log変更

2018/06/25 13:06

投稿

syyyow
syyyow

スコア28

test CHANGED
File without changes
test CHANGED
@@ -226,30 +226,50 @@
226
226
 
227
227
 
228
228
 
229
- 06-23 01:25:50.408 9731-9731/? I/art: Not late-enabling -Xcheck:jni (already on)
230
-
231
- 06-23 01:25:50.408 9731-9731/? W/art: Unexpected CPU variant for X86 using defaults: x86
232
-
233
- 06-23 01:25:50.482 9731-9731/jp.-----.myapplication W/System: ClassLoader referenced unknown path: /data/app/jp.-----.myapplication-2/lib/x86
234
-
235
- 06-23 01:25:50.547 9731-9731/jp.-----.myapplication W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
236
-
237
- 06-23 01:25:50.866 9731-9746/jp.-----.myapplication I/OpenGLRenderer: Initialized EGL, version 1.4
238
-
239
- 06-23 01:25:50.866 9731-9746/jp.-----.myapplication D/OpenGLRenderer: Swap behavior 1
240
-
241
- 06-23 01:25:50.867 9731-9746/jp.-----.myapplication W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
242
-
243
- 06-23 01:25:50.867 9731-9746/jp.------.myapplication D/OpenGLRenderer: Swap behavior 0
244
-
245
- 06-23 01:25:50.872 9731-9746/jp.------.myapplication D/EGL_emulation: eglCreateContext: 0xaba85120: maj 3 min 0 rcv 3
246
-
247
- 06-23 01:25:50.878 9731-9746/jp.------.myapplication D/EGL_emulation: eglMakeCurrent: 0xaba85120: ver 3 0 (tinfo 0xaba831e0)
248
-
249
- 06-23 01:25:50.879 9731-9746/jp.-----.myapplication E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008cdf
250
-
251
- glUtilsParamSize: unknow param 0x00008824
252
-
253
- 06-23 01:25:50.930 9731-9746/jp.-----.myapplication D/EGL_emulation: eglMakeCurrent: 0xaba85120: ver 3 0 (tinfo 0xaba831e0)
229
+ 06-25 11:59:09.019 14141-14141/jp.aaaaa.myapplication E/AndroidRuntime: FATAL EXCEPTION: main
230
+
231
+ Process: jp.aaaaa.myapplication, PID: 14141
232
+
233
+ android.content.ActivityNotFoundException: Unable to find explicit activity class {jp.aaaaa.myapplication/jp.aaaaa.myapplication.Product_2}; have you declared this activity in your AndroidManifest.xml?
234
+
235
+ at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1805)
236
+
237
+ at android.app.Instrumentation.execStartActivity(Instrumentation.java:1523)
238
+
239
+ at android.app.Activity.startActivityForResult(Activity.java:4224)
240
+
241
+ at android.support.v4.app.BaseFragmentActivityApi16.startActivityForResult(BaseFragmentActivityApi16.java:54)
242
+
243
+ at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:68)
244
+
245
+ at android.support.v4.app.ActivityCompat.startActivityForResult(ActivityCompat.java:233)
246
+
247
+ at android.support.v4.app.FragmentActivity.startActivityFromFragment(FragmentActivity.java:825)
248
+
249
+ at android.support.v4.app.FragmentActivity$HostCallbacks.onStartActivityFromFragment(FragmentActivity.java:939)
250
+
251
+ at android.support.v4.app.Fragment.startActivity(Fragment.java:1002)
252
+
253
+ at android.support.v4.app.Fragment.startActivity(Fragment.java:991)
254
+
255
+ at jp.aaaaa.myapplication.Product$2.onClick(Product.java:38)
256
+
257
+ at android.view.View.performClick(View.java:5610)
258
+
259
+ at android.view.View$PerformClick.run(View.java:22265)
260
+
261
+ at android.os.Handler.handleCallback(Handler.java:751)
262
+
263
+ at android.os.Handler.dispatchMessage(Handler.java:95)
264
+
265
+ at android.os.Looper.loop(Looper.java:154)
266
+
267
+ at android.app.ActivityThread.main(ActivityThread.java:6077)
268
+
269
+ at java.lang.reflect.Method.invoke(Native Method)
270
+
271
+ at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
272
+
273
+ at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)
254
274
 
255
275
  ```

2

1

2018/06/25 12:03

投稿

syyyow
syyyow

スコア28

test CHANGED
File without changes
test CHANGED
@@ -230,26 +230,26 @@
230
230
 
231
231
  06-23 01:25:50.408 9731-9731/? W/art: Unexpected CPU variant for X86 using defaults: x86
232
232
 
233
- 06-23 01:25:50.482 9731-9731/jp.aftech.myapplication W/System: ClassLoader referenced unknown path: /data/app/jp.aftech.myapplication-2/lib/x86
234
-
235
- 06-23 01:25:50.547 9731-9731/jp.aftech.myapplication W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
236
-
237
- 06-23 01:25:50.866 9731-9746/jp.aftech.myapplication I/OpenGLRenderer: Initialized EGL, version 1.4
238
-
239
- 06-23 01:25:50.866 9731-9746/jp.aftech.myapplication D/OpenGLRenderer: Swap behavior 1
240
-
241
- 06-23 01:25:50.867 9731-9746/jp.aftech.myapplication W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
242
-
243
- 06-23 01:25:50.867 9731-9746/jp.aftech.myapplication D/OpenGLRenderer: Swap behavior 0
244
-
245
- 06-23 01:25:50.872 9731-9746/jp.aftech.myapplication D/EGL_emulation: eglCreateContext: 0xaba85120: maj 3 min 0 rcv 3
246
-
247
- 06-23 01:25:50.878 9731-9746/jp.aftech.myapplication D/EGL_emulation: eglMakeCurrent: 0xaba85120: ver 3 0 (tinfo 0xaba831e0)
248
-
249
- 06-23 01:25:50.879 9731-9746/jp.aftech.myapplication E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008cdf
233
+ 06-23 01:25:50.482 9731-9731/jp.-----.myapplication W/System: ClassLoader referenced unknown path: /data/app/jp.-----.myapplication-2/lib/x86
234
+
235
+ 06-23 01:25:50.547 9731-9731/jp.-----.myapplication W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
236
+
237
+ 06-23 01:25:50.866 9731-9746/jp.-----.myapplication I/OpenGLRenderer: Initialized EGL, version 1.4
238
+
239
+ 06-23 01:25:50.866 9731-9746/jp.-----.myapplication D/OpenGLRenderer: Swap behavior 1
240
+
241
+ 06-23 01:25:50.867 9731-9746/jp.-----.myapplication W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
242
+
243
+ 06-23 01:25:50.867 9731-9746/jp.------.myapplication D/OpenGLRenderer: Swap behavior 0
244
+
245
+ 06-23 01:25:50.872 9731-9746/jp.------.myapplication D/EGL_emulation: eglCreateContext: 0xaba85120: maj 3 min 0 rcv 3
246
+
247
+ 06-23 01:25:50.878 9731-9746/jp.------.myapplication D/EGL_emulation: eglMakeCurrent: 0xaba85120: ver 3 0 (tinfo 0xaba831e0)
248
+
249
+ 06-23 01:25:50.879 9731-9746/jp.-----.myapplication E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008cdf
250
250
 
251
251
  glUtilsParamSize: unknow param 0x00008824
252
252
 
253
- 06-23 01:25:50.930 9731-9746/jp.aftech.myapplication D/EGL_emulation: eglMakeCurrent: 0xaba85120: ver 3 0 (tinfo 0xaba831e0)
253
+ 06-23 01:25:50.930 9731-9746/jp.-----.myapplication D/EGL_emulation: eglMakeCurrent: 0xaba85120: ver 3 0 (tinfo 0xaba831e0)
254
254
 
255
255
  ```

1

Logcatの追記

2018/06/23 01:34

投稿

syyyow
syyyow

スコア28

test CHANGED
File without changes
test CHANGED
@@ -215,3 +215,41 @@
215
215
  }
216
216
 
217
217
  ```
218
+
219
+
220
+
221
+
222
+
223
+ ```
224
+
225
+ Logcat
226
+
227
+
228
+
229
+ 06-23 01:25:50.408 9731-9731/? I/art: Not late-enabling -Xcheck:jni (already on)
230
+
231
+ 06-23 01:25:50.408 9731-9731/? W/art: Unexpected CPU variant for X86 using defaults: x86
232
+
233
+ 06-23 01:25:50.482 9731-9731/jp.aftech.myapplication W/System: ClassLoader referenced unknown path: /data/app/jp.aftech.myapplication-2/lib/x86
234
+
235
+ 06-23 01:25:50.547 9731-9731/jp.aftech.myapplication W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
236
+
237
+ 06-23 01:25:50.866 9731-9746/jp.aftech.myapplication I/OpenGLRenderer: Initialized EGL, version 1.4
238
+
239
+ 06-23 01:25:50.866 9731-9746/jp.aftech.myapplication D/OpenGLRenderer: Swap behavior 1
240
+
241
+ 06-23 01:25:50.867 9731-9746/jp.aftech.myapplication W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
242
+
243
+ 06-23 01:25:50.867 9731-9746/jp.aftech.myapplication D/OpenGLRenderer: Swap behavior 0
244
+
245
+ 06-23 01:25:50.872 9731-9746/jp.aftech.myapplication D/EGL_emulation: eglCreateContext: 0xaba85120: maj 3 min 0 rcv 3
246
+
247
+ 06-23 01:25:50.878 9731-9746/jp.aftech.myapplication D/EGL_emulation: eglMakeCurrent: 0xaba85120: ver 3 0 (tinfo 0xaba831e0)
248
+
249
+ 06-23 01:25:50.879 9731-9746/jp.aftech.myapplication E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008cdf
250
+
251
+ glUtilsParamSize: unknow param 0x00008824
252
+
253
+ 06-23 01:25:50.930 9731-9746/jp.aftech.myapplication D/EGL_emulation: eglMakeCurrent: 0xaba85120: ver 3 0 (tinfo 0xaba831e0)
254
+
255
+ ```