Hello all,
When trying to create a default, simple scene and push it to my Nexus One I get the following error and no APK is generated. I am pretty sure I have the Android SDK installed properly as I can build and deploy native and dalvik APKs via Eclipse.
This is a Windows 7 x64 System running Unity3D Pro 3.0.0f5 (51258).
The steps to reproduce are fairly straightforward:
- Create a New Project
- Open File > Build Settings…
- Select Android as the Platform and select the Build button.
- Save the APK file.
The following Error is generated in the status bar and appears in the Editor Log:
Android SDK does not include any platforms! Did you run Android SDK setup to install the platform(s)?
Minimum platform required for build is Android 2.2 (API level 8)
Unloading 281 unused Assets to reduce memory usage. Loaded Objects now: 788.
System memory in use: 186.5 MB.
Unloading 12 Unused Serialized files (Serialized files now loaded: 2 / Dirty serialized files: 2)
Available Android targets:
id: 1 or “android-8”
Name: Android 2.2
Type: Platform
API level: 8
Revision: 2
Skins: HVGA (default), QVGA, WQVGA400, WQVGA432, WVGA800, WVGA854
id: 2 or “Google Inc.:Google APIs:8”
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 2
Description: Android + Google APIs
Based on Android 2.2 (API level 8)
Libraries:
- com.google.android.maps (maps.jar)
API for Google Maps
Skins: WVGA854, WQVGA400, HVGA (default), WQVGA432, WVGA800, QVGA
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:LogError(Object)
UnityEditor.PostprocessBuildPlayer:GetAndroidPlatformTools(String, String, String, String) (at E:\BuildAgent\work\68355d6e5d19d587\Editor\Mono\PostprocessBuildPlayer.cs:858)
UnityEditor.PostprocessBuildPlayer:PostprocessAndroidPlayer(BuildTarget, String, String, String, String, String, String, iPhoneBuildSettings, BuildOptions) (at E:\BuildAgent\work\68355d6e5d19d587\Editor\Mono\PostprocessBuildPlayer.cs:1169)
UnityEditor.PostprocessBuildPlayer:Postprocess(BuildTarget, String, String, String, iPhoneBuildSettings, Int32, Int32, String, String, BuildOptions, RuntimeClassRegistry) (at E:\BuildAgent\work\68355d6e5d19d587\Editor\Mono\PostprocessBuildPlayer.cs:353)
UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[ ], String, BuildTarget, BuildOptions)
UnityEditor.BuildPlayerWindow:BuildPlayerWithDefaultSettings(Boolean, BuildOptions) (at E:\BuildAgent\work\68355d6e5d19d587\Editor\Mono\BuildPlayerWindow.cs:289)
UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings() (at E:\BuildAgent\work\68355d6e5d19d587\Editor\Mono\BuildPlayerWindow.cs:805)
UnityEditor.BuildPlayerWindow:OnGUI() (at E:\BuildAgent\work\68355d6e5d19d587\Editor\Mono\BuildPlayerWindow.cs:644)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[ ], Exception)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[ ], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[ ])
UnityEditor.HostView:Invoke(String, Object) (at E:\BuildAgent\work\68355d6e5d19d587\Editor\Mono\GUI\DockArea.cs:212)
UnityEditor.HostView:Invoke(String) (at E:\BuildAgent\work\68355d6e5d19d587\Editor\Mono\GUI\DockArea.cs:205)
UnityEditor.HostView:OnGUI() (at E:\BuildAgent\work\68355d6e5d19d587\Editor\Mono\GUI\DockArea.cs:106)
(Filename: E:/BuildAgent/work/68355d6e5d19d587/Editor/Mono/PostprocessBuildPlayer.cs Line: 858)
Android SDK does not include any platforms! Did you run Android SDK setup to install the platform(s)?
Minimum platform required for build is Android 2.2 (API level 8)
-
Has anyone else seen this?
-
When running the Android SDK Manager, it pretty clearly shows that I have API 8 installed and the platform is available in the SDK directory.
The http://unity3d.com/support/documentation/Manual/android-bugreporting.html link doesn’t seem to point to anywhere, so I am posting here.