I am trying to use the latest Xamarin Support Library v7 AppCompat 21.0.0-beta1 in my project. I am getting the following error.
Xamarin/Android.Support.v7.AppCompat/21.0.0-appcompat-v7/embedded/./res/values-v11/values.xml:43: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
It is pretty much identical to the issue on the following thread but it is related to xamarin envrionment.
appcompat-v7:21.0.0': No resource found that matches the given name: attr 'android:actionModeShareDrawable'
Any ideas would be appreciated.
You should override and set your target level to v21. You need to run the Xamarin Alpha channel to be able to do this.
Related
I want to clear some troubles with adding MVVM cross 7.0.0 in an empty project (Xamarin.Forms). I had followed this guide from MVVM cross docs: https://www.mvvmcross.com/documentation/tutorials/tipcalc/a-xamarin-forms-version
By the way, they didn't add actual MVVM cross ver for this tutorial :( So now I'm facing issue with the invalid package name in Forms Android project, so I couldn't use "MvxFormsAndroidSetup" and "MvxFormsAppCompatActivity".
Does someone know how to fix it?
VS error img
You are getting the error because your Android Project targetting monodroid9.0 or lower. When you're upgrading to MvvmCross 7.x, you have to set your Android-Target version to monodroid10.0 or higher. As you can see in the picture, with android 9, it didn't recognize the mvvmcross-nugget.
Look at the release-news to see all changes;
I've spent the last two days trying to submit my app to the App Store. I get the message below:
ITMS-90338: Non-public API usage - The app references non-public symbols in Frameworks/Flutter.framework/Flutter: _kCTFontOpticalSizeAttribute. If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed. For further information, visit the Technical Support Information at http://developer.apple.com/support/technical/
Here's what Ive done so far:
a) I've scoured my code for any reference to Font Sizes - I had some that were constants - I changed the constant name to:
k_fontSizeMyName
b) I tried to download the latest flutter sdk version
c) I rebuilt my entire keychain.
Im so desperate right now. im tired.
What do I do?
the internet has no mention of this bug.
I've got the same message several times from the App Store Team a few minutes ago.
I think the problem was the Flutter SDK version...!
I used to use the latest version(Flutter SDK version 1.12.3-pre.26) at first but changed the Flutter SDK version to 'v1.9.1+hotfix.3' and the problem is resolved!!!
I solved the problem with the following instruction below:
Switching Flutter SDK version to 'v1.9.1+hotfix.3' with the command:
flutter version v1.9.1+hotfix.3
Archive and upload again ...
Problem Solved!!!!!! 🤩
This may be a recently-introduced Skia regression.
The code was included in Flutter v1.12.3, so v1.12.2 on the dev channel should work.
Flutter's Bad Build wiki page will be updated when there is a fix for this issue.
Update: This has been resolved in Flutter v1.12.5.
Since there have been a lot of problems with flutter recently(when I tried the fix mentioned in another answer I different error) I though I should include this https://github.com/flutter/flutter/releases
Just type flutter version [version code]
So I'm trying to build a Nuget Package for an Android Binding Library on Xamarin Mac and I'm getting an error like this
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Bindings.targets(5,5):
Error MSB4044: The "GetAdditionalResourcesFromAssemblies" task was not
given a value for the required parameter "DesignTimeBuild". (MSB4044)
Not sure what to do with this, google a lot, checked StackOverflow couldn't find anything related to this specific error, any inputs would be deeply appreciated
I have been following this document to implement a hybrid webview and am running into an issue with the Target Android version. It states in the document:
On Android Oreo ensure that the Android manifest sets the Target
Android version to Automatic. Otherwise, running this code will result
in the error message "invokeCSharpAction is not defined".
I am using the Android 8.1 - API 27 simulator and I am getting that error. I tried to set the Target Android version to "Automatic" as it suggests in the Android Manifest portion of the project properties, but "Automatic" is not an option I can pick. The only option I get that isn't a specific version is "Use Compile using SDK Version" and that doesn't solve the problem. What am I missing?
Have you seen the following thread?
https://github.com/xamarin/xamarin-forms-samples/issues/343
It states that sample from the documentation does not work and needs to be changed according to the one posted in this thread. Please let me know if it helps or not.
I have created a Xamarin Android project. Via NuGet, I have added a reference to the Grpc package.
In my activity, I want to create a Grpc.Core.Server instance, but it won't let me because of the following runtime error:
System.IO.FileNotFoundException: Error loading native library. Not found in any of the possible locations: /storage/emulated/0/Android/data/DecodingPoC.DecodingPoC/files/.override/libgrpc_csharp_ext.x64.so,/storage/emulated/0/Android/data/DecodingPoC.DecodingPoC/files/.override/runtimes/linux/native/libgrpc_csharp_ext.x64.so,/storage/emulated/0/Android/data/DecodingPoC.DecodingPoC/files/.override/../../runtimes/linux/native/libgrpc_csharp_ext.x64.so
I haven't been able to find any information on this for Xamarin, only iOS, so I am hoping someone here can provide a suggestion on how to proceed.
Please note that gRPC c# support for Xamarin is currently experimental. The stable packages in nuget.org don't provide the support yet (that will change with the upcoming v1.15.x release).
See HelloWorldXamarin instructions on how to obtain the correct nuget package (or use the https://www.nuget.org/packages/Grpc.Core/1.15.0-pre1 pre-release package which already supports Xamarin):
https://github.com/grpc/grpc/tree/master/examples/csharp/HelloworldXamarin#experimental-only
You might also need this workaround if you are using Xamarin.Forms: https://github.com/grpc/grpc/issues/16250