I have created Android application using MvvmCross now I would like to add UWP project also. First thing which stopped me is SQLite. While app start I have following error:
MvvmCross.Platform.Exceptions.MvxIoCResolveException: 'Failed to
resolve parameter for parameter factory of type
IMvxSqliteConnectionFactory when creating
Theseus.Mobile.Core.Services.LocalStorage.LocalStorageService'
I am reading google since 2 hours and adding wierd references but still nothing works. Did somone faced the problem ?
Related
While migrating a Xamarin forms app, I find my self having this Android specific code that try to load my sound resource with a resource id
MediaPlayer.Create(Android.App.Application.Context, Resource.Raw.beepok);
I see that maui is bunding everything on Resources\Raw\** as MauiAsset
How i can still get the resource id?
It seem that AndroidResource still works, it seem that i was hit a build cache of sort, after clean and restarting vs the resource is available
Already posted a question related to this issue, but the solution there is not solving the issue now for another project.
My error:
Severity Code Description Project File Line Suppression State Error CS7069 Reference to type 'Assembly' claims it is defined in 'System.Runtime', but it could not be found
I have this problem after updating xamarin forms to 3.4.0.1008975 from 2.5.0.121934. Problem is only on the UWP part. Android and IOS apps are working fine.
Error lines:
var rendererAssemblies = new List<Assembly>
{
typeof(ImageCircleRenderer).GetTypeInfo().Assembly
};
rendererAssemblies.AddRange(Rg.Plugins.Popup.Popup.GetExtraAssemblies());
Rg.Plugins.Popup.Popup.Init();
Xamarin.Forms.Forms.Init(e, rendererAssemblies);
Another solution found on this thread. The solution on this thread is downgrading the xamarin forms to version 2.5.1.527436 in all the projects. But I can't do that in my project, because I am using some features that are available in the latest xamarin forms.
So how can I fix this issue without degrading the xamarin forms?
I've been struggling with the APPUriHandler to work correct using Xamarin.Forms for building a multi platform app. I am not getting the AppHandler to work correct using the "Shared pages"
Following https://learn.microsoft.com/en-us/windows/uwp/launch-resume/web-to-app-link i have managed to open the appif i launch the app manual, when using a link I get stuck on the SplashScreen
which throws an error :
Its just when using the handler that it fails. I have identified that if I add a new page on the UWP project, and navigate to that page, it works fine. My problem is using the .Net standard (Old PCL) method as it is using multi platform. Is there a way to get past this or call the LoadApplication a different way from UWP MainPage as that is where it breaks
or anything that can steer me in the right direction?
I've had this Xamarin.Auth AccountStore working in my app for a while, but then decided to do some updates to some Nuget Packages and Target Android versions >_<
I now have no idea what went wrong and how to get it working again, here is the exception:
Java.Security.KeyStoreException: KeyStore was not initialized
The code is pretty simple and looks like this:
var accountStore = AccountStore.Create(Android.App.Application.Context);
var accounts = accountStore.FindAccountsForService(providerName);
The 2nd line is throwing the exception.
This is in the Android project, being called from a PCL DependencyService.
It has been working this way for a while, I guess something changed in a version update in one of the packages but I don't know what, any ideas?
try to repair your visual studio installation.
This made the trick for our project. We had the same problems like you.
I am getting an error trying to upload an app to the iOS store.
The application was developed using FlashBuilder 4.7 and Flex 13.0.
ERROR ITMS-9000: “No architectures in the binary. Lipo failed to detect any architectures in the bundle executable.” At SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage)
Does anyone have any ideas as to what this error is? Any help would be appreciated.
Thanks.
Try to fix your application.xml:
<iPhone>
<InfoAdditions><![CDATA[...
<key>MinimumOSVersion</key>
<string>6.0</string>
]]></InfoAdditions>
I found solution of my question after lots of try. After updating an air sdk still I got this issue.
Solution of this issue is simple.
We don't need to use any digit in app Id.
for example:
App was not submitteds app id contains digit like com.adobe.sample.7th
then I created new app having app id like com.adobe.sample.seventh and I was able to submit this app to store.