Multidex Unity and Android Studio

Home / Uncategorized / Multidex Unity and Android Studio

Question:
sorry for posting a new question about this, but since I have no rep, I cannot comment in the old question…

I’m currently developing a quiz app in Unity, and I’ve got quite a few SDKs and stuff, so Unity wont let me build for Android with single dex…

I’m no code gineus myself, but with the help of this post: Too many field references: 70613; max is 65536 I got the build working.

My question is now… can I add some code to Unity, that will get exported with the build project, so I don’t have to add these lines of code everytime I make a new build? It is not a HUGE problem, but it would be nice to free myself from the future hassle.

Code in Android Studio


Answer:

Read more

Leave a Reply

Your email address will not be published. Required fields are marked *