Commit 3602ee24 authored by Administrator's avatar Administrator

faq 章节

parent 0eb1ae72
# 常见问题
## apk不支持rebuildDex模式
```
2019-09-26 16:20:37 stand : rebuild entry dex
2019-09-26 16:20:58 error : Exception in thread "main" org.jf.util.e: Exception occurred while writing code_item for method Lcom/xxxx;->xxx([Ljava/lang/String;)V
2019-09-26 16:20:58 error : at org.jf.dexlib2.h.g.a(Unknown Source)
2019-09-26 16:20:58 error : at org.jf.dexlib2.h.g.a(Unknown Source)
2019-09-26 16:20:58 error : at b.a.e.a.a(Unknown Source)
2019-09-26 16:20:58 error : at b.a.c.a.a(Unknown Source)
2019-09-26 16:20:58 error : at b.a.c.a.a(Unknown Source)
2019-09-26 16:20:58 error : at ratelentry.Main.main(Unknown Source)
2019-09-26 16:20:58 error : Caused by: org.jf.util.e: Error while writing instruction at code offset 0x1b
2019-09-26 16:20:58 error : at org.jf.dexlib2.h.g.a(Unknown Source)
2019-09-26 16:20:58 error : ... 6 more
2019-09-26 16:20:58 error : Caused by: org.jf.util.e: Unsigned short value out of range: 65552
2019-09-26 16:20:58 error : at org.jf.dexlib2.h.f.b(Unknown Source)
2019-09-26 16:20:58 error : at org.jf.dexlib2.h.s.a(Unknown Source)
2019-09-26 16:20:58 error : ... 7 more
2019-09-26 16:20:58 error :
2019-09-26 16:20:58 stand : assemble ratel apk failed
2019-09-26 16:20:58 check apk build output failed,output apk illegal!!
```
rebuidDex模式需要修改dex入口,如果入口dex某个索引超过65535,那么根据dex结构来说,无法完成注入。也就是说,这个场景下的apk,不支持rebuidDex引擎模式。
可以选择appDex或者shell
\ No newline at end of file
...@@ -31,6 +31,7 @@ ratel 大概分为以下模块 ...@@ -31,6 +31,7 @@ ratel 大概分为以下模块
## [ratel管理器,类似xposed intalller](3.ratelManager.md) ## [ratel管理器,类似xposed intalller](3.ratelManager.md)
## [ratelAPI 通过API编程进行模块开发和ratel功能定制](4.ratelAPI.md) ## [ratelAPI 通过API编程进行模块开发和ratel功能定制](4.ratelAPI.md)
## [虚拟化相关](5.virtual_env.md) ## [虚拟化相关](5.virtual_env.md)
## [常见问题处理](6.faq.md)
# 基本使用流程 # 基本使用流程
1. 使用ratel在线平台感染app: http://ratel.virjar.com/ 1. 使用ratel在线平台感染app: http://ratel.virjar.com/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment