2.打开文件资源管理器,进入夜神模拟器的安装位置,在地址栏输入cmd,回车,会打开cmd窗口,进入的路径就是夜神模拟器的安装位置。我的默认安装位置:C:\Program Files (x86)\Nox\bin

3.输入nox_adb.exe connect即可以连接到adb

或者是 adb connect

adb connect

4. cmd下敲入命令

.\nox_adb.exe connect

D:\Program Files\nox\Nox\bin> .\nox_adb.exe devices
List of devices attached device


aapt dump badging xxx.apk


# aapt dump badging C:\Users\asus\Desktop\mobileqq_android.apk
#D:\Program Files\android-sdk-windows\build-tools\28.0.0\aapt.exe

D:\Program Files\nox\Nox\bin> aapt dump badging ‘C:\Users\asus\Desktop\weixin_1320.apk’
package: name=’’ versionCode=’1320′ versionName=’6.6.7′ platformBuildVersionName=’8.0.0′


  "platformName": "Android",
  "platformVersion": "4.4.2",
  "deviceName": "",
  "appPackage": "",
  "appActivity": ""

解决 couldn’t find DSO to load: 问题


  apply plugin: '' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' android {    compileSdkVersion 28    buildToolsVersion "28.0.3"    defaultConfig {        applicationId ""        minSdkVersion 21        targetSdkVersion 28        versionCode 1        versionName "1.0"        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"    }    buildTypes {        release {            minifyEnabled false            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), ''        }    }} project.ext.react = [         enableHermes: false,] def jscFlavor = 'org.webkit:android-jsc:+'def enableHermes = project.ext.react.get("enableHermes", false); dependencies {    implementation fileTree(dir: 'libs', include: ['*.jar'])    implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"    implementation ''    implementation ''    testImplementation 'junit:junit:4.12'    androidTestImplementation ''    androidTestImplementation ''    implementation "com.facebook.react:react-native:+"    implementation ''     if (enableHermes) {        implementation project(':hermes-engine')        debugImplementation files(hermesPath + "hermes-debug.aar")        releaseImplementation files(hermesPath + "hermes-release.aar")    } else {        implementation jscFlavor    }}

The second: You need to change the principal’s gradle

// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript {    ext.kotlin_version = '1.3.50'    repositories {        google()        jcenter()        mavenLocal()     }    dependencies {        classpath ''        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"        // NOTE: Do not place your application dependencies here; they belong        // in the individual module build.gradle files    }} allprojects {    repositories {        google()        jcenter()        mavenLocal()        maven {            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm            url "$rootDir/../node_modules/react-native/android"        }        maven {            // Android JSC is installed from npm            url("$rootDir/../node_modules/jsc-android/dist")        }    }} task clean(type: Delete) {    delete rootProject.buildDir}

The third: You need to add the next at setting gradle

include ':app''Notes'  include ':hermes-engine'project(':hermes-engine').projectDir = new File(rootProject.projectDir, '../node_modules/hermes-engine/android/')

【RN小记】解决 couldnot find DSO to load:

使用RN版本号: 0.62.2 ,将项目打包release 的 apk 时 ,安装后打开App闪退,完整错误如下:

2020-06-04 17:28:25.648 1375-1391/? E/SoLoader: couldn't find DSO to load:

    --------- beginning of crash
2020-06-04 17:28:25.649 1375-1391/? E/AndroidRuntime: FATAL EXCEPTION: create_react_context
    Process: com.microrelay, PID: 1375
    java.lang.UnsatisfiedLinkError: couldn't find DSO to load:
        at com.facebook.soloader.SoLoader.doLoadLibraryBySoName(
        at com.facebook.soloader.SoLoader.loadLibraryBySoName(
        at com.facebook.soloader.SoLoader.loadLibrary(
        at com.facebook.soloader.SoLoader.loadLibrary(
        at com.facebook.react.ReactInstanceManager$
【RN小记】解决 couldnot find DSO to load:

一番搜索找到解决方案:( 原 issues 地址: )

在 android/app/build.gradle 文件中 添加如下配置:

configurations.all {
    resolutionStrategy {
        force "com.facebook.soloader:soloader:0.8.2"
【RN小记】解决 couldnot find DSO to load:


./gradlew clean

Android ADB Server启动失败

启动Android Stdio的时候报如下错误:

12345Unable to create Debug Bridge: Unable to start adb server: error: could not install *smartsocket* listener: cannot bind to 閫氬父姣忎釜濂楁帴瀛楀湴鍧�(鍗忚/缃戠粶鍦板潃/绔彛)鍙厑璁镐娇鐢ㄤ竴娆°�� (10048)could not read ok from ADB Server* failed to start daemon *error: cannot connect to daemon'D:\adt-bundle-windows-x86_64-20140624\sdk\platform-tools\adb.exe,start-server' failed -- run manually if necessary





      如 cd D:\adt-bundle-windows-x86_64-20140624\sdk\platform-tools

     2、netstat -aon|findstr “5037”

      TCP LISTENING 5456

      发现5456占用了 5037端口,继续查看5456的task,发现是360MobileLink.exe.如下所示

      tasklist|findstr “5456”

      360MobileLink.exe 5456 Console 1 23,240 K

      接下来问题就好解决了,在任务管理器kill掉360MobileLink.exe ,运行android程序,ok .