S sareban Member Jul 26, 2020 #1 Hi How can I fix this Error? Generating R file. Error ..\res\layout\view_alert_view.xml:1: error: No resource identifier found for attribute 'cardBackgroundColor' in package 'com.sharedppp.org' ..\res\layout\view_alert_view.xml:1: error: No resource identifier found for attribute 'cardCornerRadius' in package 'com.sharedppp.org' ..\res\layout\view_alert_view.xml:1: error: No resource identifier found for attribute 'cardElevation' in package 'com.sharedppp.org' ..\res\layout\view_alert_view.xml:1: error: No resource identifier found for attribute 'cardPreventCornerOverlap' in package 'com.sharedppp.org' ..\res\layout\view_alert_view.xml:1: error: No resource identifier found for attribute 'cardUseCompatPadding' in package 'com.sharedppp.org' ..\res\layout\view_alert_view.xml:1: error: No resource identifier found for attribute 'contentPadding' in package 'com.sharedppp.org' ..\res\layout\view_alert_view.xml:1: error: Error: No resource found that matches the given name (at 'cardBackgroundColor' with value '@Color/cardview_light_background').
Hi How can I fix this Error? Generating R file. Error ..\res\layout\view_alert_view.xml:1: error: No resource identifier found for attribute 'cardBackgroundColor' in package 'com.sharedppp.org' ..\res\layout\view_alert_view.xml:1: error: No resource identifier found for attribute 'cardCornerRadius' in package 'com.sharedppp.org' ..\res\layout\view_alert_view.xml:1: error: No resource identifier found for attribute 'cardElevation' in package 'com.sharedppp.org' ..\res\layout\view_alert_view.xml:1: error: No resource identifier found for attribute 'cardPreventCornerOverlap' in package 'com.sharedppp.org' ..\res\layout\view_alert_view.xml:1: error: No resource identifier found for attribute 'cardUseCompatPadding' in package 'com.sharedppp.org' ..\res\layout\view_alert_view.xml:1: error: No resource identifier found for attribute 'contentPadding' in package 'com.sharedppp.org' ..\res\layout\view_alert_view.xml:1: error: Error: No resource found that matches the given name (at 'cardBackgroundColor' with value '@Color/cardview_light_background').
Erel B4X founder Staff member Licensed User Longtime User Jul 26, 2020 #2 1. Moved to the questions forum. 2. Not enough information here to help you. Upvote 0
S sareban Member Jul 26, 2020 #3 I am wrapping a library that has resource these attributes are in resourse folder in layout folder when i use additionalres it happen AlertView-Android/alertview/src/main/res/layout/view_alert_view.xml at master · amspayam/AlertView-Android Android Library to show a beautiful Alert View. Contribute to amspayam/AlertView-Android development by creating an account on GitHub. github.com Last edited: Jul 26, 2020 Upvote 0
I am wrapping a library that has resource these attributes are in resourse folder in layout folder when i use additionalres it happen AlertView-Android/alertview/src/main/res/layout/view_alert_view.xml at master · amspayam/AlertView-Android Android Library to show a beautiful Alert View. Contribute to amspayam/AlertView-Android development by creating an account on GitHub. github.com
Johan Schoeman Expert Licensed User Longtime User Jul 29, 2020 #4 Have you created the R.java file that is B4A compliant and do you have the R.java file in the correct folder? Upvote 0
Have you created the R.java file that is B4A compliant and do you have the R.java file in the correct folder?
S sareban Member Jul 29, 2020 #5 Yes i created it with Rgenerator2 and copied it in that folder Upvote 0