Publishing Failed - Xamarin Google Play Store - c#

I am trying to publish my app finally on playStore but i get this error. What could that be please?

This is a bug in the Xamarin tooling. You can track this here:
https://bugzilla.xamarin.com/show_bug.cgi?id=51599
You may want to try manually uploading your .APK to the Google Play Developer Console instead. Perhaps the issue is purely in the Archive Manager feature and not inside your .apk. If you can add a reproduction project to the bug report above, I can help investigate this for you.

Related

Windows App Certification Kit - Security Features error

I am working on a UWP app and I have come across a strange issue with windows app certification kit (WACK).
The app itself runs fine but when I test the app through the WACK it always fails the certification saying that /SomePackagePath/sni.dll failed AppContainerCheck. Also, the supported APIs test shows a long list of unsupported APIs that my app doesn't use but WACK thinks it does. I have no idea why does it do that.
I have created numerous packages and tried to fix code-behind where I thought things could be wrong but to no avail. I tried to search the error on internet and I found out that my app should enable the .Net native tool chain and I checked the project settings and it is already enabled.
The WACK also says something about some linker options that should be set but I have no idea how to set those linker options in VS 2017. I am using the latest VS 2017 with all updates. Any suggestions on what to do? Any help will be greatly appreciated.
I can provide further information if anyone needs it.
The WACK report has said clearly. The "sni.dll" called some APIs which are not supported in UWP. If the "sni.dll" was made by you, I suggested that you'd better check its source code. You could check .NET for UWP apps document to see if this dll calls some unsupported APIs. If this DLL isn't made by you, you could first remove it from your project and create a package to see if it will be able to pass the WACK. Then, you will know if this issue was due to this DLL.
Beside, you could debug your code to see if you will get some exception when enable the "Compile with .NET Native Tool chain" and "Optimize code".
I managed to find the culprit and it was related to Jint nuget package. Apparently it uses some APIs which are not allowed in the UWP system and that also sni.dll is part of this.

Xamarin Forms Cannot run PCL project

Hi I am trying to do the phoneword (Xamarin.Forms) app given on the Xamarin website. However, the project is not building. The error is shown in the screenshot below:
Earlier the error message was to extract contents of m2repository to the path:
C:\Users\user\AppData\Local\Xamarin\Xamarin.Android.Support.Design\23.0.1.3\content
Help is really appreciated. Thanks in advance.
You hit the famous SDK corruption, so the manual steps to fix are not easy.
I have my post here,
https://blog.lextudio.com/2016/05/android-support-repository-and-xamarin-android/
You might need to revise the version numbers to match your case.

Windows Universal App _TemporaryKey.pfx Does Not Exist Import/Open Project

I'm an Absolute beginner in using visual studio 2015 and has a little background in C# and XAML. I'm following a series of tutorial in how to make windows apps in YouTube. And from the video they shared a repo/projects from the video.
The problem was that, when I open it, add the solution. And Build the project I get many errors, due to ProjectName_TemporaryKey.pfx .
Here's the Link of the video that I was following, and the github account link in case you want to view it yourself.
**How to I solve this problem? **
I really need your help. Thank you in advance.
I was able to solve my problem, with the help of this [link].1
First go to Project and clicked the project properties
Second - go to Signing and check the Sign the Assembly
Lastly - save the project and Build or ReBuild the Solution

What is the proper way of installing Xamarin because I am getting an error every time that I try to start

I am trying to develop my first Android/iOS app using Xamarin, however every time that I try to create a new project and open up the Main.axml in the Resources -> Layout folders, I get an error stating that "Something went wrong"
Something Went Wrong
I have tried re-installing Visual Studio as well as Xamarin but I have had no luck. Any help is greatly appreciated!
Install the Android SDK. You can get it from here
If you have already installed the Android SDK, you might need to (Inside Visual Studio) go to Tools -> Options, in the left side on that new window that opens Expand Xamarin. Click on Android Settings and Make sure all the Locations are set for Java Development, Android SDK, and NDK Location. Point your Android SDK location to where you installed it.

Visual Studio 2015 and uwp development - User-Mapped section error and CopyWin32Resources error

Continuing with some UWP development and 2 things keep happening with visual studio and I can't work out if its a VS2015 bug, the fact that I am deploying to a windows Mobile 10 device or something else.
Randomly when I try to build or deploy to my device I get either.
Could not copy "obj\ARM\Debug\MyApp.exe" to "bin\ARM\Debug\MyApp.exe". Exceeded retry count of 10. Failed.
Unable to copy file "obj\ARM\Debug\MyApp.exe" to "bin\ARM\Debug\MyApp.exe". The requested operation cannot be performed on a file with a user-mapped section open.
or I get
CopyWin32Resources failed with exit code 500
Seems to be random and I can't nail down what is causing either. Googling didn't really help. Some said Anti-virus but disabling mine did nothing. Some said it was something to do with Visual Studio Achievements Extension but I don't have it installed.
Anyone know the cause or a fix? Making development difficult when I can't deploy.
UPDATE: Ok so the first set of errors is more related to Windows 10 I think. When the error appears again I try to manually copy the file and when I do I receive similar error in explorer.
error 0x800704c8: the requested operation cannot be performed on a file with a user-mapped section open.
can you try those things:
Close all other VS windows except one.
Clean the project you works on.
Try build project. If you get same errors, close all VS windows.
Delete 'bin' and 'obj' folders.
Open VS again and try building your project.
Then try deploying your project.
I know you might have found a fix already. But I had the same error after installing new emulators for my uwp application, after installing these emulators I seem to have gotten those errors. I thought uninstalling these emulators would be the fix, but was not. Now I run my program without restoring any missing packages and it seems to be the fix.
For anyone still facing the CopyWin32Resources Error on Windows, try uninstalling CbDefense (both Carbon Black Sensor and CB Defense Sensor 64bit). To much disbelief, this solution suggested by Microsoft resolved the issue for me!
I got this problem whenever I have my project in a folder that is synced by something like Dropbox. Pausing Dropbox always fixes the problem for me.
Fixed the problem. Moved the project out of the Visual Studio Project folder in My documents folder and into a projects folder on the C Drive. None of the errors have returned so I am guessing this is a windows 10 issue.

Categories

Resources