Android Question error: Attribute "elevation" has already been defined


Active Member
Licensed User
Hi all,

Concerning: B4XDrawer - sliding drawer
I downloaded the files required for B4A and copied them to their appropriate location.
Opening the AppCompat app and when compiling, I get these 2 errors:

B4A Version: 10.2
Java Version: 8
Parsing code.    (0.01s)
Building folders structure.    (0.04s)
Compiling code.    (0.43s)
Compiling layouts code.    (0.15s)
Organizing libraries.    (0.00s)
    (AndroidX SDK)
Generating R file.    Error
c:\android\android-sdk\tools\..\extras\b4a_remote\androidx\appcompat\appcompat\1.2.0\unpacked-appcompat-1.2.0\res\values\values.xml:1770: error: Attribute "elevation" has already been defined
c:\android\android-sdk\tools\..\extras\b4a_remote\androidx\appcompat\appcompat\1.2.0\unpacked-appcompat-1.2.0\res\values\values.xml:1928: error: Attribute "fontVariationSettings" has already been defined

What do I need to do to fix these errors, and have the app run?

Mark Stuart

Carlos Gramaglia

New Member
Licensed User
Hi Mark Stuart, have you been able to find the solution to this problem?
The same thing is happening to me, I have updated some things but I can't find the solution.

any help will be welcome
Upvote 0