Xamarin.Forms.PancakeView
Xamarin.Forms.PancakeView copied to clipboard
[Android] error encountered: "Found tag id where item is expected" after upgraded to version 2.2.0.740
the android project got build error "Found tag id where item is expected" after upgraded to version 2.2.0.740.
after clicking the error in error list pane, the following content is shown:
<?xml version="1.0" encoding="utf-8"?> <resources> <id name="view_tree_lifecycle_owner"/> </resources>
@saamerm Do you think this could have something to do with the Android X migration?
I can't quite place this error.
Apparently along the way while opening the can of worms that is AndroidX something changed that is impacting this in v2.2.* as that was the biggest change in there. I've subsequently pulled all the v2.2.* stuff from NuGet as I'm getting other issues related to this as well. Regarding an actual solution, I'm not quite sure when I'll get around to it. Other things in life are taking up a lot of time and will be for the foreseeable future.
Hmm I dont see why it could be causing the issue. @waterzsw could you please more details for the build error?
same issue
@rambod17 could you please provide more details for the build error? The trace would be very useful
This looks like an AndroidX issues. The latest AndroidX is giving this error when building release with Linking.
Issue has been reported https://github.com/xamarin/AndroidX/issues/152
Same issue. Appeared after upgrading PancakeView 2.1.0.714 -> 2.3.0.759. After reversing the upgrade everything work again. I have this version of AndroidX.MediaRouter 1.1.0.1.
@rambod17 could you please provide more details for the build error? The trace would be very useful
Error fixed after clean and rebuild.
Please try to enable aapt2 on your Android project then rebuild your project.