質問編集履歴

2

貼るべき補足情報が間違ってた

2022/06/17 06:00

投稿

drednote
drednote

スコア336

test CHANGED
File without changes
test CHANGED
@@ -14,12 +14,47 @@
14
14
 
15
15
  補足情報:
16
16
  Unity側コンソールメッセージですが、貼ると凄まじく長いので躊躇しています。上の方だけ貼りますと
17
- UnityEditor.BuildPlayerWindow+BuildMethodException: 4 errors
18
- at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002da] in <36f62d8e760b48f7af5d32916f997ce1>:0
19
- at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <36f62d8e760b48f7af5d32916f997ce1>:0
20
- 0x00007ff74b0e0c3d (Unity) StackWalker::GetCurrentCallstack
21
- 0x00007ff74b0e7919 (Unity) StackWalker::ShowCallstack
22
- 0x00007ff74c0548b3 (Unity) GetStacktrace
23
- 0x00007ff74c6e98ad (Unity) DebugStringToFile
24
- 0x00007ff74a24c3a2 (Unity) DebugLogHandler_CUSTOM_Internal_Log
17
+ CommandInvokationFailure: Gradle build failed.
18
+ D:\Applications\Unity\2021.3.4f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin\java.exe -classpath "D:\Applications\Unity\2021.3.4f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-6.1.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleRelease"
19
+
20
+ stderr[
21
+
22
+ FAILURE: Build failed with an exception.
23
+
24
+ * What went wrong:
25
+ Execution failed for task ':launcher:processReleaseResources'.
26
+ > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
27
+ > Android resource linking failed
28
+ C:\Users\takuma\.gradle\caches\transforms-2\files-2.1\7c46687744f6f7a54e3515acf7918fca\unityeightbridge-debug\res\values\values.xml:11:5-23:13: AAPT: error: style attribute 'attr/colorPrimary (aka com.DefaultCompany.com.unity.template.mobile2D:attr/colorPrimary)' not found.
29
+
30
+ C:\Users\takuma\.gradle\caches\transforms-2\files-2.1\7c46687744f6f7a54e3515acf7918fca\unityeightbridge-debug\res\values\values.xml:11:5-23:13: AAPT: error: style attribute 'attr/colorPrimaryVariant (aka com.DefaultCompany.com.unity.template.mobile2D:attr/colorPrimaryVariant)' not found.
31
+
32
+ C:\Users\takuma\.gradle\caches\transforms-2\files-2.1\7c46687744f6f7a54e3515acf7918fca\unityeightbridge-debug\res\values\values.xml:11:5-23:13: AAPT: error: style attribute 'attr/colorOnPrimary (aka com.DefaultCompany.com.unity.template.mobile2D:attr/colorOnPrimary)' not found.
33
+
34
+ C:\Users\takuma\.gradle\caches\transforms-2\files-2.1\7c46687744f6f7a54e3515acf7918fca\unityeightbridge-debug\res\values\values.xml:11:5-23:13: AAPT: error: style attribute 'attr/colorSecondary (aka com.DefaultCompany.com.unity.template.mobile2D:attr/colorSecondary)' not found.
35
+
36
+ C:\Users\takuma\.gradle\caches\transforms-2\files-2.1\7c46687744f6f7a54e3515acf7918fca\unityeightbridge-debug\res\values\values.xml:11:5-23:13: AAPT: error: style attribute 'attr/colorSecondaryVariant (aka com.DefaultCompany.com.unity.template.mobile2D:attr/colorSecondaryVariant)' not found.
37
+
38
+ C:\Users\takuma\.gradle\caches\transforms-2\files-2.1\7c46687744f6f7a54e3515acf7918fca\unityeightbridge-debug\res\values\values.xml:11:5-23:13: AAPT: error: style attribute 'attr/colorOnSecondary (aka com.DefaultCompany.com.unity.template.mobile2D:attr/colorOnSecondary)' not found.
39
+
40
+ C:\Users\takuma\.gradle\caches\transforms-2\files-2.1\7c46687744f6f7a54e3515acf7918fca\unityeightbridge-debug\res\values\values.xml:11:5-23:13: AAPT: error: resource attr/colorPrimaryVariant (aka com.DefaultCompany.com.unity.template.mobile2D:attr/colorPrimaryVariant) not found.
41
+
42
+ C:\Users\takuma\.gradle\caches\transforms-2\files-2.1\7c46687744f6f7a54e3515acf7918fca\unityeightbridge-debug\res\values-night-v8\values-night-v8.xml:3:5-15:13: AAPT: error: style attribute 'attr/colorPrimary (aka com.DefaultCompany.com.unity.template.mobile2D:attr/colorPrimary)' not found.
43
+
44
+ C:\Users\takuma\.gradle\caches\transforms-2\files-2.1\7c46687744f6f7a54e3515acf7918fca\unityeightbridge-debug\res\values-night-v8\values-night-v8.xml:3:5-15:13: AAPT: error: style attribute 'attr/colorPrimaryVariant (aka com.DefaultCompany.com.unity.template.mobile2D:attr/colorPrimaryVariant)' not found.
45
+
46
+ C:\Users\takuma\.gradle\caches\transforms-2\files-2.1\7c46687744f6f7a54e3515acf7918fca\unityeightbridge-debug\res\values-night-v8\values-night-v8.xml:3:5-15:13: AAPT: error: style attribute 'attr/colorOnPrimary (aka com.DefaultCompany.com.unity.template.mobile2D:attr/colorOnPrimary)' not found.
47
+
48
+ C:\Users\takuma\.gradle\caches\transforms-2\files-2.1\7c46687744f6f7a54e3515acf7918fca\unityeightbridge-debug\res\values-night-v8\values-night-v8.xml:3:5-15:13: AAPT: error: style attribute 'attr/colorSecondary (aka com.DefaultCompany.com.unity.template.mobile2D:attr/colorSecondary)' not found.
49
+
50
+ C:\Users\takuma\.gradle\caches\transforms-2\files-2.1\7c46687744f6f7a54e3515acf7918fca\unityeightbridge-debug\res\values-night-v8\values-night-v8.xml:3:5-15:13: AAPT: error: style attribute 'attr/colorSecondaryVariant (aka com.DefaultCompany.com.unity.template.mobile2D:attr/colorSecondaryVariant)' not found.
51
+
52
+ C:\Users\takuma\.gradle\caches\transforms-2\files-2.1\7c46687744f6f7a54e3515acf7918fca\unityeightbridge-debug\res\values-night-v8\values-night-v8.xml:3:5-15:13: AAPT: error: style attribute 'attr/colorOnSecondary (aka com.DefaultCompany.com.unity.template.mobile2D:attr/colorOnSecondary)' not found.
53
+
54
+ C:\Users\takuma\.gradle\caches\transforms-2\files-2.1\7c46687744f6f7a54e3515acf7918fca\unityeightbridge-debug\res\values-night-v8\values-night-v8.xml:3:5-15:13: AAPT: error: resource attr/colorPrimaryVariant (aka com.DefaultCompany.com.unity.template.mobile2D:attr/colorPrimaryVariant) not found.
55
+
56
+
57
+ * Try:
58
+ Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
59
+
25
60
  となっています

1

補足情報追加

2022/06/17 05:54

投稿

drednote
drednote

スコア336

test CHANGED
File without changes
test CHANGED
@@ -11,3 +11,15 @@
11
11
 
12
12
  何か追加情報が恐らく必要だと思うのですが、何を貼れば良いのかすらよく分からないのでこの時点で質問出させて頂きます。
13
13
  すみませんが指示をお願いします。
14
+
15
+ 補足情報:
16
+ Unity側コンソールメッセージですが、貼ると凄まじく長いので躊躇しています。上の方だけ貼りますと
17
+ UnityEditor.BuildPlayerWindow+BuildMethodException: 4 errors
18
+ at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002da] in <36f62d8e760b48f7af5d32916f997ce1>:0
19
+ at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <36f62d8e760b48f7af5d32916f997ce1>:0
20
+ 0x00007ff74b0e0c3d (Unity) StackWalker::GetCurrentCallstack
21
+ 0x00007ff74b0e7919 (Unity) StackWalker::ShowCallstack
22
+ 0x00007ff74c0548b3 (Unity) GetStacktrace
23
+ 0x00007ff74c6e98ad (Unity) DebugStringToFile
24
+ 0x00007ff74a24c3a2 (Unity) DebugLogHandler_CUSTOM_Internal_Log
25
+ となっています