Wednesday, July 17, 2019

Publishing with 64-bit capability from Unity/3D to Google Play

From August 1, all new apps and updates that include native code are required to provide 64-bit versions in addition to 32-bit versions when publishing to Google Play.

Google now also recommends a new package file format, Android App Bundle (aab), instead of the usual packages (apk), when uploading to Google Play.

I found it hard to find documentation on exactly how to do the uploading from Unity/3D.

After some trial and error these were my settings.

Build settings:


(aab instead of apk)


Player settings/other settings:


(IL2CPP has to be chosen instead of Mono. ARM64 must be checked. I could not get it to work with the ARMv7 also checked.)


Player settings/other settings:


(I could not get rid of the error "Failed to link libunity.so" until I unchecked Strip Engine Code.)


I hope this can be of help to someone. Please comment if you think I missed something.



No comments:

Post a Comment