当前位置:网站首页>Use of smalidea
Use of smalidea
2022-06-13 06:33:00 【Road and distance】
smalidea Use
smalidea It's a IntelliJ IDEA/Android Studio smali Language plug-ins , It can realize dynamic debugging smali Code .
Download plug-ins
github Address :https://github.com/JesusFreke/smalidea -> DOWNLOAD
Installing a plug-in
File->Settings->Plugins->install plugin from disk-> Choose to download zip package
Get ready
1. Test the application of release package , Decompile , And modify... In the manifest file
2. Back compiled into apk package ( Decompiles and decompiles can take advantage of AndroidKiller, There are , You can download what you need ) Download resources
3.AS Open the decompiled project
4. choice smali Catalog , Right click mark Directory as Source Root
5. To configure SDK:Project Structure -> Project SDK -> 1.8
6. To configure Run -> Edit Configurations -> + -> Remote -> Fill in Name,Port 8700 Search sources using modules classpath:Project
7. Get the package name through the process information pid -> adb shell ps -> Get by package name pid
8. Conversion port adb forward tcp:8700 jdwp:
9. Click on AS Upper debug function
10. Happy debugging !
Method 2 Debug mode starts
1. Start the debugging mode of the application
adb shell am start -D -n < Package name >/. Class name -> A page waiting for debugging will appear on the mobile page
for example : adb shell am start -D -n com.barray.helloandroid/.MainActivity
2. Get the package name through the process information pid -> adb shell ps -> Get by package name pid
notes : According to the package name (pkg_name) View information about the process ( stay Linux of use grep, The following example is in windows Next , So it uses findstr)
for example :adb shell ps | grep “com.barray.helloandroid”
3. Conversion port adb forward tcp:8700 jdwp:
4. Click on AS Upper debug function
5. Happy debugging !
边栏推荐
- Custom view - extensible collapsexpendview
- MFS详解(七)——MFS客户端与web监控安装配置
- Uni app provincial and urban linkage
- Kotlin basic objects, classes and interfaces
- Adding classes dynamically in uni app
- Detailed explanation of the player startup process of ijkplayer code walkthrough 2
- Dart class inherits and implements mixed operators
- El form form verification
- 【sketchup 2021】草图大师中CAD文件的导入与建模(利用cad图纸在草图大师中建立立面模型)、草图大师导出成品为dwg格式的二维、三维、立面效果到cad中打开预览】
- The web server failed to start Port 7001 was already in use
猜你喜欢

【虚拟机】 VMware虚拟机占用空间过大解决

JetPack - - - Navigation
![[2022 college entrance examination season] what I want to say as a passer-by](/img/d7/3813b944dc2df182455d475a3669fb.jpg)
[2022 college entrance examination season] what I want to say as a passer-by
![[virtual machine] VMware virtual machine occupies too much space. Solution](/img/3d/bca30c6e6f7fa8400a077ed0a29e16.png)
[virtual machine] VMware virtual machine occupies too much space. Solution

MFS explanation (VI) -- MFS chunk server installation and configuration

【新手上路常见问答】一步一步理解程序设计

超有范的 logo 在线设计制作工具

AI realizes "Resurrection" of relatives | old photo repair | old photo coloring, recommended by free app

Echart line chart: different colors are displayed when the names of multiple line charts are the same

Uniapp secondary encapsulates uview components, and the parent component controls display and hiding
随机推荐
Learning records countless questions (JS)
ADB shell content command debug database
MFS詳解(七)——MFS客戶端與web監控安裝配置
Echart line chart: when multiple lines have the same name, the legend is still displayed
Uni app disable native navigation bar
SSM框架整合--->简单后台管理
The processing and application of C language to documents
杨辉三角形详解
Kotlin collaboration - start and cancel, scope
Fichier local second Search Tool everything
Echart histogram: stacked histogram displays value
Free screen recording software captura download and installation
线程池学习
Download and installation of universal player potplayer, live stream m3u8 import
1+1 > 2, share creators can help you achieve
RN Metro packaging process and sentry code monitoring
端午安康,使用祝福话语生成词云吧
JetPack - - -WorkManger
【sketchup 2021】草图大师中CAD文件的导入与建模(利用cad图纸在草图大师中建立立面模型)、草图大师导出成品为dwg格式的二维、三维、立面效果到cad中打开预览】
Echart line chart: multiple line charts show only one line at a time