Code Monkey home page Code Monkey logo

dexter's Introduction

dexter

"Dexter" is a script that can help in applying workaround for dex count issues during android build for a Unity Android project.

The script parses the Unity project for Android libraries that can be refactored to reduce the overall method count via the process mentioned in our documentation linked below: https://developers.helpshift.com/unity/troubleshooting-android/#dex-64k-issue

NOTE:

  • This script refactors the folder structure and the AndroidManifest.xml files of the Android libraries in your project. The app needs to be thoroughly tested after executing the script.
  • Updating the refactored plugins can have issues. A Unity plugin/android library upgrade generally looks for updating a predefined folder/file path. Since this script can potentially change the folder/file structure, upgrading plugins can have issues. Update of any plugin/library needs to be thoroughly tested for integration and functionality.
  • Although the script itself checks for updates, you should always check that you're using the latest version of the script.

Setup/Installation

  • Make sure you are running Python version 2.7.x.

  • Make sure pip is installed. If not, follow instructions here - https://packaging.python.org/installing/

  • dexter depends on a few external Python libs, which can be installed by running the following command,

        pip install requests==2.7.0 PyYAML==3.10
  • Make the script executable

        chmod u+x dexter

Script arguments

Argument Description
'-v', '--verbose' Enables logging.
'-p', '--project-dir' Path to the project directory. Default is the present working directory.
'-b', '--backup-suffix' Suffix to add to dir where backup is taken. Default is '.bkp'.
'-a', '--android-target' Android target version to be added in the project.properties file of refactored android libraries.

dexter's People

Contributors

sumeet-helpshift avatar naiquevin avatar

Watchers

 avatar James Cloos avatar  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.