J Jhohann Fabian Salazar L Member Licensed User Oct 30, 2019 #1 when I compile the project, I get these errors and I have no idea what it is: c:\android\tools\..\extras\b4a_remote\androidx\coordinatorlayout\coordinatorlayout\1.0.0\unpacked-coordinatorlayout-1.0.0\res\values\values.xml:28: error: Attribute "layout_anchorGravity" already defined with incompatible format. c:\android\tools\..\extras\b4a_remote\com\android\support\coordinatorlayout\28.0.0\unpacked-coordinatorlayout-28.0.0\res\values\values.xml:30: Original attribute defined here. c:\android\tools\..\extras\b4a_remote\androidx\coordinatorlayout\coordinatorlayout\1.0.0\unpacked-coordinatorlayout-1.0.0\res\values\values.xml:67: error: Attribute "layout_insetEdge" already defined with incompatible format. c:\android\tools\..\extras\b4a_remote\com\android\support\coordinatorlayout\28.0.0\unpacked-coordinatorlayout-28.0.0\res\values\values.xml:67: Original attribute defined here. c:\android\tools\..\extras\b4a_remote\androidx\coordinatorlayout\coordinatorlayout\1.0.0\unpacked-coordinatorlayout-1.0.0\res\values\values.xml:84: error: Attribute "layout_dodgeInsetEdges" already defined with incompatible format. c:\android\tools\..\extras\b4a_remote\com\android\support\coordinatorlayout\28.0.0\unpacked-coordinatorlayout-28.0.0\res\values\values.xml:86: Original attribute defined here. c:\android\tools\..\extras\b4a_remote\androidx\core\core\1.0.2\unpacked-core-1.0.2\res\values\values.xml:36: error: Attribute "fontProviderFetchStrategy" already defined with incompatible format. c:\android\tools\..\extras\b4a_remote\com\android\support\support-compat\28.0.0\unpacked-support-compat-28.0.0\res\values\values.xml:42: Original attribute defined here. c:\android\tools\..\extras\b4a_remote\androidx\core\core\1.0.2\unpacked-core-1.0.2\res\values\values.xml:51: error: Attribute "fontProviderFetchTimeout" already defined with incompatible format. c:\android\tools\..\extras\b4a_remote\com\android\support\support-compat\28.0.0\unpacked-support-compat-28.0.0\res\values\values.xml:54: Original attribute defined here. c:\android\tools\..\extras\b4a_remote\androidx\core\core\1.0.2\unpacked-core-1.0.2\res\values\values.xml:61: error: Attribute "fontStyle" already defined with incompatible format. c:\android\tools\..\extras\b4a_remote\com\android\support\support-compat\28.0.0\unpacked-support-compat-28.0.0\res\values\values.xml:62: Original attribute defined here.
when I compile the project, I get these errors and I have no idea what it is: c:\android\tools\..\extras\b4a_remote\androidx\coordinatorlayout\coordinatorlayout\1.0.0\unpacked-coordinatorlayout-1.0.0\res\values\values.xml:28: error: Attribute "layout_anchorGravity" already defined with incompatible format. c:\android\tools\..\extras\b4a_remote\com\android\support\coordinatorlayout\28.0.0\unpacked-coordinatorlayout-28.0.0\res\values\values.xml:30: Original attribute defined here. c:\android\tools\..\extras\b4a_remote\androidx\coordinatorlayout\coordinatorlayout\1.0.0\unpacked-coordinatorlayout-1.0.0\res\values\values.xml:67: error: Attribute "layout_insetEdge" already defined with incompatible format. c:\android\tools\..\extras\b4a_remote\com\android\support\coordinatorlayout\28.0.0\unpacked-coordinatorlayout-28.0.0\res\values\values.xml:67: Original attribute defined here. c:\android\tools\..\extras\b4a_remote\androidx\coordinatorlayout\coordinatorlayout\1.0.0\unpacked-coordinatorlayout-1.0.0\res\values\values.xml:84: error: Attribute "layout_dodgeInsetEdges" already defined with incompatible format. c:\android\tools\..\extras\b4a_remote\com\android\support\coordinatorlayout\28.0.0\unpacked-coordinatorlayout-28.0.0\res\values\values.xml:86: Original attribute defined here. c:\android\tools\..\extras\b4a_remote\androidx\core\core\1.0.2\unpacked-core-1.0.2\res\values\values.xml:36: error: Attribute "fontProviderFetchStrategy" already defined with incompatible format. c:\android\tools\..\extras\b4a_remote\com\android\support\support-compat\28.0.0\unpacked-support-compat-28.0.0\res\values\values.xml:42: Original attribute defined here. c:\android\tools\..\extras\b4a_remote\androidx\core\core\1.0.2\unpacked-core-1.0.2\res\values\values.xml:51: error: Attribute "fontProviderFetchTimeout" already defined with incompatible format. c:\android\tools\..\extras\b4a_remote\com\android\support\support-compat\28.0.0\unpacked-support-compat-28.0.0\res\values\values.xml:54: Original attribute defined here. c:\android\tools\..\extras\b4a_remote\androidx\core\core\1.0.2\unpacked-core-1.0.2\res\values\values.xml:61: error: Attribute "fontStyle" already defined with incompatible format. c:\android\tools\..\extras\b4a_remote\com\android\support\support-compat\28.0.0\unpacked-support-compat-28.0.0\res\values\values.xml:62: Original attribute defined here.
DonManfred Expert Licensed User Longtime User Oct 30, 2019 #2 which version of b4a are you using? Did you jetified all libraries? Last edited: Oct 31, 2019 Upvote 0
J Jhohann Fabian Salazar L Member Licensed User Oct 31, 2019 #3 Yes, apparently the error occurs with the RuntimePermissions library Upvote 0
DonManfred Expert Licensed User Longtime User Oct 31, 2019 #4 The error has nothing to do with runtimepermissions library! Please answer my questions. Hard to help without an answer. Upvote 0
The error has nothing to do with runtimepermissions library! Please answer my questions. Hard to help without an answer.
J Jhohann Fabian Salazar L Member Licensed User Oct 31, 2019 #5 I am working with the latest version of b4a. I don't understand jetified. I'm sorry. Upvote 0
DonManfred Expert Licensed User Longtime User Oct 31, 2019 #6 DonManfred said: Did you jetified all libraries? Click to expand... Follow the link and jetify your libraries... Upvote 0
DonManfred said: Did you jetified all libraries? Click to expand... Follow the link and jetify your libraries...
H Hamied Abou Hulaikah Well-Known Member Licensed User Longtime User Oct 31, 2019 #7 I was facing your problem; You'll got a lot of problems misguide you. 1- make sure that your additional libraries is not the b4a libraries folder (make another folder in c:\ root directly is better not inside programs folder, then from tools > configure paths > set/select it in additional libraries field) 2- as mr @DonManfred said you should select from b4a menu > tools > jetifier(androidX) > click refresh button then click jetify button Upvote 0
I was facing your problem; You'll got a lot of problems misguide you. 1- make sure that your additional libraries is not the b4a libraries folder (make another folder in c:\ root directly is better not inside programs folder, then from tools > configure paths > set/select it in additional libraries field) 2- as mr @DonManfred said you should select from b4a menu > tools > jetifier(androidX) > click refresh button then click jetify button
J Jhohann Fabian Salazar L Member Licensed User Oct 31, 2019 #8 I don't get the jetifier option Upvote 0
DonManfred Expert Licensed User Longtime User Oct 31, 2019 #9 If you have B4A 9.5 then it is Tools->Jetifier (AndroidX) If you do not have this Option then you are not using the newest B4A i fear. Upvote 0
If you have B4A 9.5 then it is Tools->Jetifier (AndroidX) If you do not have this Option then you are not using the newest B4A i fear.