Android Question [SOLVED] material_timepicker_dialog.xml:38: error: attribute barrierMargin

Myr0n

Active Member
Licensed User
Longtime User
Hello everybody,
since 8 hours ago I am trying to fix this error without success, somebody could help me please.

B4X:
B4A Version: 10.70
Parsing code.    (0.31s)
    Java Version: 11
Building folders structure.    (0.17s)
Running custom action.    (2.87s)
Compiling code.    (0.57s)
Compiling layouts code.    (0.01s)
Organizing libraries.    (0.00s)
    (AndroidX SDK)
Compiling resources    (0.99s)
Linking resources    Error
c:\android-sdk\tools\..\extras\b4a_remote\com\google\android\material\material\1.3.0\unpacked-material-1.3.0\res\layout\material_timepicker_dialog.xml:38: error: attribute barrierMargin (aka net.ccpa.hrv21:barrierMargin) not found.
error: failed linking file resources.
 

dar2o3

Active Member
Licensed User
Longtime User
The same problem, I have installed the new sdk and it has not been solved, has someone found the solution?
 
Upvote 0

Myr0n

Active Member
Licensed User
Longtime User
remove
'#AdditionalJar: com.android.support:design
not supported
Sorry,
I only have 2 addionalJar and 1 Extends are
B4X:
#AdditionalJar: com.android.support:support-v4
#AdditionalJar: com.android.support:support-compat
#Extends: android.support.v7.app.AppCompatActivity

I deleted and reinstalled the sdk and the problem persist.
 
Upvote 0

Myr0n

Active Member
Licensed User
Longtime User
As additional lib I have
DBUtils
DesignSupport
Dialogs
KeyValueStore
OkHttpUtils2

the rest are internal libraries
 
Upvote 0

Myr0n

Active Member
Licensed User
Longtime User
According to this post the DesignSupport is not compatible with AndroidX

I replace all the functionalities of DesignSupport with b4x libs and this solved my problem.

Thank you so much everybody.
 
Last edited:
Upvote 0
Top