call me Steve
call me Steve

Reputation: 1727

Connecting my Android device with Visual Studio 2015 RC

I have compiled a sample Android project with Visual Studio 2015 (RC - Community Edition), now I would like to deploy and execute it on my connected android device. ADB seems to be working:

But in Visual Studio 2015, when executing the project I have the following error message:

1>Error installing the package. The device '' is invalid or not running.  <...>

So I suppose I should input my device somewhere, but I can't find that place in the options available. I also noticed that on the dropdown menu for the execution there is a "No devices available" message.

Thanks for your help.

Upvotes: 6

Views: 11721

Answers (2)

Iman
Iman

Reputation: 18916

  1. Go to the Settings screen in your android phone
  2. Select Developer options
  3. most importantly make sure USB debugging option is checked

hopefully your USB drivers are installed and for further details go to this page

Upvotes: 3

call me Steve
call me Steve

Reputation: 1727

Ok I found the answer , hopefully it will help others.

The configuration was pointing to "X86", once I selected "ARM" then the device appeared in the list of targets I could run the app on.

Upvotes: 11

Related Questions