Can't run Factory Droid in AI Assistant on mac

I recently change from windows to a mac and after installing Factory Droid from the ACP Registry, I get the following error. 

Failed to initialize ACP session. Error: Internal error: "Droid process exited unexpectedly (exit code 1)"

I've worked with the Droid app to try and fix it, but no luck.  Any idea what else I can try?

0
1 comment
Hello, Geoff

This type of error is often caused by a corrupted ACP runtime, configuration issues, or missing dependencies, similar to issues seen with other ACP agents.
Please try the following troubleshooting steps:

1. Ensure your IDE, AI Assistant plugin, and Factory Droid agent are all updated to their latest versions.
2. Use the "Clear Downloaded ACP Runtimes" action: Press Shift twice to open "Search Everywhere," type and select "Clear Downloaded ACP Runtimes," then restart your IDE.
3. Remove the Factory Droid agent's configuration directory (e.g., ~/.factorydroid or similar), then restart the IDE.
4. Check if the Factory Droid agent binary exists in your IDE's cache directory (e.g., ~/Library/Caches/JetBrains/<IDE>/acp-agents/.runtimes/node/...) and try running it from the terminal to see if it starts without errors.

These steps have resolved similar issues for other ACP agents.

If the problem persists after trying these steps, please collect your recent debug logs and ACP logs and submit a support ticket for further analysis.
The instructions on how to enable, collect, and upload the logs may be found here: https://youtrack.jetbrains.com/articles/SUPPORT-A-75/How-to-collect-IntelliJ-IDEA-logs-to-troubleshoot-AI-Assistant-issues
ACP Logs: https://www.jetbrains.com/help/ai-assistant/acp.html#collect-acp-logs
You may submit the AI Assistant support request here: https://intellij-support.jetbrains.com/hc/en-us/requests/new?product=ai_assistant
0

Please sign in to leave a comment.