Created
November 27, 2017 12:50
-
-
Save MerlinTwi/8800ba409d19d7d2878fa75f4a4a3408 to your computer and use it in GitHub Desktop.
Unity компиляция под Android выдает: Too many field references
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Если при компиляции под Android получается ошибка: Too many field references | |
| По совету: http://answers.unity3d.com/questions/970713/too-many-method-references-max-is-65536.html | |
| Надо объединить какие-нибудь модули в одном package | |
| 1. Выбрать жертву (например, модули от firebase) | |
| 2. Раскрыть все .aar архивы, после компиляции (даже неудачной) взять | |
| раскрытые из .\Temp\StagingArea\android-libraries\ и положить их вместо .aar | |
| 3. Заменить в каждом из раскрытых AndroidManifest.xml тег "package" на "com.google.unity" | |
| чтобы объединились вместе с модулями Google play (games или ads) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment