B4A Library ParsBottomSheetBuilder

mshafiee110

Active Member
Licensed User
Last edited:

HAH

Active Member
Licensed User
I got this error on compiling ..
B4A Version: 9.00
Parsing code. (0.01s)
Building folders structure. (0.03s)
Compiling code. (0.02s)

ObfuscatorMap.txt file created in Objects folder.
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
Generating R file. Error
C:\Android\tools\..\extras\b4a_local\unpacked-parsbottomsheetbuilder-63691106938000\res\values\values.xml:24: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.Design.BottomSheet.Modal'.
C:\Android\tools\..\extras\b4a_local\unpacked-parsbottomsheetbuilder-63691106938000\res\values\values.xml:26: error: Error: No resource found that matches the given name: attr 'behavior_hideable'.
C:\Android\tools\..\extras\b4a_local\unpacked-parsbottomsheetbuilder-63691106938000\res\values\values.xml:27: error: Error: No resource found that matches the given name: attr 'behavior_skipCollapsed'.
C:\Android\tools\..\extras\b4a_local\unpacked-parsbottomsheetbuilder-63691106938000\res\values\values.xml:29: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Design.BottomSheetDialog'.
C:\Android\tools\..\extras\b4a_local\unpacked-parsbottomsheetbuilder-63691106938000\res\values\values.xml:30: error: Error: No resource found that matches the given name: attr 'bottomSheetStyle'.
res\values\theme.xml:3: error: Error retrieving parent for item: No resource found that matches the given name '@style/Theme.AppCompat.Light.DarkActionBar'.
res\values\theme.xml:6: error: Error: No resource found that matches the given name: attr 'colorAccent'.
res\values\theme.xml:4: error: Error: No resource found that matches the given name: attr 'colorPrimary'.
res\values\theme.xml:5: error: Error: No resource found that matches the given name: attr 'colorPrimaryDark'.
res\values\theme.xml:10: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Design.Light.BottomSheetDialog'.
res\values\theme.xml:11: error: Error: No resource found that matches the given name: attr 'bottomSheetStyle'.
res\values\theme.xml:14: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.Design.BottomSheet.Modal'.
res\values\theme.xml:15: error: Error: No resource found that matches the given name: attr 'behavior_hideable'.
res\values\theme.xml:16: error: Error: No resource found that matches the given name: attr 'behavior_skipCollapsed'.
 

jimmyF

Active Member
Licensed User
You need to reference the DesignSupport library.
It's weird that the IDE says it is not used but compilation definitely depends on it.
 

jimmyF

Active Member
Licensed User

mshafiee110

Active Member
Licensed User
I got this error on compiling ..
B4A Version: 9.00
Parsing code. (0.01s)
Building folders structure. (0.03s)
Compiling code. (0.02s)

ObfuscatorMap.txt file created in Objects folder.
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
Generating R file. Error
C:\Android\tools\..\extras\b4a_local\unpacked-parsbottomsheetbuilder-63691106938000\res\values\values.xml:24: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.Design.BottomSheet.Modal'.
C:\Android\tools\..\extras\b4a_local\unpacked-parsbottomsheetbuilder-63691106938000\res\values\values.xml:26: error: Error: No resource found that matches the given name: attr 'behavior_hideable'.
C:\Android\tools\..\extras\b4a_local\unpacked-parsbottomsheetbuilder-63691106938000\res\values\values.xml:27: error: Error: No resource found that matches the given name: attr 'behavior_skipCollapsed'.
C:\Android\tools\..\extras\b4a_local\unpacked-parsbottomsheetbuilder-63691106938000\res\values\values.xml:29: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Design.BottomSheetDialog'.
C:\Android\tools\..\extras\b4a_local\unpacked-parsbottomsheetbuilder-63691106938000\res\values\values.xml:30: error: Error: No resource found that matches the given name: attr 'bottomSheetStyle'.
res\values\theme.xml:3: error: Error retrieving parent for item: No resource found that matches the given name '@style/Theme.AppCompat.Light.DarkActionBar'.
res\values\theme.xml:6: error: Error: No resource found that matches the given name: attr 'colorAccent'.
res\values\theme.xml:4: error: Error: No resource found that matches the given name: attr 'colorPrimary'.
res\values\theme.xml:5: error: Error: No resource found that matches the given name: attr 'colorPrimaryDark'.
res\values\theme.xml:10: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Design.Light.BottomSheetDialog'.
res\values\theme.xml:11: error: Error: No resource found that matches the given name: attr 'bottomSheetStyle'.
res\values\theme.xml:14: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.Design.BottomSheet.Modal'.
res\values\theme.xml:15: error: Error: No resource found that matches the given name: attr 'behavior_hideable'.
res\values\theme.xml:16: error: Error: No resource found that matches the given name: attr 'behavior_skipCollapsed'.
https://www.b4x.com/android/forum/t...nal-material-design-components.58893/#content
you must use this lib ...
 
Top