I am developing Xamarin App on Visual Studio, and I want to debug the app on Android device, when deploying on debug mode on Visual Studio, the app gets installed but when trying to open this error shows up on Visual Studio.
Couldn't connect to with logcat, GetProcessId returned: 0
Couldn't connect to the debugger. You can see more details in Xamarin diagnostic output
The app does work when deploying on release.
Related
I have made simple app in ionic2 using visual studio. I have searched alot in google but not finding any clue how can I deploy this application for any android device?
I'm having a problem where i can't debug my Xamarin application onto my android device. The app is installed on my phone but when i start the application it immediately crashes.
please help me!
My xamarin released android app works on debug mode but crashes on release mode on Navigation pushasync event. I want to be able to view the log to know what made the app crash in release mode. How can I attach a debugger to the android process through android studio or visual studio?
I am new to Xamarin. I develop an app and deployed it on VS Emulator for android but on clicking of a button, the app is getting crashed. Please let me know the step which I can take to attach my app to VS so That I can figure out the cause of crashing the app
Please see this Xamarin documentation to undestand how you can debug your xamarin app in Emulator.
There are two standard Emulators that you can use, one is Android SDK Emulator which is the default emulator that is provided with the Andorid SDK and the other one is Visual Studio Android Emulator which is a Visual Studio 2015 built in Android emulator. Alternatively, you can use Gorilla Player.
The docs from Xamarin aren't explicit as to where an iOS device needs to be attached. I'm using VS to build a Xamarin app through a remote Mac Builder (connected via VPN) but my iphone is attached to my PC with Visual Studio. Its completely unclear as to whether or not you can deploy a compiled to from the PC you're running Visual Studio on or whether the iOS device needs to be USB'd to the remote Mac running the build.
Any pointers would be helpful.
Your iPhone needs to be connected to the OS-X Host:
http://developer.xamarin.com/guides/ios/getting_started/installation/windows/