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

james_sgp

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:

B4X:
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\android-support-annotations.zip:classes.dex:
Type androidx.annotation.AnimRes is defined multiple times: C:\android-sdk\tools\..\extras\b4a_local\unpacked-android-support-annotations.androidx-63712613100439\dex_v1\android-support-annotations.zip:classes.dex, c:\android-sdk\tools\..\extras\b4a_remote\androidx\annotation\annotation\1.5.0\annotation-1.5.0.zip:classes.dex
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.

James
 

Attachments

  • Capture.PNG
    Capture.PNG
    39.3 KB · Views: 151
Top