We can't upgrade just yet to 5.3.4p1 but we need to enable il2cpp. However, the apk size is enormous. I already know how to strip the il2cpp.so but what I don't know is how to intercept the apk from being built to use the stripped library.
How can I replace the *.so file inside the apk with a stripped version? I need to do it automatically during build time. I was told to replace the aapt.exe with a fake one to intercept the building of apk, but I don't know where to get the correct arguments to be able to call the real aapt.exe and build the apk. Does anyone know? Where should I look how Unity builds the apk?
↧