Getting Errors when building for android platform. Need help [Urgent]
Hey, When i try to build apk for android i am getting these errors. plz help. I have single quoted each error so you can understand.
Errors:
'Assets\LowPolyGround\TutorialInfo\Scripts\buttonAssetstore.cs(5,7): error CS0246: The type or namespace name 'UnityEditorInternal' could not be found (are you missing a using directive or an assembly reference?) '
'Error building Player because scripts had compiler errors'
'Build completed with a result of 'Failed' UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)'
UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00242] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:194 at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x0007f] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:97 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)'
'IndexOutOfRangeException: Index was outside the bounds of the array. UnityEditor.Android.AndroidBuildWindowExtension.GetBuildPlayerWindow () (at :0) UnityEditor.Android.AndroidBuildWindowExtension.RepaintTargetList () (at :0) UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:200)'
Thanks in advance for helping, Gatha :)
Your answer
Follow this Question
Related Questions
Why my app crashed? unity2019 0 Answers
Having trouble with my app/game loading on my Android LG phone. 1 Answer
Error generating the APK with Unity 0 Answers
Why do projects exported to Android Studio always crash? 0 Answers
Android app not compliant with google play 64 bit requirements despite following the instructions 1 Answer