- Migrated a copy of my project to 4.9
- Unistalled TADP
- Insatlled AndroidWorks,
Can’t make it work, no way to package my game to android:
Errors:
- “AutomationTool was unable to run successfully”
- PackagingResults:Error: Error Unknown Error
[link text][1]
56526-outputlog_androidpack49.txt (1.34 MB)
Related question for reference:
Hi , thanks.
I have Reinstalled back TADP and both 4.8.3 and 4.9.0 works fine with it packaging for android. So problematic seems to be AndroidWorks.
But a new problem I have with 4.9: Loading new levels inside my game didn’t work, but ti need some research from my part; to see if something about project settings.
ERROR: Can’t make an APK without an API installed (see “android.bat list targets”)
I’ve seen this occur if SDK API level in Project Settings / Android SDK is not set properly. Try emptying textbox and retyping in “lastest” or “matchndk”.
It didn’t worked for me but I executed suggested “andorid.bat” and Android SDK Manager appeared… now I’m installing a few things I see there that I hope could solve problem…
Hey piX,
If you run into any further errors, please upload error as a .txt file or screenshots of error messages or settings, and we will be more than happy to help you further.
Thanks!
Did not work… :-/ still trying … log at[link text][1]tached
57060-sept03pixlog.txt (1.12 MB)
hi , I have uninstalled API 23 and now it works will share all my config now as more descriptive answer
Made it work using Android SDK Manager!
After installing by random toughs API 23, API 19, and API 10, it didn’t work, then I open it again using cmd prompt:“andoird.bat” and unistalled API 23 , and finally it works!
Sharing here all installed packages and my project settings…
Finally tested my game, packaged it and it works on my android device. This is a little messy for me, when dealing with Android SDK i feel like this…
I’ll look into why API 23 didn’t work. You can also just change SDK API level from latest to or matchndk and it wouldn’t try to use android-23.
My settings were always using, i never changed that. Only deleting API-23 from android solved it.
There are 2 fields in Android SDK; one is SDK API level, other is NDK API level. Usually SDK API is set to latest which would have picked API-23 (android-23). NDK API is set to “android-19”. You can either enter into both fields, or set SDK to matchndk instead of using latest.
Yes, API 23 removed org.org.apache.http from standard package and moved it to optional. Unfortunately, it also removed some depreciated API calls which 's APK expansion downloader depends on (we use it for OBB download). best thing to do for now is use no later than API-22.