1.打开夜神模拟器,打开设置,调成手机模式,初次进入的话,进入设置,点击版本号5次,可以激活使用开发者模式,进入后打开USB调试功能
2.打开文件资源管理器,进入夜神模拟器的安装位置,在地址栏输入cmd,回车,会打开cmd窗口,进入的路径就是夜神模拟器的安装位置。我的默认安装位置:C:Program Files (x86)Noxin
3.输入nox_adb.exe connect 127.0.0.1:62001即可以连接到adb
或者是 adb connect 127.0.0.1:52001
adb connect 127.0.0.1:62001
4. cmd下敲入命令
. ox_adb.exe connect 127.0.0.1:62001
D:Program Files
oxNoxin> .
ox_adb.exe devices
List of devices attached
127.0.0.1:62001 device
1、aapt使用
aapt dump badging xxx.apk
aapt命令位置:
# aapt dump badging C:UsersasusDesktopmobileqq_android.apk
#D:Program Filesandroid-sdk-windowsuild-tools28.0.0aapt.exe
D:Program Files
oxNoxin> aapt dump badging 'C:UsersasusDesktopweixin_1320.apk'
package: name='com.tencent.mm' versionCode='1320' versionName='6.6.7' platformBuildVersionName='8.0.0'
install-location:'auto
{ "platformName": "Android", "platformVersion": "4.4.2", "deviceName": "127.0.0.1:62001", "appPackage": "com.tencent.mm", "appActivity": "com.tencent.mm.ui.LauncherUI" }