質問編集履歴

1

エラーメッセージの追加

2019/12/15 07:00

投稿

kantou_kenkyu
kantou_kenkyu

スコア6

test CHANGED
File without changes
test CHANGED
@@ -16,9 +16,173 @@
16
16
 
17
17
  ```
18
18
 
19
- エラーメッセージ
20
-
21
- ```
19
+ E/AndroidRuntime: FATAL EXCEPTION: main
20
+
21
+ Process: com.example.bluetoothcommunicator02, PID: 23648
22
+
23
+ java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.bluetoothcommunicator02/com.example.bluetoothcommunicator02.DeviceListActivity}: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class android.support.constraint.ConstraintLayout
24
+
25
+ at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2609)
26
+
27
+ at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2675)
28
+
29
+ at android.app.ActivityThread.access$900(ActivityThread.java:195)
30
+
31
+ at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1515)
32
+
33
+ at android.os.Handler.dispatchMessage(Handler.java:111)
34
+
35
+ at android.os.Looper.loop(Looper.java:210)
36
+
37
+ at android.app.ActivityThread.main(ActivityThread.java:5943)
38
+
39
+ at java.lang.reflect.Method.invoke(Native Method)
40
+
41
+ at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:956)
42
+
43
+ at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:817)
44
+
45
+ Caused by: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class android.support.constraint.ConstraintLayout
46
+
47
+ at android.view.LayoutInflater.inflate(LayoutInflater.java:561)
48
+
49
+ at android.view.LayoutInflater.inflate(LayoutInflater.java:437)
50
+
51
+ at android.view.LayoutInflater.inflate(LayoutInflater.java:380)
52
+
53
+ at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:469)
54
+
55
+ at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
56
+
57
+ at com.example.bluetoothcommunicator02.DeviceListActivity.onCreate(DeviceListActivity.java:170)
58
+
59
+ at android.app.Activity.performCreate(Activity.java:6405)
60
+
61
+ at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1116)
62
+
63
+ at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2562)
64
+
65
+ at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2675) 
66
+
67
+ at android.app.ActivityThread.access$900(ActivityThread.java:195) 
68
+
69
+ at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1515) 
70
+
71
+ at android.os.Handler.dispatchMessage(Handler.java:111) 
72
+
73
+ at android.os.Looper.loop(Looper.java:210) 
74
+
75
+ at android.app.ActivityThread.main(ActivityThread.java:5943) 
76
+
77
+ at java.lang.reflect.Method.invoke(Native Method) 
78
+
79
+ at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:956) 
80
+
81
+ at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:817) 
82
+
83
+ Caused by: android.view.InflateException: Binary XML file line #2: Error inflating class android.support.constraint.ConstraintLayout
84
+
85
+ at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:803)
86
+
87
+ at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:731)
88
+
89
+ at android.view.LayoutInflater.inflate(LayoutInflater.java:514)
90
+
91
+ at android.view.LayoutInflater.inflate(LayoutInflater.java:437) 
92
+
93
+ at android.view.LayoutInflater.inflate(LayoutInflater.java:380) 
94
+
95
+ at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:469) 
96
+
97
+ at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:140) 
98
+
99
+ at com.example.bluetoothcommunicator02.DeviceListActivity.onCreate(DeviceListActivity.java:170) 
100
+
101
+ at android.app.Activity.performCreate(Activity.java:6405) 
102
+
103
+ at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1116) 
104
+
105
+ at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2562) 
106
+
107
+ at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2675) 
108
+
109
+ at android.app.ActivityThread.access$900(ActivityThread.java:195) 
110
+
111
+ at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1515) 
112
+
113
+ at android.os.Handler.dispatchMessage(Handler.java:111) 
114
+
115
+ at android.os.Looper.loop(Looper.java:210) 
116
+
117
+ at android.app.ActivityThread.main(ActivityThread.java:5943) 
118
+
119
+ at java.lang.reflect.Method.invoke(Native Method) 
120
+
121
+ at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:956) 
122
+
123
+ at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:817) 
124
+
125
+ Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.constraint.ConstraintLayout" on path: DexPathList[[zip file "/data/app/com.example.bluetoothcommunicator02-2/base.apk", zip file "/data/app/com.example.bluetoothcommunicator02-2/split_lib_dependencies_apk.apk", zip file "/data/app/com.example.bluetoothcommunicator02-2/split_lib_slice_0_apk.apk", zip file "/data/app/com.example.bluetoothcommunicator02-2/split_lib_slice_1_apk.apk", zip file "/data/app/com.example.bluetoothcommunicator02-2/split_lib_slice_2_apk.apk", zip file "/data/app/com.example.bluetoothcommunicator02-2/split_lib_slice_3_apk.apk", zip file "/data/app/com.example.bluetoothcommunicator02-2/split_lib_slice_4_apk.apk", zip file "/data/app/com.example.bluetoothcommunicator02-2/split_lib_slice_5_apk.apk", zip file "/data/app/com.example.bluetoothcommunicator02-2/split_lib_slice_6_apk.apk", zip file "/data/app/com.example.bluetoothcommunicator02-2/split_lib_slice_7_apk.apk", zip file "/data/app/com.example.bluetoothcommunicator02-2/split_lib_slice_8_apk.apk", zip file "/data/app/com.example.bluetoothcommunicator02-2/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.example.bluetoothcommunicator02-2/lib/arm, /vendor/lib, /system/lib]]
126
+
127
+ at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
128
+
129
+ at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
130
+
131
+ at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
132
+
133
+ at android.view.LayoutInflater.createView(LayoutInflater.java:605)
134
+
135
+ at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:791)
136
+
137
+ at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:731) 
138
+
139
+ at android.view.LayoutInflater.inflate(LayoutInflater.java:514) 
140
+
141
+ at android.view.LayoutInflater.inflate(LayoutInflater.java:437) 
142
+
143
+ at android.view.LayoutInflater.inflate(LayoutInflater.java:380) 
144
+
145
+ at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:469) 
146
+
147
+ at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:140) 
148
+
149
+ at com.example.bluetoothcommunicator02.DeviceListActivity.onCreate(DeviceListActivity.java:170) 
150
+
151
+ at android.app.Activity.performCreate(Activity.java:6405) 
152
+
153
+ at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1116) 
154
+
155
+ at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2562) 
156
+
157
+ at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2675) 
158
+
159
+ at android.app.ActivityThread.access$900(ActivityThread.java:195) 
160
+
161
+ at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1515) 
162
+
163
+ at android.os.Handler.dispatchMessage(Handler.java:111) 
164
+
165
+ at android.os.Looper.loop(Looper.java:210) 
166
+
167
+ at android.app.ActivityThread.main(ActivityThread.java:5943) 
168
+
169
+ at java.lang.reflect.Method.invoke(Native Method) 
170
+
171
+ at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:956) 
172
+
173
+ at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:817) 
174
+
175
+ Suppressed: java.lang.ClassNotFoundException: android.support.constraint.ConstraintLayout
176
+
177
+ at java.lang.Class.classForName(Native Method)
178
+
179
+ at java.lang.BootClassLoader.findClass
180
+
181
+
182
+
183
+ ```
184
+
185
+
22
186
 
23
187
 
24
188