- Home /
How Do i export to android properly?
How Do I export to android properly? I have the android sdk linked with unity but i get a error saying NullReferenceException: Object reference not set to an instance of an object UnityEditor.Android.PostProcessAndroidPlayer..ctor () UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options) UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (BuildPostProcessArgs args) UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316) UnityEditor.HostView:OnGUI()
and heres the next one
Error building Player: NullReferenceException: Object reference not set to an instance of an object
please help
Yes I have a the android sdk but I get the error then nothing happens
Seeing the same thing.
Some other clues: while I have the Android SD$$anonymous$$ installed, Unity keeps prompting me during the build process, saying my SD$$anonymous$$ version is 0 < 21, and giving me the option to update the SD$$anonymous$$. If I try to, it just sorta hangs, so I always skip that.
Answer by randytayler · Apr 04, 2015 at 08:58 PM
After I opened the SDK manager and grabbed ALL the tools, it finally built an .apk for me.
Your answer
Follow this Question
Related Questions
Import Pivot Point from Maya 1 Answer
Every Game that I exported to Unity Play doesn't work 0 Answers
I cannot Build/ Export My Game,I cannot Build/ Export My Game to Windows 1 Answer
Unity wont import my animation from Maya 1 Answer
Realtime GI does not work when project is build in unity 2018.4.18 1 Answer