-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Original attribute defined here #7
Comments
Bueller? |
We got the same issue. Somewhere I read that it's caused by a double inclusion of AppCompat (from AndroidX libraries and Xamarin.Android.Support.v7.AppCompat) but Xamarin.Android.Support.v7.AppCompat can't be removed since Xamarin.Forms depends on it... I'm now trying to remove some old Android.Support packages and see if I get some progress. |
I noticed there was a new pre release out today. prelease 5. I started over and went through the steps and it looks to be working now. The process was a lot easier as well. I was able to edit the csproj file and add all the needed references. The output text included a copy/paste method. I had also updated my visual studio and enabled the AndroidX migrator. Not sure if that did anything because I did not see anything directly related to that. I was able to run a debug build. I will be testing through the app today and hopefully testing a release build as well. |
I think I figured it out. The iOS and Android projects weren't migrated to use PackageReference and were still using the old nuget package.config file. After migrating to PackageReference (and got rid of all the explicit inclusion of all support libraries) the projects are now compiling fine. |
@davidevosti @brepetti @davidevosti Guys are you using aapt2? I just ran into this issue with our tests. I managed to solve it by turning on aapt2 |
@davidevosti @brepetti @davidevosti I will repoen this issue, so you can provide us feedback, please. |
Closing this one, due to lack of feedback. |
After following the directions and installing the necessary nugets I was told to install, we still cannot compile. We get a ton of errors for "Original attribute defined here."
Any suggestions? The errors do not say where they are being spawned from. They started coming up about the same time we added the AndroidX.AppCompat nuget.
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: