質問編集履歴

2

build\.gradleを追記しました

2016/12/01 03:30

投稿

Haku
Haku

スコア13

test CHANGED
File without changes
test CHANGED
@@ -237,3 +237,59 @@
237
237
  Information:1 error
238
238
 
239
239
  ```
240
+
241
+
242
+
243
+ [build.gradle]
244
+
245
+ gradleについても追記します.2つを比較したところ,claspath以下の部分でバージョンでしょうか「2.2.2」の部分がSampleでは「2.1.2」となっていました.それ以外は同じでした.
246
+
247
+ ```
248
+
249
+ // Top-level build file where you can add configuration options common to all sub-projects/modules.
250
+
251
+
252
+
253
+ buildscript {
254
+
255
+ repositories {
256
+
257
+ jcenter()
258
+
259
+ }
260
+
261
+ dependencies {
262
+
263
+ classpath 'com.android.tools.build:gradle:2.2.2'
264
+
265
+
266
+
267
+ // NOTE: Do not place your application dependencies here; they belong
268
+
269
+ // in the individual module build.gradle files
270
+
271
+ }
272
+
273
+ }
274
+
275
+
276
+
277
+ allprojects {
278
+
279
+ repositories {
280
+
281
+ jcenter()
282
+
283
+ }
284
+
285
+ }
286
+
287
+
288
+
289
+ task clean(type: Delete) {
290
+
291
+ delete rootProject.buildDir
292
+
293
+ }
294
+
295
+ ```

1

エラーログということで「logcat」で出力されたログと「messages」の内容を載せます

2016/12/01 03:30

投稿

Haku
Haku

スコア13

test CHANGED
File without changes
test CHANGED
@@ -165,3 +165,75 @@
165
165
  </manifest>
166
166
 
167
167
  ```
168
+
169
+
170
+
171
+ ■追記
172
+
173
+ エラーログということで「logcat」で出力されたログと「messages」の内容を載せます
174
+
175
+ [logcat]
176
+
177
+ ```
178
+
179
+ 12-01 10:39:41.193 916-972/? E/UlpEngine: kvs.containsKey(ENH_LOCATION_SERVICES_ENABLED) returned false
180
+
181
+ 12-01 10:39:48.922 406-406/? E/Parcel: Reading a NULL string not supported here.
182
+
183
+ 12-01 10:39:48.922 406-406/? E/Parcel: Reading a NULL string not supported here.
184
+
185
+ 12-01 10:39:48.959 406-406/? E/Parcel: Reading a NULL string not supported here.
186
+
187
+ 12-01 10:39:48.959 406-406/? E/Parcel: Reading a NULL string not supported here.
188
+
189
+ 12-01 10:39:48.987 406-406/? E/Parcel: Reading a NULL string not supported here.
190
+
191
+ 12-01 10:39:48.987 406-406/? E/Parcel: Reading a NULL string not supported here.
192
+
193
+ 12-01 10:39:49.955 406-406/? E/Parcel: Reading a NULL string not supported here.
194
+
195
+ 12-01 10:39:49.955 406-406/? E/Parcel: Reading a NULL string not supported here.
196
+
197
+ 12-01 10:39:52.055 1119-1119/? E/StatusBar.NetworkController: updateDataNetType NETWORK_TYPE_UNKNOWN
198
+
199
+ 12-01 10:39:52.097 1119-1119/? E/StatusBar.NetworkController: updateDataNetType NETWORK_TYPE_UNKNOWN
200
+
201
+ 12-01 10:39:52.455 21356-21356/? E/dalvikvm: ERROR: couldn't find native method
202
+
203
+ 12-01 10:39:52.455 21356-21356/? E/dalvikvm: Requested: Lcom/access_company/android/nfcommunicator/util/jni/MailerConverterCoreJni;.jniGetX:()[B
204
+
205
+ 12-01 10:39:52.709 916-975/? E/NotificationService: Ignoring notification with icon==0: Notification(pri=0 contentView=com.kddi.android.email/0x10900b9 vibrate=null sound=null defaults=0x0 flags=0x62 kind=[null])
206
+
207
+ 12-01 10:39:52.725 916-975/? E/NotificationService: Ignoring notification with icon==0: Notification(pri=0 contentView=com.kddi.android.email/0x10900b9 vibrate=null sound=null defaults=0x0 flags=0x62 kind=[null])
208
+
209
+ 12-01 10:39:55.217 1119-1119/? E/StatusBar.NetworkController: updateDataNetType NETWORK_TYPE_UNKNOWN
210
+
211
+ 12-01 10:40:18.121 916-972/? E/UlpEngine: kvs.containsKey(ENH_LOCATION_SERVICES_ENABLED) returned false
212
+
213
+ 12-01 10:41:43.179 916-972/? E/UlpEngine: kvs.containsKey(ENH_LOCATION_SERVICES_ENABLED) returned false
214
+
215
+ 12-01 10:42:30.184 916-972/? E/UlpEngine: kvs.containsKey(ENH_LOCATION_SERVICES_ENABLED) returned false
216
+
217
+ ```
218
+
219
+
220
+
221
+
222
+
223
+ [messages]
224
+
225
+ ```
226
+
227
+ Information:Gradle tasks [:app:clean, :app:generateDebugSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:generateDebugAndroidTestSources, :app:assembleDebug]
228
+
229
+ Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
230
+
231
+ > com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Landroid/support/v7/appcompat/R$anim;
232
+
233
+ Information:BUILD FAILED
234
+
235
+ Information:Total time: 10.609 secs
236
+
237
+ Information:1 error
238
+
239
+ ```