Giter Site home page Giter Site logo

lszasd520 / multidex Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gamednastudio/multidex

0.0 1.0 0.0 3.07 MB

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

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

License: MIT License

C# 49.84% C++ 50.16%

multidex's Introduction

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.

multidex's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.