3

I have just updated Visual Studio 2017 and create one new project. It build successfully but giving deployment error. Application doesn't deploy on my Samsung J7 device. Before the update, it was working fine.

How to resolve this?

Error

Lucifer
  • 29,392
  • 25
  • 90
  • 143
Srusti Thakkar
  • 1,835
  • 2
  • 22
  • 52

3 Answers3

3

there are four solutions:

-read this post

-This bug is in last version Visual Studio 15.6. If you use this version make downgrade to 15.5.

  1. How delete current version

  2. Download older version - select your version on this page.

-Or wait for the next update

-or disable the signing of the apk in the properties of your project. Edit your csproj and set :

<AndroidKeyStore>false</AndroidKeyStore>

But in this case you will not be able to publish your package in Google Play.

FetFrumos
  • 5,388
  • 8
  • 60
  • 98
1

download the used SDK. Update your visual Studio(if u r not using the latest one). Check Paths. Restart Visual Studio after that. it will run

rashmi ranjan
  • 380
  • 1
  • 4
  • 14
0

About 15.6.1, I suggest you uninstall all of your Android SDK, and reinstall, it works for me!

Also you can refer to this.

Robbit
  • 4,300
  • 1
  • 13
  • 29