Cannot test app on ConnectIQ Simulator

Former Member
Former Member
Hello, I'm having issues using the ConnectIQ Simulator. I've seen these two forum posts before, i've followed them, along with everything in the programmer's guides, but so far it is working.

Previous posts:
https://forums.garmin.com/forum/developers/connect-iq/152633-adb-disconnected

There currently seem to be two problems. First of all, when I try to launch the simulator, i get a message box saying ADB disconnected. However, I know I have the adb correctly configured and on the right ports because in command line I can list the phone and that the adb is on port 7381.


The second issue, but I don't know if it is unrelated, on the counterpart android app on the phone, switching the ConnectIQ.getInstance(context,IQConnectType.WIRELESS) to TETHERED it causes the app to crash, which outputs an error creating the server socket. The app works normally with the WIRELESS, though I don't have a physical watch to test the rest of the app.

What is the exact order I need to launch the simulator and the counterpart app on the android device? Also, what do I do to fix this ADB disconnected error?

Thanks
  • Former Member
    Former Member over 6 years ago
    Ok as a follow up, I'ved solved the issue, it was very silly. The ADB requires the internet permission, which our project from before did not include, it used bluetooth permissions. This solved the issue as the android app could intialize properly, therefore setting up the adb with the simulator.
  • Former Member
    Former Member over 5 years ago

    Hi, There doesn't seem to be much information about developing companion apps.

    Where did you learn?