質問編集履歴
2
エラー内容の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
monacaでビルドをすると失敗しました。以下はエラー内容となります。(文字数超過の一部省略)
|
1
|
+
monacaでビルドをすると失敗しました。以下はエラー内容となります。(文字数超過のため一部省略)
|
2
2
|
|
3
3
|
諸事情がありましてadmovPluginProとNiftyMbのプラグインを導入しました。これらが悪さをしてしまいビルドが失敗したのでしょうか?また、プログラムを修正したりするとビルドが成功するものなのでしょうか?もし修正で直るのならどうすればいいですか?
|
4
4
|
|
1
エラー内容の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
monacaでビルドをすると失敗しました。以下はエラー内容となります。
|
1
|
+
monacaでビルドをすると失敗しました。以下はエラー内容となります。(文字数超過の一部省略)
|
2
2
|
|
3
3
|
諸事情がありましてadmovPluginProとNiftyMbのプラグインを導入しました。これらが悪さをしてしまいビルドが失敗したのでしょうか?また、プログラムを修正したりするとビルドが成功するものなのでしょうか?もし修正で直るのならどうすればいいですか?
|
4
4
|
|
@@ -6,27 +6,19 @@
|
|
6
6
|
|
7
7
|
|
8
8
|
|
9
|
-
```ここに言語を入力
|
10
|
-
|
11
|
-
Temporary folder: /private/tmp/monaca/56c7346ffd1734e73278b228
|
12
|
-
|
13
|
-
Downloading project
|
14
|
-
|
15
|
-
Download complete
|
16
|
-
|
17
|
-
Running for 5.2
|
18
|
-
|
19
|
-
plugin add
|
9
|
+
plugin add cordova-plugin-admobpro
|
20
|
-
|
10
|
+
|
21
|
-
No ALTQ support in kernel
|
11
|
+
No ALTQ support in kernel
|
22
|
-
|
12
|
+
|
23
|
-
ALTQ related functions disabled
|
13
|
+
ALTQ related functions disabled
|
24
|
-
|
14
|
+
|
25
|
-
pf enabled
|
15
|
+
pf enabled
|
26
|
-
|
27
|
-
|
16
|
+
|
28
|
-
|
29
|
-
Installing "
|
17
|
+
Installing "cordova-plugin-admobpro" for android
|
18
|
+
|
19
|
+
Fetching plugin "cordova-plugin-extension" via npm
|
20
|
+
|
21
|
+
Installing "cordova-plugin-extension" for android
|
30
22
|
|
31
23
|
No ALTQ support in kernel
|
32
24
|
|
@@ -34,17 +26,17 @@
|
|
34
26
|
|
35
27
|
pf disabled
|
36
28
|
|
37
|
-
plugin add plugin
|
29
|
+
plugin add cordova-plugin-whitelist@1.0.0
|
38
|
-
|
30
|
+
|
39
|
-
No ALTQ support in kernel
|
31
|
+
No ALTQ support in kernel
|
40
|
-
|
32
|
+
|
41
|
-
ALTQ related functions disabled
|
33
|
+
ALTQ related functions disabled
|
42
|
-
|
34
|
+
|
43
|
-
pf enabled
|
35
|
+
pf enabled
|
44
|
-
|
36
|
+
|
45
|
-
Fetching plugin "plugin
|
37
|
+
Fetching plugin "cordova-plugin-whitelist@1.0.0" via npm
|
46
|
-
|
38
|
+
|
47
|
-
Installing "plugin
|
39
|
+
Installing "cordova-plugin-whitelist" for android
|
48
40
|
|
49
41
|
No ALTQ support in kernel
|
50
42
|
|
@@ -52,19 +44,17 @@
|
|
52
44
|
|
53
45
|
pf disabled
|
54
46
|
|
55
|
-
plugin add cordova-plugin-a
|
47
|
+
plugin add cordova-plugin-splashscreen@2.1.0
|
56
|
-
|
48
|
+
|
57
|
-
No ALTQ support in kernel
|
49
|
+
No ALTQ support in kernel
|
58
|
-
|
50
|
+
|
59
|
-
ALTQ related functions disabled
|
51
|
+
ALTQ related functions disabled
|
60
|
-
|
52
|
+
|
61
|
-
pf enabled
|
53
|
+
pf enabled
|
62
|
-
|
63
|
-
|
54
|
+
|
64
|
-
|
65
|
-
Fetching plugin "cordova-plugin-e
|
55
|
+
Fetching plugin "cordova-plugin-splashscreen@2.1.0" via npm
|
66
|
-
|
56
|
+
|
67
|
-
Installing "cordova-plugin-e
|
57
|
+
Installing "cordova-plugin-splashscreen" for android
|
68
58
|
|
69
59
|
No ALTQ support in kernel
|
70
60
|
|
@@ -72,17 +62,17 @@
|
|
72
62
|
|
73
63
|
pf disabled
|
74
64
|
|
65
|
+
Project has 5 plugins.
|
66
|
+
|
75
|
-
plugin a
|
67
|
+
6 plugins has been installed.
|
76
|
-
|
68
|
+
|
77
|
-
No ALTQ support in kernel
|
69
|
+
No ALTQ support in kernel
|
78
|
-
|
70
|
+
|
79
|
-
ALTQ related functions disabled
|
71
|
+
ALTQ related functions disabled
|
80
|
-
|
72
|
+
|
81
|
-
pf enabled
|
73
|
+
pf enabled
|
82
|
-
|
74
|
+
|
83
|
-
|
75
|
+
Running command: /private/tmp/monaca/56c7346ffd1734e73278b228/android/skeleton/hooks/after_prepare/monaca_enterprise_android.js /private/tmp/monaca/56c7346ffd1734e73278b228/android/skeleton
|
84
|
-
|
85
|
-
Installing "cordova-plugin-whitelist" for android
|
86
76
|
|
87
77
|
No ALTQ support in kernel
|
88
78
|
|
@@ -90,42 +80,6 @@
|
|
90
80
|
|
91
81
|
pf disabled
|
92
82
|
|
93
|
-
plugin add cordova-plugin-splashscreen@2.1.0
|
94
|
-
|
95
|
-
No ALTQ support in kernel
|
96
|
-
|
97
|
-
ALTQ related functions disabled
|
98
|
-
|
99
|
-
pf enabled
|
100
|
-
|
101
|
-
Fetching plugin "cordova-plugin-splashscreen@2.1.0" via npm
|
102
|
-
|
103
|
-
Installing "cordova-plugin-splashscreen" for android
|
104
|
-
|
105
|
-
No ALTQ support in kernel
|
106
|
-
|
107
|
-
ALTQ related functions disabled
|
108
|
-
|
109
|
-
pf disabled
|
110
|
-
|
111
|
-
Project has 5 plugins.
|
112
|
-
|
113
|
-
6 plugins has been installed.
|
114
|
-
|
115
|
-
No ALTQ support in kernel
|
116
|
-
|
117
|
-
ALTQ related functions disabled
|
118
|
-
|
119
|
-
pf enabled
|
120
|
-
|
121
|
-
Running command: /private/tmp/monaca/56c7346ffd1734e73278b228/android/skeleton/hooks/after_prepare/monaca_enterprise_android.js /private/tmp/monaca/56c7346ffd1734e73278b228/android/skeleton
|
122
|
-
|
123
|
-
No ALTQ support in kernel
|
124
|
-
|
125
|
-
ALTQ related functions disabled
|
126
|
-
|
127
|
-
pf disabled
|
128
|
-
|
129
83
|
No ALTQ support in kernel
|
130
84
|
|
131
85
|
ALTQ related functions disabled
|
@@ -139,3 +93,293 @@
|
|
139
93
|
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home
|
140
94
|
|
141
95
|
Running: /private/tmp/monaca/56c7346ffd1734e73278b228/android/skeleton/platforms/android/gradlew cdvBuildDebug -b /private/tmp/monaca/56c7346ffd1734e73278b228/android/skeleton/platforms/android/build.gradle -Dorg.gradle.daemon=true
|
96
|
+
|
97
|
+
:preBuild
|
98
|
+
|
99
|
+
:compileDebugNdk
|
100
|
+
|
101
|
+
:preDebugBuild
|
102
|
+
|
103
|
+
:checkDebugManifest
|
104
|
+
|
105
|
+
:CordovaLib:compileLint
|
106
|
+
|
107
|
+
:CordovaLib:copyDebugLint UP-TO-DATE
|
108
|
+
|
109
|
+
:CordovaLib:mergeDebugProguardFiles
|
110
|
+
|
111
|
+
:CordovaLib:preBuild
|
112
|
+
|
113
|
+
:CordovaLib:preDebugBuild
|
114
|
+
|
115
|
+
:CordovaLib:checkDebugManifest
|
116
|
+
|
117
|
+
:CordovaLib:prepareDebugDependencies
|
118
|
+
|
119
|
+
:CordovaLib:compileDebugAidl
|
120
|
+
|
121
|
+
:CordovaLib:compileDebugRenderscript
|
122
|
+
|
123
|
+
:CordovaLib:generateDebugBuildConfig
|
124
|
+
|
125
|
+
:CordovaLib:generateDebugAssets UP-TO-DATE
|
126
|
+
|
127
|
+
:CordovaLib:mergeDebugAssets
|
128
|
+
|
129
|
+
:CordovaLib:generateDebugResValues
|
130
|
+
|
131
|
+
:CordovaLib:generateDebugResources
|
132
|
+
|
133
|
+
:CordovaLib:packageDebugResources
|
134
|
+
|
135
|
+
:CordovaLib:processDebugManifest
|
136
|
+
|
137
|
+
:CordovaLib:processDebugResources
|
138
|
+
|
139
|
+
:CordovaLib:generateDebugSources
|
140
|
+
|
141
|
+
Note: Some input files use or override a deprecated API.
|
142
|
+
|
143
|
+
Note: Recompile with -Xlint:deprecation for details.
|
144
|
+
|
145
|
+
:CordovaLib:compileDebugJava
|
146
|
+
|
147
|
+
:CordovaLib:processDebugJavaRes UP-TO-DATE
|
148
|
+
|
149
|
+
:CordovaLib:packageDebugJar
|
150
|
+
|
151
|
+
:CordovaLib:compileDebugNdk
|
152
|
+
|
153
|
+
:CordovaLib:packageDebugJniLibs UP-TO-DATE
|
154
|
+
|
155
|
+
:CordovaLib:packageDebugLocalJar UP-TO-DATE
|
156
|
+
|
157
|
+
:CordovaLib:packageDebugRenderscript UP-TO-DATE
|
158
|
+
|
159
|
+
:CordovaLib:bundleDebug
|
160
|
+
|
161
|
+
:prepareAndroidCordovaLibUnspecifiedDebugLibrary
|
162
|
+
|
163
|
+
:preReleaseBuild
|
164
|
+
|
165
|
+
:CordovaLib:copyReleaseLint UP-TO-DATE
|
166
|
+
|
167
|
+
:CordovaLib:mergeReleaseProguardFiles
|
168
|
+
|
169
|
+
:CordovaLib:preReleaseBuild
|
170
|
+
|
171
|
+
:CordovaLib:checkReleaseManifest
|
172
|
+
|
173
|
+
:CordovaLib:prepareReleaseDependencies
|
174
|
+
|
175
|
+
:CordovaLib:compileReleaseAidl
|
176
|
+
|
177
|
+
:CordovaLib:compileReleaseRenderscript
|
178
|
+
|
179
|
+
:CordovaLib:generateReleaseBuildConfig
|
180
|
+
|
181
|
+
:CordovaLib:generateReleaseAssets UP-TO-DATE
|
182
|
+
|
183
|
+
:CordovaLib:mergeReleaseAssets
|
184
|
+
|
185
|
+
:CordovaLib:generateReleaseResValues
|
186
|
+
|
187
|
+
:CordovaLib:generateReleaseResources
|
188
|
+
|
189
|
+
:CordovaLib:packageReleaseResources
|
190
|
+
|
191
|
+
:CordovaLib:processReleaseManifest
|
192
|
+
|
193
|
+
:CordovaLib:processReleaseResources
|
194
|
+
|
195
|
+
:CordovaLib:generateReleaseSources
|
196
|
+
|
197
|
+
Note: Some input files use or override a deprecated API.
|
198
|
+
|
199
|
+
Note: Recompile with -Xlint:deprecation for details.
|
200
|
+
|
201
|
+
:CordovaLib:compileReleaseJava
|
202
|
+
|
203
|
+
:CordovaLib:processReleaseJavaRes UP-TO-DATE
|
204
|
+
|
205
|
+
:CordovaLib:packageReleaseJar
|
206
|
+
|
207
|
+
:CordovaLib:compileReleaseNdk
|
208
|
+
|
209
|
+
:CordovaLib:packageReleaseJniLibs UP-TO-DATE
|
210
|
+
|
211
|
+
:CordovaLib:packageReleaseLocalJar UP-TO-DATE
|
212
|
+
|
213
|
+
:CordovaLib:packageReleaseRenderscript UP-TO-DATE
|
214
|
+
|
215
|
+
:CordovaLib:bundleRelease
|
216
|
+
|
217
|
+
:prepareComAndroidSupportSupportV42220Library
|
218
|
+
|
219
|
+
:prepareComGoogleAndroidGmsPlayServicesAds830Library
|
220
|
+
|
221
|
+
:prepareComGoogleAndroidGmsPlayServicesBasement830Library
|
222
|
+
|
223
|
+
:prepareDebugDependencies
|
224
|
+
|
225
|
+
:compileDebugAidl
|
226
|
+
|
227
|
+
:compileDebugRenderscript
|
228
|
+
|
229
|
+
:generateDebugBuildConfig
|
230
|
+
|
231
|
+
:generateDebugAssets UP-TO-DATE
|
232
|
+
|
233
|
+
:mergeDebugAssets
|
234
|
+
|
235
|
+
:generateDebugResValues
|
236
|
+
|
237
|
+
:generateDebugResources
|
238
|
+
|
239
|
+
/private/tmp/monaca/56c7346ffd1734e73278b228/android/skeleton/platforms/android/res/drawable-ldpi/icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
|
240
|
+
|
241
|
+
/private/tmp/monaca/56c7346ffd1734e73278b228/android/skeleton/platforms/android/res/drawable-land-mdpi/icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
|
242
|
+
|
243
|
+
/private/tmp/monaca/56c7346ffd1734e73278b228/android/skeleton/platforms/android/res/drawable-port-ldpi/icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
|
244
|
+
|
245
|
+
/private/tmp/monaca/56c7346ffd1734e73278b228/android/skeleton/platforms/android/res/drawable-land-ldpi/icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
|
246
|
+
|
247
|
+
/private/tmp/monaca/56c7346ffd1734e73278b228/android/skeleton/platforms/android/res/drawable-port-mdpi/icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
|
248
|
+
|
249
|
+
/private/tmp/monaca/56c7346ffd1734e73278b228/android/skeleton/platforms/android/res/drawable-mdpi/icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
|
250
|
+
|
251
|
+
:mergeDebugResources
|
252
|
+
|
253
|
+
:processDebugManifest
|
254
|
+
|
255
|
+
:processDebugResources
|
256
|
+
|
257
|
+
:generateDebugSources
|
258
|
+
|
259
|
+
Note: Some input files use or override a deprecated API.
|
260
|
+
|
261
|
+
Note: Recompile with -Xlint:deprecation for details.
|
262
|
+
|
263
|
+
:compileDebugJava
|
264
|
+
|
265
|
+
:preDexDebug
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
UNEXPECTED TOP-LEVEL EXCEPTION:
|
270
|
+
|
271
|
+
com.android.dex.DexException: Multiple dex files define Lcom/google/ads/AdRequest$ErrorCode;
|
272
|
+
|
273
|
+
at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:596)
|
274
|
+
|
275
|
+
at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:554)
|
276
|
+
|
277
|
+
at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:535)
|
278
|
+
|
279
|
+
at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)
|
280
|
+
|
281
|
+
at com.android.dx.merge.DexMerger.merge(DexMerger.java:189)
|
282
|
+
|
283
|
+
at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:502)
|
284
|
+
|
285
|
+
at com.android.dx.command.dexer.Main.runMonoDex(Main.java:334)
|
286
|
+
|
287
|
+
at com.android.dx.command.dexer.Main.run(Main.java:277)
|
288
|
+
|
289
|
+
at com.android.dx.command.dexer.Main.main(Main.java:245)
|
290
|
+
|
291
|
+
at com.android.dx.command.Main.main(Main.java:106)
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
:dexDebug FAILED
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
FAILURE: Build failed with an exception.
|
300
|
+
|
301
|
+
|
302
|
+
|
303
|
+
* What went wrong:
|
304
|
+
|
305
|
+
Execution failed for task ':dexDebug'.
|
306
|
+
|
307
|
+
> com.android.ide.common.internal.LoggedErrorException: Failed to run command:
|
308
|
+
|
309
|
+
/Applications/android-sdk-macosx/build-tools/23.0.1/dx --dex --no-optimize --output /private/tmp/monaca/56c7346ffd1734e73278b228/android/skeleton/platforms/android/build/intermediates/dex/debug --input-list=/private/tmp/monaca/56c7346ffd1734e73278b228/android/skeleton/platforms/android/build/intermediates/tmp/dex/debug/inputList.txt
|
310
|
+
|
311
|
+
Error Code:
|
312
|
+
|
313
|
+
2
|
314
|
+
|
315
|
+
Output:
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
UNEXPECTED TOP-LEVEL EXCEPTION:
|
320
|
+
|
321
|
+
com.android.dex.DexException: Multiple dex files define Lcom/google/ads/AdRequest$ErrorCode;
|
322
|
+
|
323
|
+
at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:596)
|
324
|
+
|
325
|
+
at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:554)
|
326
|
+
|
327
|
+
at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:535)
|
328
|
+
|
329
|
+
at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)
|
330
|
+
|
331
|
+
at com.android.dx.merge.DexMerger.merge(DexMerger.java:189)
|
332
|
+
|
333
|
+
at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:502)
|
334
|
+
|
335
|
+
at com.android.dx.command.dexer.Main.runMonoDex(Main.java:334)
|
336
|
+
|
337
|
+
at com.android.dx.command.dexer.Main.run(Main.java:277)
|
338
|
+
|
339
|
+
at com.android.dx.command.dexer.Main.main(Main.java:245)
|
340
|
+
|
341
|
+
at com.android.dx.command.Main.main(Main.java:106)
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
|
348
|
+
|
349
|
+
* Try:
|
350
|
+
|
351
|
+
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
|
352
|
+
|
353
|
+
|
354
|
+
|
355
|
+
BUILD FAILED
|
356
|
+
|
357
|
+
|
358
|
+
|
359
|
+
Total time: 42.384 secs
|
360
|
+
|
361
|
+
|
362
|
+
|
363
|
+
/private/tmp/monaca/56c7346ffd1734e73278b228/android/skeleton/platforms/android/cordova/node_modules/q/q.js:126
|
364
|
+
|
365
|
+
throw e;
|
366
|
+
|
367
|
+
^
|
368
|
+
|
369
|
+
Error code 1 for command: /private/tmp/monaca/56c7346ffd1734e73278b228/android/skeleton/platforms/android/gradlew with args: cdvBuildDebug,-b,/private/tmp/monaca/56c7346ffd1734e73278b228/android/skeleton/platforms/android/build.gradle,-Dorg.gradle.daemon=true
|
370
|
+
|
371
|
+
ERROR building one of the platforms: Error: /private/tmp/monaca/56c7346ffd1734e73278b228/android/skeleton/platforms/android/cordova/build: Command failed with exit code 8
|
372
|
+
|
373
|
+
You may not have the required environment or OS to build this project
|
374
|
+
|
375
|
+
Error: /private/tmp/monaca/56c7346ffd1734e73278b228/android/skeleton/platforms/android/cordova/build: Command failed with exit code 8
|
376
|
+
|
377
|
+
at ChildProcess.whenDone (/data/monaca_build_module/5.2/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:139:23)
|
378
|
+
|
379
|
+
at ChildProcess.emit (events.js:98:17)
|
380
|
+
|
381
|
+
at maybeClose (child_process.js:755:16)
|
382
|
+
|
383
|
+
at Process.ChildProcess._handle.onexit (child_process.js:822:5)
|
384
|
+
|
385
|
+
Build error: Error building project source code
|