Android Question [SOLVED] Errors when trying to compile

Peter Lewis

Active Member
Licensed User
Longtime User
Hi All

I loaded up a library which was billscan that worked in December perfectly but now i want to use it and B4A mentions i needed additional items added from the SDK Which I have the latested installed.. I went thru the sdk and added these new items and now I get this error on all programs within Android. The only way i could resolve this was to re-install the SDK.

Any ideas ?

Here is the error

This is where it all started

Organizing libraries. Error
Maven artifact not found: androidx.annotation/annotation-experimental

and I have tried to run Jetifier but that did not help
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0

Peter Lewis

Active Member
Licensed User
Longtime User

I DELETE the Android SDK , and installed the Latest version of the SDK again and I still get the same problem

[IDE message - 10:30:09]
An error occurred.
Maven artifact not found: androidx.annotation/annotation-experimental

Now if I download the update for this I will get the same error back in Message #1, I have done this at least 10 times and still no luck

Here is the project file if you want to see if it works on your system

Thank you
 

Attachments

  • scandemo.zip
    10 KB · Views: 184
  • billscannerlib.zip
    6.1 KB · Views: 175
Upvote 0

Peter Lewis

Active Member
Licensed User
Longtime User
Hi , I managed to get it to work.

I had to run B4A in Administrator mode, then do a Jetifier on the Billscan jar. I also reinstalled Java and also Android SDK , SDK I have to install the Experimental Version of Annotation and it installed many other items as well. I had to also install androidx.viewpager2:viewpager2. I then went into The paths and setup Android 30
View attachment 108098

And that seemed to solve the problems
 
Upvote 0

Xfood

Expert
Licensed User
Longtime User
On version 10.70 gives me this problem,
Does anyone have any idea to solve it?

 
Upvote 0

Johan Schoeman

Expert
Licensed User
Longtime User
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…