ihabsharaf Member Licensed User Longtime User Dec 29, 2016 #1 after update sdk i have many errors like this B4A version: 6.50 Parsing code. (0.08s) Compiling code. (0.89s) Compiling layouts code. (0.11s) Organizing libraries. (0.00s) Generating R file. Error j:\dev\develop_android\drv\tools\additionalresources\md-app\res\values\styles.xml:7: error: Error: No resource found that matches the given name: attr 'colorAccent'. j:\dev\develop_android\drv\tools\additionalresources\md-app\res\values\styles.xml:5: error: Error: No resource found that matches the given name: attr 'colorPrimary'. j:\dev\develop_android\drv\tools\additionalresources\md-app\res\values\styles.xml:6: error: Error: No resource found that matches the given name: attr 'colorPrimaryDark'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:22: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.NoActionBar'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:29: error: Error: No resource found that matches the given name: attr 'colorAccent'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:27: error: Error: No resource found that matches the given name: attr 'colorPrimary'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:28: error: Error: No resource found that matches the given name: attr 'colorPrimaryDark'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:24: error: Error: No resource found that matches the given name: attr 'drawerArrowStyle'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:55: error: Error: No resource found that matches the given name: attr 'windowActionBar'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v11\styles.xml:30: error: Error: No resource found that matches the given name: attr 'windowActionBar'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v21\styles.xml:18: error: Error: No resource found that matches the given name: attr 'windowActionBar'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:61: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.DrawerArrowToggle'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:63: error: Error: No resource found that matches the given name: attr 'color'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:62: error: Error: No resource found that matches the given name: attr 'spinBars'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:68: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.NoActionBar'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:75: error: Error: No resource found that matches the given name: attr 'colorAccent'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:73: error: Error: No resource found that matches the given name: attr 'colorPrimary'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:74: error: Error: No resource found that matches the given name: attr 'colorPrimaryDark'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:70: error: Error: No resource found that matches the given name: attr 'drawerArrowStyle'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:101: error: Error: No resource found that matches the given name: attr 'windowActionBar'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v11\styles.xml:44: error: Error: No resource found that matches the given name: attr 'windowActionBar'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v21\styles.xml:44: error: Error: No resource found that matches the given name: attr 'windowActionBar'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:107: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.DrawerArrowToggle'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:109: error: Error: No resource found that matches the given name: attr 'color'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:108: error: Error: No resource found that matches the given name: attr 'spinBars'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:114: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:124: error: Error: No resource found that matches the given name: attr 'colorAccent'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:122: error: Error: No resource found that matches the given name: attr 'colorPrimary'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:123: error: Error: No resource found that matches the given name: attr 'colorPrimaryDark'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:118: error: Error: No resource found that matches the given name: attr 'drawerArrowStyle'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:119: error: Error: No resource found that matches the given name: attr 'theme'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:115: error: Error: No resource found that matches the given name: attr 'windowActionBar'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:150: error: Error: No resource found that matches the given name: attr 'windowActionBar'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v11\styles.xml:60: error: Error: No resource found that matches the given name: attr 'windowActionBar'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v21\styles.xml:70: error: Error: No resource found that matches the given name: attr 'windowActionBar'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v11\styles.xml:65: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Dialog'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v11\styles.xml:68: error: Error: No resource found that matches the given name: attr 'colorAccent'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v11\styles.xml:66: error: Error: No resource found that matches the given name: attr 'colorPrimary'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v11\styles.xml:67: error: Error: No resource found that matches the given name: attr 'colorPrimaryDark'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v11\styles.xml:74: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.Dialog'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v11\styles.xml:77: error: Error: No resource found that matches the given name: attr 'colorAccent'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v11\styles.xml:75: error: Error: No resource found that matches the given name: attr 'colorPrimary'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v11\styles.xml:76: error: Error: No resource found that matches the given name: attr 'colorPrimaryDark'. i don't understand what happen
after update sdk i have many errors like this B4A version: 6.50 Parsing code. (0.08s) Compiling code. (0.89s) Compiling layouts code. (0.11s) Organizing libraries. (0.00s) Generating R file. Error j:\dev\develop_android\drv\tools\additionalresources\md-app\res\values\styles.xml:7: error: Error: No resource found that matches the given name: attr 'colorAccent'. j:\dev\develop_android\drv\tools\additionalresources\md-app\res\values\styles.xml:5: error: Error: No resource found that matches the given name: attr 'colorPrimary'. j:\dev\develop_android\drv\tools\additionalresources\md-app\res\values\styles.xml:6: error: Error: No resource found that matches the given name: attr 'colorPrimaryDark'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:22: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.NoActionBar'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:29: error: Error: No resource found that matches the given name: attr 'colorAccent'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:27: error: Error: No resource found that matches the given name: attr 'colorPrimary'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:28: error: Error: No resource found that matches the given name: attr 'colorPrimaryDark'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:24: error: Error: No resource found that matches the given name: attr 'drawerArrowStyle'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:55: error: Error: No resource found that matches the given name: attr 'windowActionBar'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v11\styles.xml:30: error: Error: No resource found that matches the given name: attr 'windowActionBar'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v21\styles.xml:18: error: Error: No resource found that matches the given name: attr 'windowActionBar'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:61: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.DrawerArrowToggle'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:63: error: Error: No resource found that matches the given name: attr 'color'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:62: error: Error: No resource found that matches the given name: attr 'spinBars'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:68: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.NoActionBar'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:75: error: Error: No resource found that matches the given name: attr 'colorAccent'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:73: error: Error: No resource found that matches the given name: attr 'colorPrimary'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:74: error: Error: No resource found that matches the given name: attr 'colorPrimaryDark'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:70: error: Error: No resource found that matches the given name: attr 'drawerArrowStyle'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:101: error: Error: No resource found that matches the given name: attr 'windowActionBar'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v11\styles.xml:44: error: Error: No resource found that matches the given name: attr 'windowActionBar'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v21\styles.xml:44: error: Error: No resource found that matches the given name: attr 'windowActionBar'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:107: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.DrawerArrowToggle'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:109: error: Error: No resource found that matches the given name: attr 'color'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:108: error: Error: No resource found that matches the given name: attr 'spinBars'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:114: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:124: error: Error: No resource found that matches the given name: attr 'colorAccent'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:122: error: Error: No resource found that matches the given name: attr 'colorPrimary'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:123: error: Error: No resource found that matches the given name: attr 'colorPrimaryDark'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:118: error: Error: No resource found that matches the given name: attr 'drawerArrowStyle'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:119: error: Error: No resource found that matches the given name: attr 'theme'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:115: error: Error: No resource found that matches the given name: attr 'windowActionBar'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values\styles.xml:150: error: Error: No resource found that matches the given name: attr 'windowActionBar'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v11\styles.xml:60: error: Error: No resource found that matches the given name: attr 'windowActionBar'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v21\styles.xml:70: error: Error: No resource found that matches the given name: attr 'windowActionBar'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v11\styles.xml:65: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Dialog'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v11\styles.xml:68: error: Error: No resource found that matches the given name: attr 'colorAccent'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v11\styles.xml:66: error: Error: No resource found that matches the given name: attr 'colorPrimary'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v11\styles.xml:67: error: Error: No resource found that matches the given name: attr 'colorPrimaryDark'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v11\styles.xml:74: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.Dialog'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v11\styles.xml:77: error: Error: No resource found that matches the given name: attr 'colorAccent'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v11\styles.xml:75: error: Error: No resource found that matches the given name: attr 'colorPrimary'. j:\dev\develop_android\drv\tools\additionalresources\md-lib\res\values-v11\styles.xml:76: error: Error: No resource found that matches the given name: attr 'colorPrimaryDark'. i don't understand what happen
asales Expert Licensed User Longtime User Dec 29, 2016 #2 Try to set a more recent version of android.jar (of SDK) in "Tools - Configure Paths". Upvote 0
ihabsharaf Member Licensed User Longtime User Dec 31, 2016 #3 thank you for your replay path is correct Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 1, 2017 #4 Based on the error message you are using an old version of android.jar. Upvote 0
ihabsharaf Member Licensed User Longtime User Jan 1, 2017 #5 C:\Users\ehab\AppData\Local\Android\android-sdk\platforms\android-25\android.jar every thing before update sdk is ok Upvote 0
C:\Users\ehab\AppData\Local\Android\android-sdk\platforms\android-25\android.jar every thing before update sdk is ok
ihabsharaf Member Licensed User Longtime User Jan 1, 2017 #6 now all open project not working its a nightmare Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 2, 2017 #7 Delete Android SDK and install it again. Make sure to install it outside of Program Files. Upvote 0