I have Googled and Googled but maybe I am missing something simple here, any help would be greatly appreciated.
I have created the keystore using Unity’s built in publishing settings for Android. I 100% have the correct password. I have also clicked “browse” and make sure the correct keystore is selected and also chosen the correct Key Alias and input the password below it. (I have uploaded an image regarding this)
I have also got my JDK path and Android SDK path in my environment variables. I’ll just show them below so you can check I haven’t done something stupid:
ANDROID_HOME = C:\Android\adt-bundle-windows-x86_64-20140321\sdk
JAVA_HOME = C:\Program Files\Java\jre1.8.0_66
I have also installed the latest build-tools being: sdk/build-tools/23.0.2
Plus I have installed “Android support repository”, “Android support library”, “Google play services”, “Google repository” through the Android SDK Manager.
Then when I go to build I get the following error. I have Google this alot but can’t seem to find it but maybe I’m just missing it!
Any help would be hot Full error below:
UnityException: Can not sign application
Unable to sign application; please provide passwords!
UnityEditor.Android.PostProcessAndroidPlayer.ShowErrDlgAndThrow (System.String title, System.String message, System.Exception ex)
UnityEditor.Android.PostProcessAndroidPlayer.ShowErrDlgAndThrow (System.String title, System.String message)
UnityEditor.Android.PostProcessAndroidPlayer.CheckPrerequisites ()
UnityEditor.Android.PostProcessAndroidPlayer.PostProcessInternal (System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry)
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.RuntimeClassRegistry usedClassRegistry)
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()