Try MAXST AR Fusion Tracker Now ✨
List
sdk 4.0 임포트 후 빌드 시 오류
Posted Date: 2022-04-24 6:30     Edited Date: 2022-04-29 7:53     Writer: qqqq8692

Please provide your development details as below;

1. SDK Version: 4.0.0
2. Development Environment: Unity-Android
3. Tracker/Scanner:
4. License Type(Free / Pro-One Time Fee / Pro-Subscription / Enterprise): Free
5. Target Device(Optional): android
상세 오류

1번 

Error:Invalid command dx

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
 

2번 

CommandInvokationFailure: Unable to convert classes into dex format.
C:/Program Files/Java/jdk1.8.0_331\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="C:/Users/com/AppData/Local/Android/Sdk\tools" -Dfile.encoding=UTF8 -jar "C:\Program Files\Unity\Hub\Editor\2018.1.0f2\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" -

stderr[
Error:Invalid command dx
]
stdout[

]
exit code: 64
UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.AndroidSDKTools.RunCommandInternal (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.AndroidSDKTools.RunCommand (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
 

3번

Error building Player: 3 errors
 

4번

Build completed with a result of 'Failed'
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
 

5번

UnityEditor.BuildPlayerWindow+BuildMethodException: 4 errors
  at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x0021f] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:182 
  at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00065] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:89 
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
 

Posted Date: 2022-04-29 7:53     Edited Date: 2022-04-29 7:53     Writer: sjkim

MAXST AR SDK에 관심을 가져주셔서 감사합니다. 

 

해당 내용만으로 문제에 대한 해결책을 드리기 어렵습니다.

 

특별히, 4.0.0 버전을 사용하시는 이유가 있으신가요?

없으시다면 최신의 AR SDK 버전을 사용하시기 바랍니다. 

 

AR SDK에 관련하여 다른 질문이 있으시면, 언제든지 자유롭게 질문해주세요.

 

 

Best regards,

Francisco

MAXST Support Team