Hi,
After a long time, I am trying to recompile one of my existing applications using B4A 11.50.
Whwn I try to comile the B4A application it is showing the following compilation errors. I searched for similar errors reported in this forum, but all of those errors are for the resources inside their respective projects. In my case, as per the error message, the error is from the resources inside the Android SDK path.
Here is the error message
B4A Version: 11.50
Parsing code. (0.18s)
Java Version: 11
Building folders structure. (0.02s)
Compiling code. (0.22s)
Compiling layouts code. (0.01s)
Organizing libraries. (0.00s)
(AndroidX SDK)
Compiling resources (0.05s)
Linking resources Error
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:3: error: resource android:color/system_neutral1_1000 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:4: error: resource android:color/system_neutral1_900 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:5: error: resource android:color/system_neutral1_0 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:6: error: resource android:color/system_neutral1_800 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:7: error: resource android:color/system_neutral1_700 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:8: error: resource android:color/system_neutral1_600 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:9: error: resource android:color/system_neutral1_500 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:10: error: resource android:color/system_neutral1_400 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:11: error: resource android:color/system_neutral1_300 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:12: error: resource android:color/system_neutral1_200 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:13: error: resource android:color/system_neutral1_100 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:14: error: resource android:color/system_neutral1_50 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:15: error: resource android:color/system_neutral1_10 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:16: error: resource android:color/system_neutral2_1000 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:17: error: resource android:color/system_neutral2_900 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:18: error: resource android:color/system_neutral2_0 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:19: error: resource android:color/system_neutral2_800 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:20: error: resource android:color/system_neutral2_700 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:21: error: resource android:color/system_neutral2_600 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:22: error: resource android:color/system_neutral2_500 not found.
Any help will be appreciated.
In my Main, I have the below-given declarations
After a long time, I am trying to recompile one of my existing applications using B4A 11.50.
Whwn I try to comile the B4A application it is showing the following compilation errors. I searched for similar errors reported in this forum, but all of those errors are for the resources inside their respective projects. In my case, as per the error message, the error is from the resources inside the Android SDK path.
Here is the error message
B4A Version: 11.50
Parsing code. (0.18s)
Java Version: 11
Building folders structure. (0.02s)
Compiling code. (0.22s)
Compiling layouts code. (0.01s)
Organizing libraries. (0.00s)
(AndroidX SDK)
Compiling resources (0.05s)
Linking resources Error
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:3: error: resource android:color/system_neutral1_1000 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:4: error: resource android:color/system_neutral1_900 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:5: error: resource android:color/system_neutral1_0 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:6: error: resource android:color/system_neutral1_800 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:7: error: resource android:color/system_neutral1_700 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:8: error: resource android:color/system_neutral1_600 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:9: error: resource android:color/system_neutral1_500 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:10: error: resource android:color/system_neutral1_400 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:11: error: resource android:color/system_neutral1_300 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:12: error: resource android:color/system_neutral1_200 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:13: error: resource android:color/system_neutral1_100 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:14: error: resource android:color/system_neutral1_50 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:15: error: resource android:color/system_neutral1_10 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:16: error: resource android:color/system_neutral2_1000 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:17: error: resource android:color/system_neutral2_900 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:18: error: resource android:color/system_neutral2_0 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:19: error: resource android:color/system_neutral2_800 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:20: error: resource android:color/system_neutral2_700 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:21: error: resource android:color/system_neutral2_600 not found.
d:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.0\unpacked-material-1.6.0\res\values-v31\values-v31.xml:22: error: resource android:color/system_neutral2_500 not found.
Any help will be appreciated.
In my Main, I have the below-given declarations
B4X:
#Region Project Attributes
#ApplicationLabel: MyAppName
#VersionCode: 1
#VersionName: 0.03
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: unspecified
#CanInstallToExternalStorage: False
#MultiDex: True
#End Region
#Region Activity Attributes
#FullScreen: False
#IncludeTitle: True
#End Region
#Extends: android.support.v7.app.AppCompatActivity
#AdditionalJar: mysql-connector-java-8.0.17
#BridgeLogger: True
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
End Sub