質問編集履歴
2
追記をいれました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -23,3 +23,445 @@
|
|
23
23
|
|
24
24
|
|
25
25
|
ご存知ならご助力お願いします。
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
追記
|
30
|
+
|
31
|
+
Androidのカスタムビルドデバッカーのビルドに失敗します。(iOSは成功します。)
|
32
|
+
|
33
|
+
以下にビルドエラーを記します。
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
Fetch queue Info...
|
38
|
+
|
39
|
+
Start building 59fa86c0e78885f2608b4567
|
40
|
+
|
41
|
+
Setup working directories...
|
42
|
+
|
43
|
+
Download project archive...
|
44
|
+
|
45
|
+
Extract project archive...
|
46
|
+
|
47
|
+
Fetch project info...
|
48
|
+
|
49
|
+
Search builder by config
|
50
|
+
|
51
|
+
Webview:null
|
52
|
+
|
53
|
+
Arch:null
|
54
|
+
|
55
|
+
cordova version: 6.5.0
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
- preBuild -
|
62
|
+
|
63
|
+
buildForAndroid
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
- Cordova create -
|
68
|
+
|
69
|
+
$ /data/build-server/cordova/6.5.0/bin/cordova create /tmp/monaca/59fa86c0e78885f2608b4567/project
|
70
|
+
|
71
|
+
Creating a new cordova project.
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
- Copy .monaca-res directory -
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
- Copy config.xml -
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
- Cordova platform add -
|
86
|
+
|
87
|
+
$ /data/build-server/cordova/6.5.0/bin/cordova platform add /data/build-server/cordova/platforms/android/6.2.3
|
88
|
+
|
89
|
+
Adding android project...
|
90
|
+
|
91
|
+
Creating Cordova project for the Android platform:
|
92
|
+
|
93
|
+
Path: platforms/android
|
94
|
+
|
95
|
+
Package: jp.co.jmas.kenrenTest
|
96
|
+
|
97
|
+
Name: OkasciIrtsMobileApp
|
98
|
+
|
99
|
+
Activity: MainActivity
|
100
|
+
|
101
|
+
Android target: android-25
|
102
|
+
|
103
|
+
Subproject Path: CordovaLib
|
104
|
+
|
105
|
+
Android project created with cordova-android@6.2.3
|
106
|
+
|
107
|
+
Discovered plugin "cordova-plugin-inappbrowser" in config.xml. Adding it to the project
|
108
|
+
|
109
|
+
Fetching plugin "cordova-plugin-inappbrowser@^1.7.1" via npm
|
110
|
+
|
111
|
+
Installing "cordova-plugin-inappbrowser" for android
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
- Copy external plugin setting files -
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
- Copy www files -
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
- Cordova plugin add -
|
126
|
+
|
127
|
+
$ /data/build-server/cordova/6.5.0/bin/cordova plugin add mobi.monaca.plugins.Monaca
|
128
|
+
|
129
|
+
$ /data/build-server/cordova/6.5.0/bin/cordova plugin add cordova-plugin-whitelist@1.3.1
|
130
|
+
|
131
|
+
$ /data/build-server/cordova/6.5.0/bin/cordova plugin add cordova-plugin-splashscreen@4.0.3
|
132
|
+
|
133
|
+
$ /data/build-server/cordova/6.5.0/bin/cordova plugin add cordova-custom-config@2.0.3
|
134
|
+
|
135
|
+
$ /data/build-server/cordova/6.5.0/bin/cordova plugin add ncmb-push-monaca-plugin@2.0.7
|
136
|
+
|
137
|
+
$ /data/build-server/cordova/6.5.0/bin/cordova plugin add /tmp/monaca/59fa86c0e78885f2608b4567/output/plugins/cordova-plugin-app-version
|
138
|
+
|
139
|
+
$ /data/build-server/cordova/6.5.0/bin/cordova plugin add /data/build-server/debugger/android/6.5 --variable MONACA_DEBUGGER_PLUGIN_ENDPOINT_BASE_DOMAIN=monaca.mobi --variable MONACA_DEBUGGER_PLUGIN_NAME=Monaca Debugger
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
- Cordova prepare -
|
144
|
+
|
145
|
+
$ /data/build-server/cordova/6.5.0/bin/cordova prepare android
|
146
|
+
|
147
|
+
cordova-custom-config: Skipping auto-restore of config file backup(s)
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
Fail to remove /tmp/monaca/59fa86c0e78885f2608b4567/project/platforms/android/assets/cordova_files.txt
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
- Cordova compile -
|
156
|
+
|
157
|
+
$ /data/build-server/cordova/6.5.0/bin/cordova compile --debug --device
|
158
|
+
|
159
|
+
ANDROID_HOME=/data/android-sdk
|
160
|
+
|
161
|
+
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home
|
162
|
+
|
163
|
+
:wrapper
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
BUILD SUCCESSFUL
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
Total time: 0.922 secs
|
172
|
+
|
173
|
+
Subproject Path: CordovaLib
|
174
|
+
|
175
|
+
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
|
176
|
+
|
177
|
+
at build_95xwgk6o8ilu96uyqnfj7iu6x.run(/private/tmp/monaca/59fa86c0e78885f2608b4567/project/platforms/android/build.gradle:139)
|
178
|
+
|
179
|
+
The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0.
|
180
|
+
|
181
|
+
Incremental java compilation is an incubating feature.
|
182
|
+
|
183
|
+
The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.
|
184
|
+
|
185
|
+
:preBuild UP-TO-DATE
|
186
|
+
|
187
|
+
:preDebugBuild UP-TO-DATE
|
188
|
+
|
189
|
+
:checkDebugManifest
|
190
|
+
|
191
|
+
:preReleaseBuild UP-TO-DATE
|
192
|
+
|
193
|
+
:CordovaLib:preBuild UP-TO-DATE
|
194
|
+
|
195
|
+
:CordovaLib:preDebugBuild UP-TO-DATE
|
196
|
+
|
197
|
+
:CordovaLib:checkDebugManifest
|
198
|
+
|
199
|
+
:CordovaLib:prepareDebugDependencies
|
200
|
+
|
201
|
+
:CordovaLib:compileDebugAidl
|
202
|
+
|
203
|
+
:CordovaLib:compileDebugNdk UP-TO-DATE
|
204
|
+
|
205
|
+
:CordovaLib:compileLint
|
206
|
+
|
207
|
+
:CordovaLib:copyDebugLint UP-TO-DATE
|
208
|
+
|
209
|
+
:CordovaLib:mergeDebugShaders
|
210
|
+
|
211
|
+
:CordovaLib:compileDebugShaders
|
212
|
+
|
213
|
+
:CordovaLib:generateDebugAssets
|
214
|
+
|
215
|
+
:CordovaLib:mergeDebugAssets
|
216
|
+
|
217
|
+
:CordovaLib:mergeDebugProguardFiles
|
218
|
+
|
219
|
+
:CordovaLib:packageDebugRenderscript UP-TO-DATE
|
220
|
+
|
221
|
+
:CordovaLib:compileDebugRenderscript
|
222
|
+
|
223
|
+
:CordovaLib:generateDebugResValues
|
224
|
+
|
225
|
+
:CordovaLib:generateDebugResources
|
226
|
+
|
227
|
+
:CordovaLib:packageDebugResources
|
228
|
+
|
229
|
+
:CordovaLib:processDebugManifest
|
230
|
+
|
231
|
+
:CordovaLib:generateDebugBuildConfig
|
232
|
+
|
233
|
+
:CordovaLib:processDebugResources
|
234
|
+
|
235
|
+
:CordovaLib:generateDebugSources
|
236
|
+
|
237
|
+
:CordovaLib:incrementalDebugJavaCompilationSafeguard
|
238
|
+
|
239
|
+
:CordovaLib:compileDebugJavaWithJavac
|
240
|
+
|
241
|
+
:CordovaLib:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
|
242
|
+
|
243
|
+
:CordovaLib:processDebugJavaRes UP-TO-DATE
|
244
|
+
|
245
|
+
:CordovaLib:transformResourcesWithMergeJavaResForDebug
|
246
|
+
|
247
|
+
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug
|
248
|
+
|
249
|
+
:CordovaLib:mergeDebugJniLibFolders
|
250
|
+
|
251
|
+
:CordovaLib:transformNative_libsWithMergeJniLibsForDebug
|
252
|
+
|
253
|
+
:CordovaLib:transformNative_libsWithSyncJniLibsForDebug
|
254
|
+
|
255
|
+
:CordovaLib:bundleDebug
|
256
|
+
|
257
|
+
:CordovaLib:preReleaseBuild UP-TO-DATE
|
258
|
+
|
259
|
+
:CordovaLib:checkReleaseManifest
|
260
|
+
|
261
|
+
:CordovaLib:prepareReleaseDependencies
|
262
|
+
|
263
|
+
:CordovaLib:compileReleaseAidl
|
264
|
+
|
265
|
+
:CordovaLib:compileReleaseNdk UP-TO-DATE
|
266
|
+
|
267
|
+
:CordovaLib:copyReleaseLint UP-TO-DATE
|
268
|
+
|
269
|
+
:CordovaLib:mergeReleaseShaders
|
270
|
+
|
271
|
+
:CordovaLib:compileReleaseShaders
|
272
|
+
|
273
|
+
:CordovaLib:generateReleaseAssets
|
274
|
+
|
275
|
+
:CordovaLib:mergeReleaseAssets
|
276
|
+
|
277
|
+
:CordovaLib:mergeReleaseProguardFiles
|
278
|
+
|
279
|
+
:CordovaLib:packageReleaseRenderscript UP-TO-DATE
|
280
|
+
|
281
|
+
:CordovaLib:compileReleaseRenderscript
|
282
|
+
|
283
|
+
:CordovaLib:generateReleaseResValues
|
284
|
+
|
285
|
+
:CordovaLib:generateReleaseResources
|
286
|
+
|
287
|
+
:CordovaLib:packageReleaseResources
|
288
|
+
|
289
|
+
:CordovaLib:processReleaseManifest
|
290
|
+
|
291
|
+
:CordovaLib:generateReleaseBuildConfig
|
292
|
+
|
293
|
+
:CordovaLib:processReleaseResources
|
294
|
+
|
295
|
+
:CordovaLib:generateReleaseSources
|
296
|
+
|
297
|
+
:CordovaLib:incrementalReleaseJavaCompilationSafeguard
|
298
|
+
|
299
|
+
:CordovaLib:compileReleaseJavaWithJavac
|
300
|
+
|
301
|
+
:CordovaLib:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
|
302
|
+
|
303
|
+
:CordovaLib:processReleaseJavaRes UP-TO-DATE
|
304
|
+
|
305
|
+
:CordovaLib:transformResourcesWithMergeJavaResForRelease
|
306
|
+
|
307
|
+
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease
|
308
|
+
|
309
|
+
:CordovaLib:mergeReleaseJniLibFolders
|
310
|
+
|
311
|
+
:CordovaLib:transformNative_libsWithMergeJniLibsForRelease
|
312
|
+
|
313
|
+
:CordovaLib:transformNative_libsWithSyncJniLibsForRelease
|
314
|
+
|
315
|
+
:CordovaLib:bundleRelease
|
316
|
+
|
317
|
+
:prepareComAndroidSupportAppcompatV72311Library
|
318
|
+
|
319
|
+
:prepareComAndroidSupportSupportV42221Library
|
320
|
+
|
321
|
+
:prepareComGoogleAndroidGmsPlayServicesBase810Library
|
322
|
+
|
323
|
+
:prepareComGoogleAndroidGmsPlayServicesBasement810Library
|
324
|
+
|
325
|
+
:prepareComGoogleAndroidGmsPlayServicesGcm810Library
|
326
|
+
|
327
|
+
:prepareOrgApacheCordovaCordovaLib623DebugLibrary
|
328
|
+
|
329
|
+
:prepareDebugDependencies
|
330
|
+
|
331
|
+
:compileDebugAidl
|
332
|
+
|
333
|
+
:compileDebugRenderscript
|
334
|
+
|
335
|
+
:generateDebugBuildConfig
|
336
|
+
|
337
|
+
:generateDebugResValues
|
338
|
+
|
339
|
+
:generateDebugResources
|
340
|
+
|
341
|
+
:mergeDebugResources
|
342
|
+
|
343
|
+
:processDebugManifest
|
344
|
+
|
345
|
+
:processDebugResources
|
346
|
+
|
347
|
+
:generateDebugSources
|
348
|
+
|
349
|
+
:incrementalDebugJavaCompilationSafeguard
|
350
|
+
|
351
|
+
:compileDebugJavaWithJavac
|
352
|
+
|
353
|
+
:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
|
354
|
+
|
355
|
+
:compileDebugJavaWithJavac FAILED
|
356
|
+
|
357
|
+
|
358
|
+
|
359
|
+
BUILD FAILED
|
360
|
+
|
361
|
+
|
362
|
+
|
363
|
+
Total time: 6.667 secs
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
|
368
|
+
|
369
|
+
- postBuild -
|
370
|
+
|
371
|
+
Remove working directories...
|
372
|
+
|
373
|
+
Build Error: Error: Sandbox Exec Error: [ 注意:一部の入力ファイルは非推奨のAPIを使用またはオーバーライドしています。
|
374
|
+
|
375
|
+
注意:詳細は、-Xlint:deprecationオプションを指定して再コンパイルしてください。
|
376
|
+
|
377
|
+
注意:一部の入力ファイルは非推奨のAPIを使用またはオーバーライドしています。
|
378
|
+
|
379
|
+
注意:詳細は、-Xlint:deprecationオプションを指定して再コンパイルしてください。
|
380
|
+
|
381
|
+
/private/tmp/monaca/59fa86c0e78885f2608b4567/project/platforms/android/src/mobi/monaca/plugins/debugger/activity/menu/ScreenShotEditorActivity.java:105: エラー: シンボルを見つけられません
|
382
|
+
|
383
|
+
ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE},
|
384
|
+
|
385
|
+
^
|
386
|
+
|
387
|
+
シンボル: メソッド requestPermissions(ScreenShotEditorActivity,String[],int)
|
388
|
+
|
389
|
+
場所: クラス ActivityCompat
|
390
|
+
|
391
|
+
注意:一部の入力ファイルは非推奨のAPIを使用またはオーバーライドしています。
|
392
|
+
|
393
|
+
注意:詳細は、-Xlint:deprecationオプションを指定して再コンパイルしてください。
|
394
|
+
|
395
|
+
注意:/private/tmp/monaca/59fa86c0e78885f2608b4567/project/platforms/android/src/mobi/monaca/plugins/debugger/util/UrlUtil.javaの操作は、未チェックまたは安全ではありません。
|
396
|
+
|
397
|
+
注意:詳細は、-Xlint:uncheckedオプションを指定して再コンパイルしてください。
|
398
|
+
|
399
|
+
エラー1個
|
400
|
+
|
401
|
+
|
402
|
+
|
403
|
+
FAILURE: Build failed with an exception.
|
404
|
+
|
405
|
+
|
406
|
+
|
407
|
+
* What went wrong:
|
408
|
+
|
409
|
+
Execution failed for task ':compileDebugJavaWithJavac'.
|
410
|
+
|
411
|
+
> Compilation failed; see the compiler error output for details.
|
412
|
+
|
413
|
+
|
414
|
+
|
415
|
+
* Try:
|
416
|
+
|
417
|
+
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
|
418
|
+
|
419
|
+
Error: /private/tmp/monaca/59fa86c0e78885f2608b4567/project/platforms/android/gradlew: Command failed with exit code 1 Error output:
|
420
|
+
|
421
|
+
注意:一部の入力ファイルは非推奨のAPIを使用またはオーバーライドしています。
|
422
|
+
|
423
|
+
注意:詳細は、-Xlint:deprecationオプションを指定して再コンパイルしてください。
|
424
|
+
|
425
|
+
注意:一部の入力ファイルは非推奨のAPIを使用またはオーバーライドしています。
|
426
|
+
|
427
|
+
注意:詳細は、-Xlint:deprecationオプションを指定して再コンパイルしてください。
|
428
|
+
|
429
|
+
/private/tmp/monaca/59fa86c0e78885f2608b4567/project/platforms/android/src/mobi/monaca/plugins/debugger/activity/menu/ScreenShotEditorActivity.java:105: エラー: シンボルを見つけられません
|
430
|
+
|
431
|
+
ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE},
|
432
|
+
|
433
|
+
^
|
434
|
+
|
435
|
+
シンボル: メソッド requestPermissions(ScreenShotEditorActivity,String[],int)
|
436
|
+
|
437
|
+
場所: クラス ActivityCompat
|
438
|
+
|
439
|
+
注意:一部の入力ファイルは非推奨のAPIを使用またはオーバーライドしています。
|
440
|
+
|
441
|
+
注意:詳細は、-Xlint:deprecationオプションを指定して再コンパイルしてください。
|
442
|
+
|
443
|
+
注意:/private/tmp/monaca/59fa86c0e78885f2608b4567/project/platforms/android/src/mobi/monaca/plugins/debugger/util/UrlUtil.javaの操作は、未チェックまたは安全ではありません。
|
444
|
+
|
445
|
+
注意:詳細は、-Xlint:uncheckedオプションを指定して再コンパイルしてください。
|
446
|
+
|
447
|
+
エラー1個
|
448
|
+
|
449
|
+
|
450
|
+
|
451
|
+
FAILURE: Build failed with an exception.
|
452
|
+
|
453
|
+
|
454
|
+
|
455
|
+
* What went wrong:
|
456
|
+
|
457
|
+
Execution failed for task ':compileDebugJavaWithJavac'.
|
458
|
+
|
459
|
+
> Compilation failed; see the compiler error output for details.
|
460
|
+
|
461
|
+
|
462
|
+
|
463
|
+
* Try:
|
464
|
+
|
465
|
+
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
|
466
|
+
|
467
|
+
]
|
1
書式の改善
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Monacaで作成したアプリバージョンの取得方法
|
1
|
+
【Monaca】Monacaで作成したアプリバージョンの取得方法【cordova】
|
test
CHANGED
File without changes
|