ERROR: Can't make an APK without the compiled .so

Hello,

I’m having issues with the new UE 4.20.3, the same project that I was able to package for andriod in UE 4.19.2 is not possible in the new version. I just have changed the lighting using the new Area Light feature, enabling software occlusion queries and enabling some primitives to be occluders. Hope this can have a solution without have to reinstall the engine or install the source.
The error log:
UATHelper: Packaging (Android (ETC1)): ERROR: Can’t make an APK without the compiled .so [X:\ProjectPath\Binaries\Android\SmallApartment-Android-Shipping-armv7-es2.so]

Thanks in advance!

RectLight should work as it is in Engine, maybe there issue with OpenGL ES compability with it. Your project has any C++ code?

Hello . No my project is blueprints only. I supposed that Area Lights works only on baked lighting so I used it. I found a solution for packaging the project for iOS and was to create another empty project, export and import the project preferences and migrate everything from the previous version (4.19.2) to the new engine (4.20.3). Now the project package successfully but the app crash when try to load my level. I’m using LoadLevelStream for that but crash. Maybe is the Area Light because all is same from previous version. I have to test it. Thanks for the reply!

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”

  1. Created an identical copy of the Unreal Project folder
  2. Used this copy to Generate Visual Studio Project Files (right click your yourproject.ueproject)(don’t forget to delete the intermediate folder before)
  3. Then I started up Microsoft Visual Studio
  4. With ‘Development’ Solution Configuration and ‘Android’ Solution platform , I build the project.
  5. This in turn generated the Binary/Android files, in the project folder. The files it creates are yourproject.target , yourproject-armv7-es2.apk, yourproject-armv7-es2.so
  6. I then copied them over to the original project folder. Create the Binary/Android folder if there is not one.
  7. Building worked fine and the error was gone and it would deploy and launch on android.

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.

I have removed the area lights but it crash when I tap on play and start to load the level through load level stream (seems start to load but after some seconds it crash). If someone can tell me what is happening will be cool. I’m attaching the device log. I’m don’t know how to translate the log or know what is the exact issue. Thanks in advance for the feedback on this.

link text