Android Tutorial Compile Error

Ronald Berardinis

Member
Licensed User
When I try to compile the Android program I get the following error.

Maven artifact not found: androidx.viewpager2/viewpager2


B4A Version: 9.80
Java Version: 8
Parsing code. (1.38s)
Building folders structure. (0.06s)
Compiling code. (3.81s)
Compiling layouts code. (0.11s)
Organizing libraries. Error
Maven artifact not found: androidx.viewpager2/viewpager2

what would need to be done to fix.
I installed current version of Java.
 

Ronald Berardinis

Member
Licensed User
I was able to get past the error above.
I installed newer version of android studio.
Then installed from C:\Android\tools\bin\sdkmanager.bat the androidx.viewpager2/viewpager2.
I check to the right and installed.

now I am getting this error.

Generating R file. Error
c:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.1.0\unpacked-material-1.1.0\res\values\values.xml:1027: error: Error: No resource found that matches the given name: attr 'android:dialogCornerRadius'.

Is this another library not loaded?
 
Top