Installation, launch, or Debug failed
This page covers cases where the app is not installed, launched, or attached to the debugger after you click Run or Debug. If the app opens but changes do not take effect or it crashes afterward, use the page for that specific symptom.
Q: Jugg reports No Device
- If Android Studio has an emulator selected, confirm that the emulator is running. Jugg does not start emulators automatically, which generally provides a better experience when you only need to compile.
- If a physical device is selected, first confirm that
adb deviceshows it as online. If not, kill the adb process and try again.
Q: Deployment fails with Try recover deploy state failed, MISSING_AGENT_RESPONSES, AGENT_ATTACH_FAILED, or deploy timeout
This usually means that the device's adb state is abnormal.
- Confirm that
adb deviceshows the device as online. If not, kill the adb process and try again. - Close other Android Studio instances or ADB tools that may be using the same device.
- Test whether
adb installcan install the APK successfully. - If Android Studio's built-in
Attach Debugger to Android Processalso fails, restore ADB functionality first. - If the problem remains reproducible, report the issue to the maintainers.
Q: What should I do when Jugg reports MISSING_AGENT_RESPONSES or AGENT_ATTACH_FAILED?
This means that the Apply Changes agent did not respond after it was attached. Jugg retries first and switches to compatibility deployment when it detects a JVMTI compatibility problem.
If the same device repeatedly encounters this problem, enable compatibility mode for that device by following Compatibility deployment for a device, then run again.
Q: What should I do when Jugg reports Got deploy timeout exception, retry after 5s?
Jugg performs a limited number of retries after a deployment timeout. If deployment still fails after those retries, uninstall the app from the device and deploy again. You can also reinstall it with Clean Reinstall.
Q: APK installation failed
INSTALL_FAILED_USER_RESTRICT: Allow installation from the current source on the device, or remove the enterprise device restriction.INSTALL_FAILED_INVALID_APK: Run a full Gradle build again, then use Clean Reinstall.The application could not be installed: First use Android Studio's native Run action to verify whether the same APK can be installed.- The base APK contains an old Jugg incremental overlay: Generate a new full APK that does not contain old incremental data.