Tag Archives: Android Monitor

Solution to error reporting when starting Android monitor

  Here is a summary of the new problems encountered in using Android monitor during this period. The solutions to the corresponding problems are as follows:

1. Ensure JDK and Android   The number of studio bits is the same. For example, the JDK uses 64 bits, and the studio should also be 64 bits, otherwise an error will be reported

2. Prompt ‘lib \ monitor location’ when running monitor directly in the command window   Does not exist

 

To solve the second problem, you can’t directly run monitor.bat file in the command window in the future. Run monitor.exe in this directory: D: \ Android \ SDK \ tools \ lib \ monitor-x86_64

 

Solution of no debuggable applications after Android monitor connects devices in Android studio

Programmer algorithm practice must read, common Java API skills to share>>>

1. In the menu bar, find tools – > Android-> Enable ADB integration, check

2. Add debuggable true to buildtypes of build.gradle in app module, such as:

buildTypes {
        release {
            debuggable true
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            signingConfig signingConfigs.release
        }
    }

3. Close studio, unplug the device, connect the device again and open studio