launching for android: Can't make an APK without an API installed
I'm using ue4 4.8.1
I create a new project: "blueprint first person" (as suggested by the android quick start tutorial). I can run the project from within windows, however launching a level for android ends with "unknown error" message. Looking at the log I found a prior error:
Can't make an APK without an API installed (see "android.bat list targets")
LogPlayLevel: ProcessManager.KillAll: Trying to kill 0 spawned processes. LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=1 LogPlayLevel: Domain_ProcessExit LogPlayLevel: ProcessManager.KillAll: Trying to kill 0 spawned processes. LogPlayLevel: copying UAT log files... LogPlayLevel: RunUAT.bat ERROR: AutomationTool was unable to run successfully. LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 4.003056 LogPlayLevel: BUILD FAILED PackagingResults:Error: Error Launch failed! Unknown Error
I followed these instructions: https://docs.unrealengine.com/latest/INT/Platforms/Android/GettingStarted/1/index.html for installing the android SDK (although I have eclipse and android studio who both can deploy on my device) after installation under Edit->Prokect Settings->Android SDK all location fields are empty, I'm not sure if I should fill these and if so to which location I need to point.
Does anyone know a solution to this problem? Or a likely cause. It's probably easy to fix when you know where to look.
Thanks a lot, Jelle
Found the problem.
What wittlief posted is right. Also you need to start the Android SDK thing one time and install all the APIs for all the android versions. Just install everything to be sure, I guess.
answered Jul 17 '15 at 03:47 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here