-
Notifications
You must be signed in to change notification settings - Fork 564
Closed
Labels
Area: App+Library BuildIssues when building Library projects or Application projects.Issues when building Library projects or Application projects.
Milestone
Description
Steps to Reproduce
We have created the sample to reproduce the issue.
In our sample, we have created the one custom control that contains the layout from axml and it has been inflated in our library project.
In our application project, we have only added that custom control into the view and we are facing the below error at the time of enabling the AndroidUseAapt2 in our application.
Expected Behavior
It should run without any exception.
Actual Behavior
It has thrown the runtime exception as shown below.
Basic Information
- Visual Studio Version: Both 2017 and 2019
- Platform Target Frameworks:
- Android: Xamarin.Android.SDK version 9.1.7.0
- Android Support Library Version: 28.0.0.1
Screenshots
Error log: Unhandled Exception:
Android.Views.InflateException: Binary XML file line #1: Binary XML file line #1: Error inflating class InflatedLibrary.CodeBehindClass occurred
Sample
DottorPagliaccius and EmilAlipiev
Metadata
Metadata
Assignees
Labels
Area: App+Library BuildIssues when building Library projects or Application projects.Issues when building Library projects or Application projects.
