• Stars
    star
    381
  • Rank 112,090 (Top 3 %)
  • Language
    Java
  • License
    MIT License
  • Created about 8 years ago
  • Updated about 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Another hotfix 另一个热修复方案 Alpha,来自InstantRun 和 Robust 类似

AnoleFix

Another hotfix 另一个热修复方案 大部分代码来自InstantRun。这个方案很久之前就和小伙伴讨论过,一直没实现,现完成了Alpha版,后期再优化。

**注:**该项目暂时没有应用到具体上线应用中,暂时只做技术展示

Feature

  1. 可实现动态实时修复
  2. 可实现热插拔(待实现,只实现了动态修复功能,后期加上动态撤销补丁功能)
  3. 兼容ART和DalvikVM虚拟机,4.0-7.0,不会出现类似hotfix方案在art下虚拟机quick引用指针错乱造成的崩溃情况
  4. 补丁包动态生成,使用方式和RocooFix 一致,但某些功能待完善

Known issue

  1. 补丁打包速度待优化
  2. 有些未考虑到的补丁逻辑还待补充
  3. 性能会略有消耗
  4. 暂时只支持开启混淆状态下的补丁打包

Use

Gralde 配置

buildscript {
    repositories {
        jcenter()
        maven{
            url 'https://dl.bintray.com/dodola/maven'
        }

    }
    dependencies {
        classpath 'dodola.anole.plugin:gradle_plugin:1.0.1'
    }
}

//在app的gradle增加
apply plugin:'dodola.anole.plugin'

rocoo_fix {//此处和rocoo_fix的用法一样,但暂时只有preVersionPath的功能
    preVersionPath = '1'
}
  Anole.applyPatch(context, patch_path);

Porguard

-keep class dodola.anole.runtime.** { *; }
-keep class dodola.anole.lib.** { *; }

More Repositories

1

HotFix

安卓App热补丁动态修复框架
Java
1,702
star
2

RocooFix

another hotfix framework
Java
1,571
star
3

MetaballLoading

A 2d metaball loading
Java
1,526
star
4

WeexOne

Weex [one 一个]客户端
Java
966
star
5

android_waterfall

Android版的瀑布流布局
Java
722
star
6

Gitbook

收录找到的不错的文档
546
star
7

OverscrollScale

ListView overscroll scale
Java
405
star
8

DynamicCardLayout

在Android中实现的类似Windows8的瓷片布局
Java
276
star
9

ListItemFold

ListView and RecyclerView item fold and expand
Java
243
star
10

WaterFallExt

增强版的瀑布流 扩展自StaggeredGridView.
Java
209
star
11

ToyView

Drawing animation
Java
195
star
12

PathButton

仿Path按钮动画效果 a button animation layout like Path
Java
186
star
13

DeepInVirtualApp

VirtualApp的技术文档和各个技术点拆解demo
Java
172
star
14

BinderDebug

Android Studio+LLDB调试内核Binder
C
135
star
15

fbhookfork

从 fb 的 profilo 项目里提取出来的hook 库,自己用
C
124
star
16

YoutubeDown

a Youtube Downloader, can download youtube video on Android ,include encrypted video
Java
123
star
17

SimpleSmali

通过精简Smali语法细节来增强反编译代码阅读性,自定义了一种简单语法
Java
72
star
18

TrapHook

C
71
star
19

BubbleCloudView

Like apple watch launcher view(仿苹果表应用表盘界面)
Java
71
star
20

AndroidPatcher

Android 下的增量更新
C
36
star
21

DInlineHook

simple art inline hook
C++
34
star
22

DumpDex

dump dex from memory NEED ROOT
Go
28
star
23

WaveLoadingView

A loading view animation
Java
26
star
24

ply_android

Dynamic Tracing in Android (fork from iovisor/ply)
C
20
star
25

TogicLoading

A loading view animation found in dribbble
Java
19
star
26

TidyDemo

这是一个模仿Tidy相册底部模糊效果的例子
Java
18
star
27

TraceToHtml

Convert debug trace file to html on Android device
C
18
star
28

ColorCode

An android code file reader (一款Android下的代码阅读工具)
Java
16
star
29

SpringRecyclerView

Java
15
star
30

blockindigo

another ui-block detection library for Android base on Blockcanary
Java
14
star
31

FanPullToRefresh

Pull to refresh for android
Java
14
star
32

WebPageClip

Clip the whole webpage
Java
12
star
33

DSPatch

BSPatch Java implement with android (based on bspatch by Joe Desbonnet, [email protected] (JBPatch))
Java
10
star
34

dex-ui-ext

dex-ui animation project
C++
8
star
35

MemoryViewer

Rust
7
star
36

HookZzAndroidDemo

HookZz Android Demo
Java
5
star
37

TextOnAPathPhone

Text on A Path for Windows Phone
5
star
38

WP7Fanfou

Windows Phone 7版饭否
C#
4
star
39

AndroidToolsBuild

Common Android NDK Build Configure
Makefile
2
star
40

gicentreutils

Automatically exported from code.google.com/p/gicentreutils
HTML
1
star
41

WhaleSample

1
star
42

cool-retro-term-threejs

A cool retro terminal emulator with a 3D effect.
HTML
1
star
43

TopitMeDownload

用来下载Topit.me图片的小工具,暂时只有下载专辑的功能
C#
1
star