当前位置:网站首页>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 !
边栏推荐
猜你喜欢

端午安康,使用祝福话语生成词云吧

MFS details (VII) -- MFS client and web monitoring installation configuration

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

二分查找

Super model logo online design and production tool

JetPack - - -WorkManger

免费录屏软件Captura下载安装

Basic knowledge of knowledge map

MFS explanation (V) -- MFS metadata log server installation and configuration

【2022高考季】作为一个过来人想说的话
随机推荐
Uniapp (upload local pictures, preview pictures, convert Base64 format, upload audio files)
Echart histogram: stacked histogram displays value
免费录屏软件Captura下载安装
Recommend a capacity expansion tool to completely solve the problem of insufficient disk space in Disk C and other disks
JS convert text to language for playback
Common websites and tools
Time complexity and space complexity
Adding classes dynamically in uni app
电镀挂具RFID工序管理解决方案
[JS] array flattening
[virtual machine] VMware virtual machine occupies too much space. Solution
The boys x pubgmobile linkage is coming! Check out the latest game posters
Omron Ping replaces the large domestic product jy-v640 semiconductor wafer box reader
Analysis of 43 cases of MATLAB neural network: Chapter 10 classification of discrete Hopfield Neural Network -- evaluation of scientific research ability of colleges and Universities
The web server failed to start Port 7001 was already in use
Huawei developer certification and deveco studio compiler Download
AI实现亲人“复活”|老照片修复|老照片上色,免费APP推荐
ADB shell content command debug database
Dynamic link library nesting example
Wechat applet (function transfer parameters, transfer multiple parameters, page Jump)