Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to Debug Application on Android Phone

I am using Visual Studio 2015 with Update 3 on Windows 8.1, and I want to debug the application on my Android Phone, I have Oppo A37f mobile.

Earlier, I was using Visual Studio 2015 with Update 3 on Windows 10 and I was able to debug the application with Samsung Galaxy S2 but now I am getting an error in that too, "Unable to install an application or check MainLauncher=true". Is there anything that I have to do?

Is there any other way in that I can check/debug my code?

like image 990
Chandresh Khambhayata Avatar asked Dec 14 '22 01:12

Chandresh Khambhayata


2 Answers

Now, I can successfully debug an application in Oppo A37f (Android 5.1) device, I will check in Samsung Galaxy S2 later. I have just disabled the Use Shared Runtime from Android Options

enter image description here

like image 65
Chandresh Khambhayata Avatar answered Dec 16 '22 15:12

Chandresh Khambhayata


Just a suggestion may help you, make sure that you have turned on your mobile developer option as well as try to install the driver of the same phone on your windows system and check those drivers gets install properly from control panel => hardware options,

Also try to find device log option and connect your phone from there

These steps fixed my problem you can also try.

like image 36
Sanket Avatar answered Dec 16 '22 13:12

Sanket