Can't make APK without compiled .so
Hey all, I've recently set up a new machine to work from but I'm having issues deploying to Android. I've uninstalled and reinstalled both Unreal and Android codeworks several times now but had no success, I'm not using the GIT version of Unreal either which from searches over the past few days most people have had issues with in the past. Any help on this would be greatly appreciated.
LogPlayLevel: ====08/07/2018 19:19:45====PREPARING NATIVE CODE================================================================= LogPlayLevel: APK contains data. LogPlayLevel: Fixing minSdkVersion; requires minSdkVersion of 14 with Gradle based on active plugins LogPlayLevel: ==== Writing new GameActivity.java file to Y:\MassStorage\External\ConstructGames\Games\Parallax\Intermediate/Android/APK\src\com\epicgames\ue4\GameActivity.java ==== LogPlayLevel: ERROR: Can't make an APK without the compiled .so [Y:\MassStorage\External\ConstructGames\Games\Parallax\Binaries\Android\Parallax-armv7-es2.so] LogPlayLevel: (see C:\Users\User\AppData\Roaming\Unreal Engine\AutomationTool\Logs\Z+Applications+Epic+Games+Unreal+Engine+UE_4.20\Log.txt for full exception trace) LogPlayLevel: AutomationTool exiting with ExitCode=1 (Error_Unknown) LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 1.003638 LogPlayLevel: BUILD FAILED PackagingResults: Error: Launch failed! Unknown Error
asked Jul 08 '18 at 06:25 PM in Packaging & Deployment
I've managed get it to work through a bit of an unconventional method. My project was a launcher project until 4.17, then it became a visual studio project 4.18, and then got converted to 4.20.3 back to the launcher version. That's when i got the 'performing final apk package operation error : "Can't make APK without compiled .so"
This probably is not the best approach. But it is a workaround solution. If anyone knows a better way to get rid of the .so error without sorting to visual studio, please feel free to post.
The renaming of the .so file 'solution' , from @maxbrown seems to work for building the project, for me, but once it is deployed, my app it launches and close in rapid succession.
Another idea I thought of was migrating the level to an empty 4.20 project. Create an empty 4.20 project Open your project and migrate your assets to the new empty 4.20 project. This method however needs additional post-work to get it in into a functional gameplay state in which it used to be before.
answered Oct 06 '18 at 01:10 PM
has anyone solve the problem ?
answered Aug 27 '18 at 04:48 PM
G'Day Guys and Gals....I can confirm after myself en-counting this issue above, and freaking out as I have Beta testers starting to test my game from tomorrow, the uninstall and reinstall of both Engine and Android SDK works perfectly!!! I just wanted to confirm in case any one else finds this post also. I can also confirm the Launch also works, it did for me anyway. So definitely uninstall and reinstall and you should be good!
answered Sep 11 '18 at 10:21 PM
RS Digital Studio
Na haven't tested it from source, which I also have. This was from the Binary/launcher. Had absolutely no dramas since!!!
answered Sep 29 '18 at 02:40 AM
RS Digital Studio
I was having the same issue.
Everything was packaging perfectly but when I was trying to reduce my package size, I turned some settings on and off. Right after that I got the " Can't make an APK without the compiled .so" error.
What worked for me: 1) I created a new empty project 2) Used Migration tool to migrate my game content folder to the newly created project 3) For input mappings, I exported the file by clicking export button in Project Settings-Inout->Export 4) Imported the input mappings in new project using import button in Project Settings-Inout->Import
After that packaging worked for me.
But again trying reducing the packaging size, I turned off some plugins like Oculus Plugin etc. which my game doesn't use, and the " Can't make an APK without the compiled .so" error came again.
So, I am assuming that this error is related to plugins used and project settings because I have migrated my project about 3-4 times after getting the error and after each migration, I can package my game but changing some plugins causes the error again.
answered Oct 09 '18 at 06:44 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here