質問編集履歴
4
AndroidManifest 追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -135,4 +135,34 @@
|
|
135
135
|
at java.lang.reflect.Method.invoke(Native Method)
|
136
136
|
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
|
137
137
|
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)
|
138
|
+
```
|
139
|
+
|
140
|
+
|
141
|
+
```
|
142
|
+
Androidmanifest.xml
|
143
|
+
|
144
|
+
<?xml version="1.0" encoding="utf-8"?>
|
145
|
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
146
|
+
package="jp.aaaaaa.myapplication">
|
147
|
+
|
148
|
+
<application
|
149
|
+
android:allowBackup="true"
|
150
|
+
android:icon="@mipmap/ic_launcher"
|
151
|
+
android:label="@string/app_name"
|
152
|
+
android:roundIcon="@mipmap/ic_launcher_round"
|
153
|
+
android:supportsRtl="true"
|
154
|
+
android:theme="@style/AppTheme">
|
155
|
+
<activity
|
156
|
+
android:name=".MainActivity"
|
157
|
+
android:label="@string/app_name">
|
158
|
+
<intent-filter>
|
159
|
+
<action android:name="android.intent.action.MAIN" />
|
160
|
+
|
161
|
+
<category android:name="android.intent.category.LAUNCHER" />
|
162
|
+
</intent-filter>
|
163
|
+
</activity>
|
164
|
+
<activity android:name="Product_box"></activity>
|
165
|
+
</application>
|
166
|
+
|
167
|
+
</manifest>
|
138
168
|
```
|
3
Log変更
title
CHANGED
File without changes
|
body
CHANGED
@@ -112,17 +112,27 @@
|
|
112
112
|
```
|
113
113
|
Logcat
|
114
114
|
|
115
|
-
06-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
115
|
+
06-25 11:59:09.019 14141-14141/jp.aaaaa.myapplication E/AndroidRuntime: FATAL EXCEPTION: main
|
116
|
+
Process: jp.aaaaa.myapplication, PID: 14141
|
117
|
+
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?
|
118
|
+
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1805)
|
119
|
+
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1523)
|
120
|
+
at android.app.Activity.startActivityForResult(Activity.java:4224)
|
121
|
+
at android.support.v4.app.BaseFragmentActivityApi16.startActivityForResult(BaseFragmentActivityApi16.java:54)
|
122
|
+
at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:68)
|
123
|
+
at android.support.v4.app.ActivityCompat.startActivityForResult(ActivityCompat.java:233)
|
124
|
+
at android.support.v4.app.FragmentActivity.startActivityFromFragment(FragmentActivity.java:825)
|
125
|
+
at android.support.v4.app.FragmentActivity$HostCallbacks.onStartActivityFromFragment(FragmentActivity.java:939)
|
126
|
+
at android.support.v4.app.Fragment.startActivity(Fragment.java:1002)
|
127
|
+
at android.support.v4.app.Fragment.startActivity(Fragment.java:991)
|
128
|
+
at jp.aaaaa.myapplication.Product$2.onClick(Product.java:38)
|
129
|
+
at android.view.View.performClick(View.java:5610)
|
130
|
+
at android.view.View$PerformClick.run(View.java:22265)
|
131
|
+
at android.os.Handler.handleCallback(Handler.java:751)
|
132
|
+
at android.os.Handler.dispatchMessage(Handler.java:95)
|
133
|
+
at android.os.Looper.loop(Looper.java:154)
|
134
|
+
at android.app.ActivityThread.main(ActivityThread.java:6077)
|
135
|
+
at java.lang.reflect.Method.invoke(Native Method)
|
136
|
+
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
|
137
|
+
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)
|
128
138
|
```
|
2
1
title
CHANGED
File without changes
|
body
CHANGED
@@ -114,15 +114,15 @@
|
|
114
114
|
|
115
115
|
06-23 01:25:50.408 9731-9731/? I/art: Not late-enabling -Xcheck:jni (already on)
|
116
116
|
06-23 01:25:50.408 9731-9731/? W/art: Unexpected CPU variant for X86 using defaults: x86
|
117
|
-
06-23 01:25:50.482 9731-9731/jp.
|
118
|
-
06-23 01:25:50.547 9731-9731/jp.
|
119
|
-
06-23 01:25:50.866 9731-9746/jp.
|
120
|
-
06-23 01:25:50.866 9731-9746/jp.
|
121
|
-
06-23 01:25:50.867 9731-9746/jp.
|
122
|
-
06-23 01:25:50.867 9731-9746/jp.
|
123
|
-
06-23 01:25:50.872 9731-9746/jp.
|
124
|
-
06-23 01:25:50.878 9731-9746/jp.
|
125
|
-
06-23 01:25:50.879 9731-9746/jp.
|
117
|
+
06-23 01:25:50.482 9731-9731/jp.-----.myapplication W/System: ClassLoader referenced unknown path: /data/app/jp.-----.myapplication-2/lib/x86
|
118
|
+
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
|
119
|
+
06-23 01:25:50.866 9731-9746/jp.-----.myapplication I/OpenGLRenderer: Initialized EGL, version 1.4
|
120
|
+
06-23 01:25:50.866 9731-9746/jp.-----.myapplication D/OpenGLRenderer: Swap behavior 1
|
121
|
+
06-23 01:25:50.867 9731-9746/jp.-----.myapplication W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
|
122
|
+
06-23 01:25:50.867 9731-9746/jp.------.myapplication D/OpenGLRenderer: Swap behavior 0
|
123
|
+
06-23 01:25:50.872 9731-9746/jp.------.myapplication D/EGL_emulation: eglCreateContext: 0xaba85120: maj 3 min 0 rcv 3
|
124
|
+
06-23 01:25:50.878 9731-9746/jp.------.myapplication D/EGL_emulation: eglMakeCurrent: 0xaba85120: ver 3 0 (tinfo 0xaba831e0)
|
125
|
+
06-23 01:25:50.879 9731-9746/jp.-----.myapplication E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008cdf
|
126
126
|
glUtilsParamSize: unknow param 0x00008824
|
127
|
-
06-23 01:25:50.930 9731-9746/jp.
|
127
|
+
06-23 01:25:50.930 9731-9746/jp.-----.myapplication D/EGL_emulation: eglMakeCurrent: 0xaba85120: ver 3 0 (tinfo 0xaba831e0)
|
128
128
|
```
|
1
Logcatの追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -106,4 +106,23 @@
|
|
106
106
|
return view;
|
107
107
|
}
|
108
108
|
}
|
109
|
+
```
|
110
|
+
|
111
|
+
|
112
|
+
```
|
113
|
+
Logcat
|
114
|
+
|
115
|
+
06-23 01:25:50.408 9731-9731/? I/art: Not late-enabling -Xcheck:jni (already on)
|
116
|
+
06-23 01:25:50.408 9731-9731/? W/art: Unexpected CPU variant for X86 using defaults: x86
|
117
|
+
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
|
118
|
+
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
|
119
|
+
06-23 01:25:50.866 9731-9746/jp.aftech.myapplication I/OpenGLRenderer: Initialized EGL, version 1.4
|
120
|
+
06-23 01:25:50.866 9731-9746/jp.aftech.myapplication D/OpenGLRenderer: Swap behavior 1
|
121
|
+
06-23 01:25:50.867 9731-9746/jp.aftech.myapplication W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
|
122
|
+
06-23 01:25:50.867 9731-9746/jp.aftech.myapplication D/OpenGLRenderer: Swap behavior 0
|
123
|
+
06-23 01:25:50.872 9731-9746/jp.aftech.myapplication D/EGL_emulation: eglCreateContext: 0xaba85120: maj 3 min 0 rcv 3
|
124
|
+
06-23 01:25:50.878 9731-9746/jp.aftech.myapplication D/EGL_emulation: eglMakeCurrent: 0xaba85120: ver 3 0 (tinfo 0xaba831e0)
|
125
|
+
06-23 01:25:50.879 9731-9746/jp.aftech.myapplication E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008cdf
|
126
|
+
glUtilsParamSize: unknow param 0x00008824
|
127
|
+
06-23 01:25:50.930 9731-9746/jp.aftech.myapplication D/EGL_emulation: eglMakeCurrent: 0xaba85120: ver 3 0 (tinfo 0xaba831e0)
|
109
128
|
```
|