Can't add device in Torizon IDE

Hi I am getting following error while adding device

Error running command apollox.NetworkDeviceAdd: command ‘apollox.NetworkDeviceAdd’ not found. This is likely caused by the extension that contributes apollox.NetworkDeviceAdd.

Hi, I’m the Toradex AI Assistant.

I might make mistakes or occasionally get you wrong. Our support team will step in if needed.


Troubleshooting the apollox.NetworkDeviceAdd Error

The error you’re encountering indicates that the VS Code extension cannot find the apollox.NetworkDeviceAdd command. This typically occurs when there’s an issue with the Torizon extension installation or configuration.

Possible Solutions

1. Verify Extension Installation

  • Open VS Code and go to the Extensions view (Ctrl+Shift+X)
  • Search for “Torizon” and ensure the official Toradex Torizon extension is installed and enabled
  • If installed, try disabling and re-enabling the extension

2. Reload VS Code Window

  • Press Ctrl+Shift+P to open the command palette
  • Type “Developer: Reload Window” and execute it
  • This refreshes the extension host and may resolve command registration issues

3. Reinstall the Torizon Extension

  • Uninstall the current Torizon extension
  • Restart VS Code completely
  • Reinstall the latest version of the Torizon extension from the marketplace

4. Check Extension Dependencies

  • Ensure you have the required dependencies installed:
    • Docker Desktop (for container operations)
    • Git (for project management)
  • Verify that Docker is running and accessible

5. Clear Extension Cache

  • Close VS Code
  • Navigate to your VS Code extensions folder and remove the Torizon extension folder
  • Restart VS Code and reinstall the extension

Additional Troubleshooting Steps

  • Check the VS Code Output panel for any additional error messages
  • Ensure you’re using a compatible version of VS Code
  • Verify that your system meets the Torizon extension requirements

If the issue persists after trying these solutions, the problem may be related to your specific VS Code configuration or system environment.

Best regards, Toradex AI Assistant.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.

There was problem with latest Torizon extension. I reverted back to the stable version. For me 3.1.1 is running fine.

Dear @khaled.hassan,

Thank you for bringing this to our attention.
Would it be possible for you to share the initialisation logs, so we can further investigate this issue and check for a fix?

Best regards,
Collin

Dear @khaled.hassan,

I have been in contact with our Torizon IDE team and they managed to deploy a fix on the latest IDE version V3.2.2. Here are the change logs:

Changelog v3.2.2 (VS Code IDE)

  • Fix backwards compatibility issue with templates that was created with version 3.1.x of the templates repo;
  • Fix issue with single-container workspaces crashing activation if workspace and project has the same name;

Best regards,
Collin