I am building a wrap for Tapkey.
Getting help from Erel i was able to come further in this but then i needed to add some more dependencies.
Namely
I now ran into new errors.
As far i can see it is because the Tapkey library is most probably using the Androidx Support-Libraries. Due to this i need to use them too (i read something similar in internet). There is also a guide for the Migration:
https://developer.android.com/jetpack/androidx/migrate
But i´m lost here as i don´t know what to do here to fix the problem.
Getting help from Erel i was able to come further in this but then i needed to add some more dependencies.
Namely
B4X:
#AdditionalJar: Tapkey.MobileLib-1.15.12.0.aar
#AdditionalJar: TapKey2.jar
#AdditionalJar: gson-2.8.5.jar
#AdditionalJar: Tapkey.SharedLib-1.15.12.0.aar
#AdditionalJar: auth0-1.15.1.aar
#AdditionalJar: okhttp-2.7.5.jar
#AdditionalJar: okio-1.11.0.jar
#AdditionalJar: androidx.core:core
#AdditionalJar: androidx.lifecycle:lifecycle-viewmodel
I now ran into new errors.
B4A Version: 9.01.2
Java Version: 11
Parsing code. (0.00s)
Building folders structure. (0.01s)
Compiling code. (0.01s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
Generating R file. Error
e:\android\tools\..\extras\b4a_remote\com\android\support\support-compat\28.0.0\unpacked-support-compat-28.0.0\res\values\values.xml:36: error: Attribute "fontProviderFetchStrategy" already defined with incompatible format.
e:\android\tools\..\extras\b4a_remote\androidx\core\core\1.0.2\unpacked-core-1.0.2\res\values\values.xml:42: Original attribute defined here.
e:\android\tools\..\extras\b4a_remote\com\android\support\support-compat\28.0.0\unpacked-support-compat-28.0.0\res\values\values.xml:51: error: Attribute "fontProviderFetchTimeout" already defined with incompatible format.
e:\android\tools\..\extras\b4a_remote\androidx\core\core\1.0.2\unpacked-core-1.0.2\res\values\values.xml:54: Original attribute defined here.
e:\android\tools\..\extras\b4a_remote\com\android\support\support-compat\28.0.0\unpacked-support-compat-28.0.0\res\values\values.xml:61: error: Attribute "fontStyle" already defined with incompatible format.
e:\android\tools\..\extras\b4a_remote\androidx\core\core\1.0.2\unpacked-core-1.0.2\res\values\values.xml:62: Original attribute defined here.
E:\Android\tools\..\extras\b4a_local\unpacked-auth0-1.15.1-63693366686862\res\layout\com_auth0_activity_web_auth.xml:38: error: Error: No resource found that matches the given name (at 'style' with value '@style/Widget.AppCompat.ProgressBar.Horizontal').
As far i can see it is because the Tapkey library is most probably using the Androidx Support-Libraries. Due to this i need to use them too (i read something similar in internet). There is also a guide for the Migration:
https://developer.android.com/jetpack/androidx/migrate
But i´m lost here as i don´t know what to do here to fix the problem.
Last edited: