Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The package was not properly signed (NO_CERTIFICATES) in running application

I am developing xamarin forms application and i got the below error when running application on android emulator

>The package was not properly signed (NO_CERTIFICATES).
2>   at Mono.AndroidTools.Internal.AdbOutputParsing.CheckInstallSuccess(String output, String packageName)
2>   at Mono.AndroidTools.AndroidDevice.<>c__DisplayClass94_0.<InstallPackage>b__0(Task`1 t)
2>   at System.Threading.Tasks.ContinuationTaskFromResultTask`1.InnerInvoke()
2>   at System.Threading.Tasks.Task.Execute()
2>Done building project "Modern.FM.Mobile.Android.csproj".
2>Build succeeded.
2>The package was not properly signed (NO_CERTIFICATES).
2>   at Mono.AndroidTools.Internal.AdbOutputParsing.CheckInstallSuccess(String output, String packageName)
2>   at Mono.AndroidTools.AndroidDevice.<>c__DisplayClass94_0.<InstallPackage>b__0(Task`1 t)
2>   at System.Threading.Tasks.ContinuationTaskFromResultTask`1.InnerInvoke()
2>   at System.Threading.Tasks.Task.Execute()
like image 382
Mahmoud Alam Avatar asked Mar 09 '18 19:03

Mahmoud Alam


3 Answers

I just delete all file in Folder /bin from my Android project and recompile.

like image 121
Gustavo Avatar answered Nov 08 '22 17:11

Gustavo


This problem happened after installing visual studio 2017 updates. after running visual studio repair everything worked fine.

like image 1
Mahmoud Alam Avatar answered Nov 08 '22 17:11

Mahmoud Alam


If none of the other solutions work, just open your android project options, and then go to Android Package Signing, and make sure "Sign the .APK file..." is deselected for all the configurations and platforms, as shown: Screenshot of the Android options window

like image 3
Saamer Avatar answered Nov 08 '22 17:11

Saamer