zoukankan      html  css  js  c++  java
  • adb连接夜神模拟器

    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"
    }

    
    

    
    
    
  • 相关阅读:
    119. Pascal's Triangle II
    118. Pascal's Triangle
    112. Path Sum
    111. Minimum Depth of Binary Tree
    110. Balanced Binary Tree
    108. Convert Sorted Array to Binary Search Tree
    88. Merge Sorted Array
    83. Remove Duplicates from Sorted List
    70. Climbing Stairs
    陌陌面试经历
  • 原文地址:https://www.cnblogs.com/xinjing-jingxin/p/9326837.html
Copyright © 2011-2022 走看看