Ravindra Kumar
Ravindra Kumar

Reputation: 601

Xamarin Released/Debug apk is not opening on android device

I have created an app in Xamarin Android and its running fine on emulator,I install the Debug & Released mode apk to a real device,installation done successfully but none of them are opening on device. Its giving me an error "unfortunately app has stopped". What could be the reason ?

I also tired following configuration while building app in release mode:

Packaging:

Use Shared Run time: false(Unchecked)

Use Fast Deployment: false(Unchecked)

Linking : Sdk Assemblies Only

Architecture: armeabi-v7a

Upvotes: 0

Views: 2871

Answers (1)

Ravindra Kumar
Ravindra Kumar

Reputation: 601

I just found the issue.I just added the below line of code in the manifest file and it works.

<uses-permission android:name="android.permission.INTERNET" />

Hope it may help someone else!

Upvotes: 1

Related Questions