Forum Discussion
ian.sloman
2 years agoProtege
Unable to Build with Unity 2022.3.22f1
When trying to do a build I get the following errors:
"
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
Error: Could not find or load main class Application.3D.Unity.2022.3.22f1
Caused by: java.lang.ClassNotFoundException: Application.3D.Unity.2022.3.22f1
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:203)
CommandInvokationFailure: Failed to update Android SDK package list.
/Applications/Engineering Application/3D/Unity/2022.3.22f1 LTS/PlaybackEngines/AndroidPlayer/SDK/cmdline-tools/6.0/bin/sdkmanager --list
Environment Variables:
DEBUG_ENV_VAR = UnityHub
XPC_FLAGS = 0x0
DISPLAY = /private/tmp/com.apple.launchd.yPfA0l2OyA/org.macosforge.xquartz:0
__CFBundleIdentifier = com.unity3d.unityhub
AMPLITUDE_API_KEY_GREENBUCKET_DEV = 3ded2a762163603391a425f688f990c8
AMPLITUDE_TOKEN_REDBUCKET_DEV = U4PSN7S7PuYVRODivvdcFwbu8R6IHGqa
SECURITYSESSIONID = 186b1
AMPLITUDE_API_KEY_GREENBUCKET_PROD = c86fea37a9e1d3f0878b96e15b111c7c
JAVA_TOOL_OPTIONS = -Dfile.encoding=UTF-8
SENTRY_ACCESS_TOKEN = 3df78d9e53f8456aa90fbae044ce1a6261421ab1d0014674bc2e933477289017
JAVA_HOME = /Applications/Engineering Application/3D/Unity/2022.3.22f1 LTS/PlaybackEngines/AndroidPlayer/OpenJDK
AMPLITUDE_DEPLOYMENT_KEY_RED_BUCKET_DEV = client-wbjHYrmeSR87GmWOE7LDpf7sUySOIKHm
AMPLITUDE_TOKEN_GREENBUCKET_PROD = ZpUcbAdZXJYzNSoHsAWtL_s_JppwWid9...
Build completed with a result of 'Failed' in 7 seconds (7387 ms)
2 errors
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:203)
I found that I actually have the 6.0/bin/...
2 Replies
Replies have been turned off for this discussion
- ian.slomanProtege
While waiting for a reply, I looked around in my Unity and found that I don't have '/Applications/Engineering Application/3D/Unity/2022.3.22f1 LTS/PlaybackEngines/AndroidPlayer/SDK/cmdline-tools/6.0/bin/sdkmanager --list' but I do have '/Applications/Engineering Application/3D/Unity/2022.3.22f1 LTS/PlaybackEngines/AndroidPlayer/SDK/cmdline-tools/2.1...' what is the significance of this difference?
- ian.slomanProtege
I found that I actually have the 6.0/bin/...
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 4 years ago
- 10 months ago