I got this error when try to start Android solution in Xamarin Live Player on VS2017.
"Dependent project xx.csproj failed to build, using old version"
Any clue? Thanks.
Related
I have Xamarin Android Project with Target Framework v9.
Recently, I updated my Xamarin Forms to latest version. Then, I am getting below error.
I understand from the error message that I need to update 'Target Framework' from Android 9 to Android 10. I did it.
From that moment, whenever I build my android project in 'Release' mode, I get below error. Building project in 'Debug' mode is fine.
May you please help? I need to submit an update to my Android App. :-(
From the comment of "Lucas Zhang - MSFT":
Please enable the
Use incremental Android packaging system (Aapt2)
which is available under Project Properties. It will resolve the error you posted.
When i try to compile my Xamarin project in an android device this error pops up. Tried adding the NuGet Parse package in the Andoid project but it still does not work.
Error Image
I am implementing google Admob in my Xamarin.Forms application. My android project is working perfectly but my iOS project fails to build. when I build the project it shows
Failed to resolve "ObjCRuntime.TrampolineBlockBase" reference from "Xamarin.iOS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065"
and it also say I am missing few files.
I tried to download the mobile sdk framework for ios from https://developers.google.com/admob/ios/quick-start#cocoapods and then add to the project but I can't seem to add this framework to references.
Any kind of help is really helpful.
I had this issue on App Center. Resolved by upgrading SDK and Xcode versions in build configuration options
I was able to resolve the issue from upgrading the visual studio 2019 to 16.4.5 and downgrading the Xamarin.Firebase.iOS.AdMob from 7.47.0.1 to 7.27.0.3
After doing that I restarted Visual Studio and build the project it successfully built.
Also, I referred to this link for help
Edit:
In short, Visual studio installed the new appropriate mono framework for ios which basically solved the issue here.
In case anyone else runs into this issue, I got this issue after adding the Maps sdk to iOS. I had to upgrade Xamarin.iOS from 13.6.0.12 to 13.10.0.21 to resolve the issue.
I want to run the xamarin ios project and maybe its native code for ios xamarin.
I install visual studio for mac and open the project, then add missing packages.
But in One package Zxing.Mobile I get the error (I can't find relative package) So I comment related code and try to run the project. So I get the few errors and here I attached that snap
So please help me I'm iOS native developer and want to run this xamarin project.
This error generally occurs when a dependency of your nuget package is having an issue and can't be linked. You can try installing the dependency nuget package manually and that should resolve it.
Just created a Xamarin.Forms app in Xamarin Studio 5.2.1 using the Blank App (Xamarin.Forms Portable) template.
Made no code changes, built solution, attempted to run it on a connected Android device via right-click on my .Android project and choosing Run With.
Instead of deploying and starting the app, I get an error "Execution failed: Object reference not set to an instance of an object."
Has anyone run into this and figured out the problem?
Found https://bugzilla.xamarin.com/show_bug.cgi?id=21508 and inferred that no startup project set for the solution could be the cause of the exception.
Set my .Android project as startup project and all is well.