Android Question Suddenly getting compile error : AnimRes is defined multiple times


Active Member
Licensed User
Longtime User
Just came back from holiday and continuing work on an app, and I`m suddenly getting a compile error:

B4A Version: 11.80
Parsing code.    (0.16s)
    Java Version: 11
Building folders structure.    (0.40s)
Running custom action.    (0.06s)
Compiling code.    (0.29s)
Compiling layouts code.    (0.04s)
Organizing libraries.    (0.05s)
    (AndroidX SDK)
Compiling resources    (0.75s)
Linking resources    (0.58s)
Compiling generated Java code.    (3.78s)
Finding libraries that need to be dexed.    (0.03s)
Dex code    (5.12s)
Dex merge    Error
Error in C:\android-sdk\tools\..\extras\b4a_local\unpacked-android-support-annotations.androidx-63712613100439\dex_v1\
Type androidx.annotation.AnimRes is defined multiple times: C:\android-sdk\tools\..\extras\b4a_local\unpacked-android-support-annotations.androidx-63712613100439\dex_v1\, c:\android-sdk\tools\..\extras\b4a_remote\androidx\annotation\annotation\1.5.0\
Compilation failed

I`m running B4A 11.80, and have attached a copy of all the libraries I`m using (they are all up to date...)

Any advice would be appreciated.



  • Capture.PNG
    39.3 KB · Views: 86