Friday 3 August 2018

Couldn't connect to logcat, GetProcessId returned: 0 (Xamrin Andriod Visual Studio)

Couldn't connect to logcat, GetProcessId returned: 0 (Xamrin Andriod Visual Studio)

Solution: Uninstall APP from emulator. 

Following is a step.

  1. Go to settings.
  2. Find the app
  3.  Uninstall the APP
  4. Close the emulator
  5. Run again the emulator








'adb' is not recognized as an internal or external command, operable program or batch file.

'adb' is not recognized as an internal or external command,operable program or batch file.





 Solution:

Step 1

I have windows 10. Here is adb.exe is located. Copy the following path.

 Step 2:

Go to control panel and click Advanced system settings.

Step 3: Click Environment Variable button.


Step 4

Select Path button and Click Edit button


Step 5:

Paste the adb path here and then click ok and ok


Step 6:

Run again command prompt and type abd.