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
Similar Posts:
- Android Stdio Compile project report Error:Failed to find target with hash string ‘android-24
- How to Solve Failure [INSTALL_FAILED_OLDER_SDK]
- [Solved] Execution failed for task ‘:app:mergeDebugResources’
- Lint found fatal errors while assembling a release target [How to Solve]
- android unity Error: your hardware does not support this application,sorry!
- [Solved] Duplicate class com.blankj.utilcode.BuildConfig found in modules classes.jar
- To solve the version compatibility problem of support library: the support package has a red underline when it is introduced
- Android studio change project name exception solution: can’t rename root module
- Android Run App Warning: The application could not be installed: INSTALL_FAILED_TEST_ONLY
- Ubuntu adb :no permissions (user in plugdev group; are your udev rules wrong?);