rgarnett1955 Active Member Licensed User Longtime User Sep 12, 2017 #1 Hi, I am getting the following compile error ... Convert byte code - optimized dex. Error Uncaught translation error: java.lang.IllegalArgumentException: already added: Lanywheresoftware/b4a/objects/R; Uncaught translation error: java.lang.IllegalArgumentException: already added: Lanywheresoftware/b4a/objects/R$styleable; 2 errors; aborting There is obviously a problem with multiple libraries or something. I have spent four hours trying to work out how to fix, but without success. How do you determine what libraries/classes/modules are causing the problem. I have included the project in a zip. Regards Rob Attachments eFence1.01_3.zip eFence1.01_3.zip 357.4 KB · Views: 311
Hi, I am getting the following compile error ... Convert byte code - optimized dex. Error Uncaught translation error: java.lang.IllegalArgumentException: already added: Lanywheresoftware/b4a/objects/R; Uncaught translation error: java.lang.IllegalArgumentException: already added: Lanywheresoftware/b4a/objects/R$styleable; 2 errors; aborting There is obviously a problem with multiple libraries or something. I have spent four hours trying to work out how to fix, but without success. How do you determine what libraries/classes/modules are causing the problem. I have included the project in a zip. Regards Rob
Erel B4X founder Staff member Licensed User Longtime User Sep 12, 2017 #2 It seems to be related to CircularProgressBar library: https://www.b4x.com/android/forum/threads/circularprogress.76243/#content Use this class instead: https://www.b4x.com/android/forum/threads/b4x-custom-view-circularprogressbar.81604/#content Upvote 0
It seems to be related to CircularProgressBar library: https://www.b4x.com/android/forum/threads/circularprogress.76243/#content Use this class instead: https://www.b4x.com/android/forum/threads/b4x-custom-view-circularprogressbar.81604/#content