-
Notifications
You must be signed in to change notification settings - Fork 560
Description
Description
I have updated my project to Xamarin Forms 4.3.0.851321-pre3. When I wanted to build the Android version of my app, I got the error that several attributes are already defined. I looked at the generated "values.xml" and there e.g. "android:translationX" is present several times.
Values.xml --> https://www.protectedtext.com/gjfrjzrj (Password: 1234)
I have already deleted the obj and am folder deleted and recreated. The error appears every time. If I install the project back to the previous version then everything works correctly again.
Steps to Reproduce
- Build my App (Android) - Mind.-Lvl: Android 6.0 - Max.-Lvl: Android 9.0
- Get Error while Building:
Android\obj\Debug\90\lp\24\jl\res\values\values.xml(319): error APT0000: Attribute "android:alpha" has already been defined
Android\obj\Debug\90\lp\24\jl\res\values\values.xml(322): error APT0000: Attribute "android:translationX" has already been defined
Android\obj\Debug\90\lp\24\jl\res\values\values.xml(322): error APT0000: Attribute "android:translationY" has already been defined
Android\obj\Debug\90\lp\24\jl\res\values\values.xml(322): error APT0000: Attribute "android:translationZ" has already been defined
Expected Behavior
- App to be built normally
Actual Behavior
- App crashes during build attempt
Basic Information
- Version with issue: 4.3.0.851321-pre3
- Last known good version: 4.2.0.848062
- IDE: Visual Studio 2019 Professional
- Platform Target Frameworks:
- iOS: No Check with iOS
- Android: SDK: 28.0.3 / Android 9 Device (S9+)
- UWP: No Check with UWP
- Android Support Library Version: 28.0.0.3
- Nuget Packages: Forms (pre3)
- Affected Devices: Samsung Galaxy S9+ Duos
Screenshots
https://i.imgur.com/w0us0gH.png - Errorlist