This is a mobile app written in Xamarin. Latest version of Xamarin. Won't compile the android project. iOS compiles fine. Installed latest 'everything'. Tried deleting obj/bin, packages and restoring.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Aapt2.targets(154,3): error APT2062: failed linking references.
/Users/userX/code/work/example-app/Example.Services.Client.Forms.Droid/obj/Debug/lp/1/jl/res/values/values.xml(0,0): Error APT2260: style attribute 'attr/cardBackgroundColor (aka Example.Services.Client.Forms.Droid:attr/cardBackgroundColor)' not found. (APT2260)
/Users/userX/code/work/example-app/Example.Services.Client.Forms.Droid/obj/Debug/lp/1/jl/res/values/values.xml(0,0): Error APT2260: style attribute 'attr/cardElevation (aka Example.Services.Client.Forms.Droid:attr/cardElevation)' not found. (APT2260) (Example.Services.Client.Forms.Droid)
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Aapt2.targets(3,3): Error APT2260: resource style/CardView (aka Example.Services.Client.Forms.Droid:style/CardView) not found. (APT2260) (Example.Services.Client.Forms.Droid)
Related
I got a complaint from a client that library i made was throwing an error when they try to import it. Error is saying: "Module compiled with Swift 5.3 cannot be imported by the Swift 5.4 compiler". After some research i found out about ABI, and I understand the cause of this error.
Now I want to test if this solution works before shipping the fix. I downloaded a few older toolchain versions hoping that by switching them I could simulate this kind of situation. Setting the distribution flag for the library, building it with older toolchain and then importing it to a project with newest version of toolchain. However I still get the same error. Im I doing this right? What I am missing?
I am currently trying to set up the FBSDK for react-native (react-native-fbsdk).
It was working great in previous versions when I was running react-native-fbsdk#0.1.0 and react-native#0.41.0.
However, right now with react-native-fbsdk#0.6.0 and react-native#0.45.1, I had to reinstall a lot of components.
My app is sending me:
Warning: Native component for "RCTFBLikeView" does not exist
Warning: Native component for "RCTFBLoginButton" does not exist
Warning: Native component for "RCTFBSendButton" does not exist
Warning: Native component for "RCTFBShareButton" does not exist
So considering to other posts like this, this is supposed to be due to a problem with libRCTFBSDK.a.
However, after removing and adding back this file from Build Phases, the problem is still occuring.
Is there a way to find the latest version of this file somewhere? I do not see it in the node_modules and I am only adding it from workspace.
I am new to xamarin studio.
I have added all the required packages corresponding to the target API 23 to my android xamarin studio project, set it to the right target API 23 but am still being haunted by these errors in the image below. Any help rendered will be greatly appreciated
Image contains errors from an android xamarin studio project
Your compile SDK version must match the support library's major version.
Since you are using support library v23, you need to compile against Android SDK of v23.
Alternatively you can continue compiling against v22 of the Android SDK by switching to the latest support library v22.
I need to work with two third party frameworks in my Xcode project but the two of them use Google's Protocol Buffer library and they were compiled against different versions of that library. Both frameworks work fine separately but when I try to use them in the same project I get this error message:
[libprotobuf FATAL /Users/jari/dev/indooratlas-sdk/indooratlas-ios-sdk/target/framework/IDAAlgorithm/cpp-algorithms/cpp/protobuf/protobuf-cmake/protobuf-2.6.0/src/google/protobuf/stubs/common.cc:72] This program was compiled against version 2.4.1 of the Protocol Buffer runtime library, which is not compatible with the installed version (2.6.0). Contact the program author for an update. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "".)
libc++abi.dylib: terminating with uncaught exception of type google::protobuf::FatalException: This program was compiled against version 2.4.1 of the Protocol Buffer runtime library, which is not compatible with the installed version (2.6.0). Contact the program author for an update. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "".)
The error message states that I should contact the program author to get an update but I would like to know if there is something that I can do to fix the problem.
If you have the source code for the frameworks, you should be able to compile them both using the latest version of Protobufs. You will need to regenerate all of the .pb2.cc and .pb2.h files using the latest protoc and link against the latest library version.
If you do not have the source code for the frameworks, then you need to contact the authors and ask them to compile against the newer Protobufs. Without code there is no way to do this yourself.
I have updated to Xamarin.Android 4.10.1 and now my MvvmCross project does not compile :( its as if it cant find any of the MVX attributes.
I am getting an error like the following for every MvvmCross entry in my code
E:\Software Projects\xxx\xxx\xxx\Resources\layout\xxx.xml(0,0): Error: No resource identifier found for attribute 'MvxBind' in package 'com.xxx' (xxx)
has anyone encountered this too?
Thanks
Amit