Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Complie Error

Any one help, when tried to compile system throw below error. three times uninstall VS and Xamarin. but no use.

packaging of 'C:\Users\XXXXXXX\AppData\Local\Temp\nykza20f.fpe\resources.apk.bk' failed App1.Android C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets 1703
ERROR: unable to open 'obj\Debug\81\lp\5\jl\bin\classes.jar' as a zip file: -40 "classes.jar' as a zip file: -40". App1.Android C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets 1703
unable to process jar files while packaging 'C:\Users\XXXXXXX\AppData\Local\Temp\nykza20f.fpe\resources.apk.bk' App1.Android C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets 1703

Answers

  • DarshanJSDarshanJS USMember ✭✭✭✭

    You can exclude bin and obj folder from project and try to build it

  • irameshiramesh Member ✭✭

    Hi,

    Sorry still same problem. Please advise if you have any solution.

  • irameshiramesh Member ✭✭

    Hi,

    Updated latest version. problem solved.

  • irameshiramesh Member ✭✭

    Hi,

    Any one help. My SQL database connection issue. when tried open connection below error displayed.

    Unhandled Exception:

    System.TypeInitializationException: The type initializer for 'MySql.Data.MySqlClient.Replication.ReplicationManager' threw an exception. occurred

  • jezhjezh Member, Xamarin Team Xamurai

    @iramesh
    Hi, This is another problem. You could create a new thread to post your problem with details.

Sign In or Register to comment.