Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 1.03 KB

README.md

File metadata and controls

45 lines (35 loc) · 1.03 KB

If you don't know, please click here : CmonBaby

Hotfix Build Status

About Hotfix Code

* find sourceFile

File sourceFile = new File(Environment.getExternalStorageDirectory(), Constants.DEX_NAME);

* find targetFile

File targetFile = new File(getDir(Constants.DEX_DIR, Context.MODE_PRIVATE).getAbsolutePath()
                + File.separator + Constants.DEX_NAME);

* copy dex file

FileUitls.copyFile(sourceFile, targetFile);

* start fix

FixDexUtils.loadFixedDex(this);

Via Gradle:

implementation 'com.cmonbaby:hotfix:1.0.0'

Via Maven:

<dependency>
    <groupId>com.cmonbaby</groupId>
    <artifactId>hotfix</artifactId>
    <version>1.0.0</version>
</dependency>

License

Copyright (C) 2013-2020 Markus Junginger, Simon (https://www.cmonbaby.com) Hotfix binaries and source code can be used according to the Apache License, Version 2.0.