質問編集履歴
1
エラー内容の載せ直し
test
CHANGED
File without changes
|
test
CHANGED
@@ -80,13 +80,91 @@
|
|
80
80
|
|
81
81
|
NDK is missing a "platforms" directory.
|
82
82
|
|
83
|
-
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /Users/
|
83
|
+
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /Users/●●●●●●●/Library/Android/sdk/ndk-bundle.
|
84
84
|
|
85
85
|
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
|
86
86
|
|
87
87
|
|
88
88
|
|
89
89
|
以下は ~~ UP-TO-DATE などの文が続きます
|
90
|
+
|
91
|
+
```
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
※追記
|
96
|
+
|
97
|
+
よく見るとエラーの内容が違っていたので、載せ直します。
|
98
|
+
|
99
|
+
```
|
100
|
+
|
101
|
+
CommandInvokationFailure: Gradle build failed.
|
102
|
+
|
103
|
+
/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/bin/java -classpath "/Applications/Unity/PlaybackEngines/AndroidPlayer/Tools/gradle/lib/gradle-launcher-4.0.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx2048m" "assembleRelease"
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
stderr[
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
FAILURE: Build failed with an exception.
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
* What went wrong:
|
116
|
+
|
117
|
+
Execution failed for task ':transformResourcesWithMergeJavaResForRelease'.
|
118
|
+
|
119
|
+
> com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK play-services-basement.properties
|
120
|
+
|
121
|
+
File1: /Users/●●●●●●●/.android/build-cache/9730ba3bdeb68b6ecf727ac39087647970b27cfa/output/jars/classes.jar
|
122
|
+
|
123
|
+
File2: /Users/●●●●●●●/.android/build-cache/6b3b61880d2f59a7daeb255792c560468bedd032/output/jars/classes.jar
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
* Try:
|
130
|
+
|
131
|
+
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
BUILD FAILED in 23s
|
136
|
+
|
137
|
+
]
|
138
|
+
|
139
|
+
stdout[
|
140
|
+
|
141
|
+
NDK is missing a "platforms" directory.
|
142
|
+
|
143
|
+
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /Users/●●●●●●●/Library/Android/sdk/ndk-bundle.
|
144
|
+
|
145
|
+
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
NDK is missing a "platforms" directory.
|
150
|
+
|
151
|
+
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /Users/●●●●●●●/Library/Android/sdk/ndk-bundle.
|
152
|
+
|
153
|
+
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
The setTestClassesDir(File) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the setTestClassesDirs(FileCollection) method instead.
|
158
|
+
|
159
|
+
The getTestClassesDir() method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the getTestClassesDirs() method instead.
|
160
|
+
|
161
|
+
The ConfigurableReport.setDestination(Object) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the method ConfigurableReport.setDestination(File) instead.
|
162
|
+
|
163
|
+
NDK is missing a "platforms" directory.
|
164
|
+
|
165
|
+
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /Users/●●●●●●●/Library/Android/sdk/ndk-bundle.
|
166
|
+
|
167
|
+
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
|
90
168
|
|
91
169
|
```
|
92
170
|
|