• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

TurboDex: 让Dex瞬间加载完成的黑科技

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

TurboDex

开源软件地址:

https://gitee.com/lody/TurboDex

开源软件介绍:

TurboDex: Fast load dex in memory

Android Arsenal

中文

It is generally known that load an unoptimized Dex file at runtimein Android (especially in ART mode) would take a long time.When your App is using MultiDex or PluginFramework,You will find that this problem is hard to bear.

TurboDex was born to solve this problem, Like to opens the god mode for AndroidVM,after using TurboDex, no matter how much Dex file your need to load,it will be finished in a very short time.

Quick Start Guide

Building TurboDex

TurboDex has given you a pre-compiled version in /Prebuilt,if you need to custom the TurboDex, you need to install Android-NDK.

✘ lody@MacBook-Pro ~/TurboDex/TurboDex/jni> ndk-build                  SharedLibrary  : libturbo-dex.soInstall        : libturbo-dex.so => libs/armeabi/libturbo-dex.soSharedLibrary  : libturbo-dex.soInstall        : libturbo-dex.so => libs/x86/libturbo-dex.so

Config

Maven

<dependency>  <groupId>com.github.asLody</groupId>  <artifactId>turbodex</artifactId>  <version>1.1.0</version>  <type>pom</type></dependency>

Gradle

compile 'com.github.asLody:turbodex:1.1.0'

Usage

To use TurboDex, first add library to your project,Then write the following code in your Application:

@Overrideprotected void attachBaseContext(Context base) {  TurboDex.enableTurboDex();  super.attachBaseContext(base);}

After your enable the TurboDex, No matter where you load the Dex, it will return quickly.Example:

new DexClassLoader(...):DexFile.loadDex(...);

##Others analysis and commenthttp://note.youdao.com/share/?id=28e62692d218a1f1faef98e4e7724f22&type=note#/

然而,不知道这篇笔记的作者为什么会认为Hook模块是我实现的,我并没有给Substrate那部分的模块自己命名,而是采用了原名:MSHook,而且,所有的Cydia源码我也保留了头部的协议申明,你知道源码的出处,却没有意识到这一点?

##RemarkQQ Group: 535498571


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
CloudReader: 发布时间:2022-03-24
下一篇:
InsGallery: Instagram-like image picker for Android (一款 UI 炫酷高仿 Instagram ...发布时间:2022-03-24
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap