铺路的code泥水 发表于 2024-11-3 02:14

VScode + APKlab 进行逆向分析补充

## vscode + android逆向分析并重新打包

引用链接:
https://www.52pojie.cn/thread-1828789-1-1.html

前置条件:

- 下载vscode
- (https://code.visualstudio.com/)
- 下载雷电模拟器



### VScode 安装扩展插件

**1.1插件安装列表**

- Smail2java
- smalise
- APKLab

**1.2VSCODE插件安装完成后,如图**


1.3APKLab 安装完后操作

**1.3.1提示:如果安装完后,图中马赛克部分是全空的**



**1.3.2接下来操作**




点击左下角小齿轮 -> 点击 Command Palette -> 输入 Open an APK -> 任意打开一个APK -> 此时会自动下载1.3.1图中空缺的部分 -> jadx dir path (此时还是空的) -> 手动搜索jadx -> 填入框内即可



**1.3.3 补充ADB路径**

控制面板 -> 系统和安全 -> 系统 -> 高级系统设置 -> 高级 -> 环境变量 -> path -> 新建 -> 输入 `F:\Software\leidian\LDPlayer9\` (此处应该换成你的雷电模拟器安装路径) -> `cmd` -> `adb version`



```cmd
adb version
Android Debug Bridge version 1.0.41
Version 34.0.4-10411341
Installed as F:\Software\leidian\LDPlayer9\adb.exe
Running on Windows 10.0.17763
```



> **注意事项**

> 如果不补充ADB路径,那么在vscode里对apktool.yml进行打包并安装是会失败的

zuoyifeng 发表于 2024-11-4 17:10

最近有个新的ide也是基于vscode的 叫cursor

铺路的code泥水 发表于 2024-11-4 20:31

zuoyifeng 发表于 2024-11-4 17:10
最近有个新的ide也是基于vscode的 叫cursor

这倒是没了解过,vscode我还没玩明白{:1_937:}

zhaohainuo 发表于 2024-11-5 08:58

看起来很牛,感谢分享

t14544 发表于 2024-11-5 10:36

学到了,谢谢

tsl0413 发表于 2024-11-6 12:22

学到了,谢谢

zzq23153 发表于 2024-11-12 09:07

1.1插件安装列表的第一个插件名字打反了,我就说为啥复制到vscode找不到,感谢大佬

ssyld 发表于 2024-11-12 10:07

望天,手机vscode怎么安装啊,网站都没了o%1996 ing]E:Unable to pRge pr
1904
4G'
4G
oot
cat: /data/data/com.nightmare.code/files/u
sr/var/lib/proot-distro/installed-rootfs/u
buntu/etc/issue: No such file or directory
Utility 'proot' is not installed. Cannot c
ontinue.
mv: cannot stat './home': No such file or
directory
/system/bin/sh:can't create/data/data/co
m.nightmare.code/files/usr/var/lib/proot-d
istro/installed-rootfs/ubuntu/etc/apt/sour
ces.list: No such file or directory
/system/bin/sh:can't create/data/data/co
m.nightmare.code/files/usr/var/lib/proot-d
istro/installed-rootfs/ubuntu/root/.bashrc
:No such file or directory
/system/bin/
com.nightma
re.code/file
打开VS Code窗口-distro/ins
talled-rootf
Juch file or
directory
Ign:1 http://39.96.60.133/code stable InRe
lease
Ign:1 http://39.96.60.133/code stable InRe
lease
Err:1 http://39.96.60.133/code stable InRe
lease
Could not connect to 39.96.60.133:80(39
.96.60.133). - connect (103: Software caus
ed connection abort)
Reading package lists... Done
Building dependency tree... Done
All packages are up to date.
W: Failed to fetch http://39.96.60.133/cod
e/dists/stable/InRelease Could not connec
t to 39.96.60.133:80 (39.96.60.133). - con
nect (103:Software caused connection abor
t)
W: Some index files failed to download. Th
ey have been ignored, or old ones used ins
tead.

lonelyDays 发表于 2024-11-12 15:15

zuoyifeng 发表于 2024-11-4 17:10
最近有个新的ide也是基于vscode的 叫cursor

那个好像要收费
页: [1]
查看完整版本: VScode + APKlab 进行逆向分析补充