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, confirm that
adb devicesshows it in thedevicestate. If not, restart ADB and try again.
App not launched or Recovery failed
This means that Jugg could not find an attachable target app process, or deployment-state recovery did not complete after launch.
- Confirm that the installed app for the current variant is debuggable, then launch it in the foreground.
- Confirm that
adb devicesshows the device in thedevicestate. - Close other Android Studio instances or ADB tools that may be using the same device.
- Compare with Android Studio's built-in
Attach Debugger to Android Process. If it also cannot find or attach to the process, restore the app or ADB state first. - Run Jugg again. If it still fails, use Clean Reinstall to rebuild installation and deployment state.
Try recover deploy state failed
This means that the app installation or data still exists on the device, but Jugg could not restore a state that can continue incremental deployment.
- Confirm that the device is connected and that the application ID, variant, and current Jugg Run Configuration match.
- If you recently cleared app data manually, replaced the APK, or switched variants, use Clean Reinstall.
- Otherwise, run Jugg once more so that it can perform its limited recovery retry.
- If the problem remains reproducible, keep the current state and report the issue.
First checks for other deployment failures
- Confirm that
adb devicesshows the device in thedevicestate. - 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 failed to attach or did not respond after attachment. 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 tries a smaller resource overlay, waits and retries, and reinstalls the APK on the final retry. If deployment still fails, use Clean Reinstall to rebuild installation and deployment state.
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.