I create a project for Android NDK in Visual Studio 2015, but I can’t start debugging on a connected Android v6.0 device - it says that it cannot run 'run-as'. What could be the problem?

Error launching debugging of Android NDK application in Visual Studio 2015

  • And the device is probably Samsung? - Suvitruf
  • Yes, Samsung Galaxy J5 J500H / DS. - Alexander Pateychuk

2 answers 2

The problem was solved by changing the firmware. I thought that the problem is root rights. Installing root did not help, I decided to roll back root and downloaded the original firmware J500HXXU1BPG8_J500HOXE1BPG8_SER.zip on the Internet. After installing this firmware through the Odin v3.12.3 program, debug started working.

    Such a problem on Samsung happens, judging by the bug report .