lszasd520 / MultiDex

Plugin for Unreal Engine 4 which eliminates infamous problem with "64k methods"

Home Page:https://www.gamednastudio.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Splash

MultiDex

MultiDex eliminates infamous problem with 64k methods and has the ability to make two dex files. It works out-of-the-box for the Android platform so no additional SDKs are needed. No more problems!

  • Current version: 1.4.0
  • Binaries compiled for: Unreal Engine 4.18
  • Required Unreal Engine 4.18 or above.

Features

  • Eliminates infamous problem with "64k methods"
  • Ability to make two dex files
  • Out of the box for Android platform
  • No additional SDKs are needed

Knowledge

Plugin was made in collaboration with zompi.pl. You can find more info about resolving MultiDex problem here.

Setup

  1. Copy this folder to the Plugins folder located in the main path of your project.

    CopyFiles

  2. Enable MultiDex in Edit -> Plugins -> Misc -> MultiDex.

    EnablePlugin

If you have Gradle disabled

  1. Go to [PROJECT_FOLDER]/Build/Android/

    a) If you already have created custom_rules.xml file, simply add:

    <import file="custom_rules_multidex.xml" optional="true" />

    b) If you don't have created custom_rules.xml file yet, copy it from [PLUGIN_FOLDER]/Extras/custom_rules.xml.

  2. Add new environment variable _JAVA_OPTIONS = -Xmx2048m -Xms256m -Xss8m

    Example for Windows: Control Panel -> System and Security -> System -> Advanced system settings -> Environment Variables -> Uses variables for X -> New...

  3. You should enable MultiDex plugin only if you exceeded 64k methods limit. If you have a project that doesn’t need multidexing the build will fail!

Plugin icon designed by Freepik.

About

Plugin for Unreal Engine 4 which eliminates infamous problem with "64k methods"

https://www.gamednastudio.com

License:MIT License


Languages

Language:C++ 50.2%Language:C# 49.8%