When i try to connect with adb i get this message: http://prntscr.com/eiyafx
1. Start Connect IQ Simulator
2. Start Android Emulator
3. Run adb command "adb forward tcp:7381 tcp:7381" from (android/sdk/platform-tools)
4. Start connection (Ctrl + F1)
Is there a way to detect automatically if it's running in simulator or real device? Like source-simulator/Foo.mc vs source/Foo.mc for example. Or an sdk call?
BTW this doesn't really answer the question, since in the question (or in my case) there's no app in the simulator: you can start an "empty" simulator, and then click on "adb Connection" > "Start" and you'll get the "ADB disconnected" error message.