Skip to content

cnmen/hotfix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages