Android Question Linking resources Error [SOLVED]

mczubel

Member
Licensed User
Longtime User
Hi
1000 times sorry to bother but I'm with the same error.
where I can find SDK version number??
I have downloaded and installed all new following the steps one by one but nothing seems to work.
It's an old application that I want to compile.
I have B4A files from 2012(libraries and other files)
thank so much and sorry again
 

mczubel

Member
Licensed User
Longtime User
 

Attachments

  • Captura de pantalla (26).png
    258.2 KB · Views: 174
Upvote 0

mczubel

Member
Licensed User
Longtime User
What's your exact error message. We only have your interpretation that it is the same.
Did you use 7-Zip to unzip the SDK?
B4A Version: 11.80
Parsing code. (0.21s)
Java Version: 11
Building folders structure. (0.03s)
Compiling code. (0.20s)
Compiling layouts code. (0.02s)
Organizing libraries. (0.00s)
(AndroidX SDK)
Compiling resources (0.11s)
Linking resources Error
c:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.1\unpacked-material-1.6.1\res\values-v31\values-v31.xml:3: error: resource android:color/system_neutral1_1000 not found.
c:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.1\unpacked-material-1.6.1\res\values-v31\values-v31.xml:4: error: resource android:color/system_neutral1_900 not found.
c:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.1\unpacked-material-1.6.1\res\values-v31\values-v31.xml:5: error: resource android:color/system_neutral1_0 not found.
c:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.1\unpacked-material-1.6.1\res\values-v31\values-v31.xml:6: error: resource android:color/system_neutral1_800 not found.
c:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.1\unpacked-material-1.6.1\res\values-v31\values-v31.xml:7: error: resource android:color/system_neutral1_700 not found.
c:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.1\unpacked-material-1.6.1\res\values-v31\values-v31.xml:8: error: resource android:color/system_neutral1_600 not found.
c:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.1\unpacked-material-1.6.1\res\values-v31\values-v31.xml:9: error: resource android:color/system_neutral1_500 not found.
c:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.1\unpacked-material-1.6.1\res\values-v31\values-v31.xml:10: error: resource android:color/system_neutral1_400 not found.
c:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.1\unpacked-material-1.6.1\res\values-v31\values-v31.xml:11: error: resource android:color/system_neutral1_300 not found.
c:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.1\unpacked-material-1.6.1\res\values-v31\values-v31.xml:12: error: resource android:color/system_neutral1_200 not found.
c:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.1\unpacked-material-1.6.1\res\values-v31\values-v31.xml:13: error: resource android:color/system_neutral1_100 not found.
c:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.1\unpacked-material-1.6.1\res\values-v31\values-v31.xml:14: error: resource android:color/system_neutral1_50 not found.
c:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.1\unpacked-material-1.6.1\res\values-v31\values-v31.xml:15: error: resource android:color/system_neutral1_10 not found.
c:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.1\unpacked-material-1.6.1\res\values-v31\values-v31.xml:16: error: resource android:color/system_neutral2_1000 not found.
c:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.1\unpacked-material-1.6.1\res\values-v31\values-v31.xml:17: error: resource android:color/system_neutral2_900 not found.
c:\android\tools\..\extras\b4a_remote\com\google\android\material\material\1.6.1\unpacked-material-1.6.1\res\values-v31\values-v31.xml:18: error: resource android:color/system_neutral2_0 not found.



Yes, I used 7-zip
 
Upvote 0

mczubel

Member
Licensed User
Longtime User
SOLVED
 
Upvote 0

mczubel

Member
Licensed User
Longtime User
Delete all, start from 0 and NOT install material-1.6.0 from SDK-manager. That was my mistake.
Inside downloaded folder: resources 06-21 contains material-1.2.0 (C:\Android\extras\b4a_remote\com\google\android\material\material\1.2.0) and work perfect.
 
Upvote 0

mczubel

Member
Licensed User
Longtime User
As the installation instructions said.
Exactly, but I have an old application with a module service working in background with bluetooth
connection that stopped working compiled with sdk 30. I needed to downgrade to sdk 28 with andoidx . Couldn't resolve bluetooth connection in Service.StartForeground(nid, CreateNotification("...")). Was destroyed with the activity. In that journey I installed (mistakenly) material-1.6.0
 
Upvote 0

MathewAzmat

New Member
 
Upvote 0

MathewAzmat

New Member
I'm getting this error
> Task :rn-amazon-payment-services:verifyReleaseResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':rn-amazon-payment-services:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
> Android resource linking failed
ERROR: /Users/mac/Desktop/Projetcs/mobile-app/node_modules/rn-amazon-payment-services/android/build/intermediates/merged_res/release/values-v31/values-v31.xml:3: AAPT: error: resource android:color/system_neutral1_1000 not found.

ERROR: /Users/mac/Desktop/Projetcs/mobile-app/node_modules/rn-amazon-payment-services/android/build/intermediates/merged_res/release/values-v31/values-v31.xml:4: AAPT: error: resource android:color/system_neutral1_900 not found.

ERROR: /Users/mac/Desktop/Projetcs/mobile-app/node_modules/rn-amazon-payment-services/android/build/intermediates/merged_res/release/values-v31/values-v31.xml:5: AAPT: error: resource android:color/system_neutral1_0 not found.

ERROR: /Users/mac/Desktop/Projetcs/mobile-app/node_modules/rn-amazon-payment-services/android/build/intermediates/merged_res/release/values-v31/values-v31.xml:6: AAPT: error: resource android:color/system_neutral1_800 not found.

ERROR: /Users/mac/Desktop/Projetcs/mobile-app/node_modules/rn-amazon-payment-services/android/build/intermediates/merged_res/release/values-v31/values-v31.xml:7: AAPT: error: resource android:color/system_neutral1_700 not found.

ERROR: /Users/mac/Desktop/Projetcs/mobile-app/node_modules/rn-amazon-payment-services/android/build/intermediates/merged_res/release/values-v31/values-v31.xml:8: AAPT: error: resource android:color/system_neutral1_600 not found.

ERROR: /Users/mac/Desktop/Projetcs/mobile-app/node_modules/rn-amazon-payment-services/android/build/intermediates/merged_res/release/values-v31/values-v31.xml:9: AAPT: error: resource android:color/system_neutral1_500 not found.

ERROR: /Users/mac/Desktop/Projetcs/mobile-app/node_modules/rn-amazon-payment-services/android/build/intermediates/merged_res/release/values-v31/values-v31.xml:10: AAPT: error: resource android:color/system_neutral1_400 not found.

ERROR: /Users/mac/Desktop/Projetcs/mobile-app/node_modules/rn-amazon-payment-services/android/build/intermediates/merged_res/release/values-v31/values-v31.xml:11: AAPT: error: resource android:color/system_neutral1_300 not found.

ERROR: /Users/mac/Desktop/Projetcs/mobile-appe/node_modules/rn-amazon-payment-services/android/build/intermediates/merged_res/release/values-v31/values-v31.xml:12: AAPT: error: resource android:color/system_neutral1_200 not found.

ERROR: /Users/mac/Desktop/Projetcs/mobile-app/node_modules/rn-amazon-payment-services/android/build/intermediates/merged_res/release/values-v31/values-v31.xml:13: AAPT: error: resource android:color/system_neutral1_100 not found.

ERROR: /Users/mac/Desktop/Projetcs/mobile-appe/node_modules/rn-amazon-payment-services/android/build/intermediates/merged_res/release/values-v31/values-v31.xml:14: AAPT: error: resource android:color/system_neutral1_50 not found.

ERROR: /Users/mac/Desktop/Projetcs/mobile-app/node_modules/rn-amazon-payment-services/android/build/intermediates/merged_res/release/values-v31/values-v31.xml:15: AAPT: error: resource android:color/system_neutral1_10 not found.

ERROR: /Users/mac/Desktop/Projetcs/mobile-app/node_modules/rn-amazon-payment-services/android/build/intermediates/merged_res/release/values-v31/values-v31.xml:16: AAPT: error: resource android:color/system_neutral2_1000 not found.

ERROR: /Users/mac/Desktop/Projetcs/3mobile-app/node_modules/rn-amazon-payment-services/android/build/intermediates/merged_res/release/values-v31/values-v31.xml:17: AAPT: error: resource android:color/system_neutral2_900 not found.

ERROR: /Users/mac/Desktop/Projetcs/mobile-app/node_modules/rn-amazon-payment-services/android/build/intermediates/merged_res/release/values-v31/values-v31.xml:18: AAPT: error: resource android:color/system_neutral2_0 not found.

ERROR: /Users/mac/Desktop/Projetcs/mobile-app/node_modules/rn-amazon-payment-services/android/build/intermediates/merged_res/release/values-v31/values-v31.xml:19: AAPT: error: resource android:color/system_neutral2_800 not found.

ERROR: /Users/mac/Desktop/Projetcs/mobile-app/node_modules/rn-amazon-payment-services/android/build/intermediates/merged_res/release/values-v31/values-v31.xml:20: AAPT: error: resource android:color/system_neutral2_700 not found.

ERROR: /Users/mac/Desktop/Projetcs/mobile-app/node_modules/rn-amazon-payment-services/android/build/intermediates/merged_res/release/values-v31/values-v31.xml:21: AAPT: error: resource android:color/system_neutral2_600 not found.

ERROR: /Users/mac/Desktop/Projetcs/mobile-app/node_modules/rn-amazon-payment-services/android/build/intermediates/merged_res/release/values-v31/values-v31.xml:22: AAPT: error: resource android:color/system_neutral2_500 not found.


* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…