creativedrewy/NATIV

EthereumNFT error: resource _ not found.

Closed this issue · 5 comments

7-- commented
~/AndroidStudioProjects/NATIV-X/EthereumNFT$ gradle assemble

> Configure project :app
ComposeOptions.kotlinCompilerVersion is deprecated. Compose now uses the kotlin compiler defined in your buildscript.
WARNING:Using flatDir should be avoided because it doesn't support any meta-data formats.

> Configure project :EthereumNFT
WARNING:Using flatDir should be avoided because it doesn't support any meta-data formats.

> Configure project :HarmonyOneNFT
WARNING:Using flatDir should be avoided because it doesn't support any meta-data formats.

> Configure project :solana
WARNING:Using flatDir should be avoided because it doesn't support any meta-data formats.

> Configure project :SolanaNFT
WARNING:Using flatDir should be avoided because it doesn't support any meta-data formats.

> Task :EthereumNFT:verifyReleaseResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':EthereumNFT:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
   > Android resource linking failed
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:3:5-94: AAPT: error: resource android:color/system_neutral1_1000 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:4:5-94: AAPT: error: resource android:color/system_neutral1_900 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:5:5-93: AAPT: error: resource android:color/system_neutral1_0 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:6:5-94: AAPT: error: resource android:color/system_neutral1_800 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:7:5-94: AAPT: error: resource android:color/system_neutral1_700 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:8:5-94: AAPT: error: resource android:color/system_neutral1_600 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:9:5-94: AAPT: error: resource android:color/system_neutral1_500 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:10:5-94: AAPT: error: resource android:color/system_neutral1_400 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:11:5-94: AAPT: error: resource android:color/system_neutral1_300 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:12:5-94: AAPT: error: resource android:color/system_neutral1_200 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:13:5-94: AAPT: error: resource android:color/system_neutral1_100 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:14:5-93: AAPT: error: resource android:color/system_neutral1_50 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:15:5-93: AAPT: error: resource android:color/system_neutral1_10 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:16:5-102: AAPT: error: resource android:color/system_neutral2_1000 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:17:5-102: AAPT: error: resource android:color/system_neutral2_900 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:18:5-101: AAPT: error: resource android:color/system_neutral2_0 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:19:5-102: AAPT: error: resource android:color/system_neutral2_800 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:20:5-102: AAPT: error: resource android:color/system_neutral2_700 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:21:5-102: AAPT: error: resource android:color/system_neutral2_600 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:22:5-102: 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 8.0.

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

See https://docs.gradle.org/7.4.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 3s
54 actionable tasks: 1 executed, 53 up-to-date
7-- commented

getting this error now

> Task :EthereumNFT:generateDebugRFile FAILED
> Task :HarmonyOneNFT:generateDebugRFile FAILED

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':EthereumNFT:generateDebugRFile'.
> A failure occurred while executing com.android.build.gradle.internal.res.GenerateLibraryRFileTask$GenerateLibRFileRunnable
   > /home/phil/.gradle/caches/transforms-3/68c05033ab41eec50227123c3a71b068/transformed/androidx.core.ktx-r.txt

* 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.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':HarmonyOneNFT:generateDebugRFile'.
> A failure occurred while executing com.android.build.gradle.internal.res.GenerateLibraryRFileTask$GenerateLibRFileRunnable
   > /home/phil/.gradle/caches/transforms-3/68c05033ab41eec50227123c3a71b068/transformed/androidx.core.ktx-r.txt

* 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 8.0.

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

See https://docs.gradle.org/7.4.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 2s

What version of Android studio are you using? Did you upgrade gradle or the wrapper on the project? I recently cloned & ran with Android Studio Chipmunk with the default supplied dependencies and it worked.

7-- commented

I can build the app folder in gradle but the root folder isn't building. Only thing I changed was this because my terminal is case sensitive.
image

Cloning into 'NATIV'...
remote: Enumerating objects: 3560, done.
remote: Counting objects: 100% (457/457), done.
remote: Compressing objects: 100% (113/113), done.
remote: Total 3560 (delta 189), reused 407 (delta 159), pack-reused 3103
Receiving objects: 100% (3560/3560), 10.43 MiB | 19.64 MiB/s, done.
Resolving deltas: 100% (1668/1668), done.
phil@phil-ThinkPad-X260:~/StudioProjects$ cd NATIV/
phil@phil-ThinkPad-X260:~/StudioProjects/NATIV$ git submodule init
Submodule 'SolanaKt' (https://github.com/ajamaica/Solana.kt.git) registered for path 'SolanaKt'
phil@phil-ThinkPad-X260:~/StudioProjects/NATIV$ git submodule update
Cloning into '/home/phil/StudioProjects/NATIV/SolanaKt'...
Submodule path 'SolanaKt': checked out '3b27030a757da7df3da4ad879f932bbb7a1c4437'
phil@phil-ThinkPad-X260:~/StudioProjects/NATIV$ vim settings.gradle 
phil@phil-ThinkPad-X260:~/StudioProjects/NATIV$ cd app/
phil@phil-ThinkPad-X260:~/StudioProjects/NATIV/app$ gradle assemble

> Configure project :app
ComposeOptions.kotlinCompilerVersion is deprecated. Compose now uses the kotlin compiler defined in your buildscript.
WARNING:Using flatDir should be avoided because it doesn't support any meta-data formats.

> Configure project :EthereumNFT
WARNING:Using flatDir should be avoided because it doesn't support any meta-data formats.

> Configure project :HarmonyOneNFT
WARNING:Using flatDir should be avoided because it doesn't support any meta-data formats.

> Configure project :solana
WARNING:Using flatDir should be avoided because it doesn't support any meta-data formats.

> Configure project :SolanaNFT
WARNING:Using flatDir should be avoided because it doesn't support any meta-data formats.

> Task :EthereumNFT:kaptDebugKotlin
warning: The following options were not recognized by any processor: '[dagger.hilt.android.internal.disableAndroidSuperclassValidation, dagger.hilt.internal.useAggregatingRootProcessor, kapt.kotlin.generated]'

> Task :HarmonyOneNFT:kaptDebugKotlin
warning: The following options were not recognized by any processor: '[dagger.hilt.android.internal.disableAndroidSuperclassValidation, dagger.hilt.internal.useAggregatingRootProcessor, kapt.kotlin.generated]'

> Task :solana:compileDebugKotlin
'compileDebugJavaWithJavac' task (current target is 1.8) and 'compileDebugKotlin' task (current target is 1.6) jvm target compatibility should be set to the same Java version.
w: JVM target 1.6 is deprecated and will be removed in a future release. Please migrate to JVM target 1.8 or above
w: /home/phil/StudioProjects/NATIV/SolanaKt/solana/src/main/java/com/solana/models/buffer/Buffer.kt: (15, 36): Unchecked cast: Any to List<String>
w: /home/phil/StudioProjects/NATIV/SolanaKt/solana/src/main/java/com/solana/networking/NetworkingRouter.kt: (66, 31): 'create(MediaType?, String): RequestBody' is deprecated. Moved to extension function. Put the 'content' argument first to fix Java
w: /home/phil/StudioProjects/NATIV/SolanaKt/solana/src/main/java/com/solana/vendor/TokensListParser.kt: (32, 46): Type mismatch: inferred type is String? but String was expected
w: /home/phil/StudioProjects/NATIV/SolanaKt/solana/src/main/java/com/solana/vendor/borshj/BorshBuffer.kt: (106, 48): Type mismatch: inferred type is ByteArray? but ByteArray was expected
w: /home/phil/StudioProjects/NATIV/SolanaKt/solana/src/main/java/com/solana/vendor/borshj/BorshInput.kt: (181, 43): Type mismatch: value of a nullable type T is used where non-nullable type is expected. This warning will become an error soon. See https://youtrack.jetbrains.com/issue/KT-36770 for details

> Task :app:stripDebugDebugSymbols
Unable to strip the following libraries, packaging them as they are: libfilament-jni.so, libfilament-utils-jni.so, libgltfio-jni.so.

> Task :EthereumNFT:kaptReleaseKotlin
warning: The following options were not recognized by any processor: '[dagger.hilt.android.internal.disableAndroidSuperclassValidation, dagger.hilt.internal.useAggregatingRootProcessor, kapt.kotlin.generated]'

> Task :app:kaptDebugKotlin
/home/phil/StudioProjects/NATIV/app/build/tmp/kapt3/stubs/debug/com/creativedrewy/nativ/database/AppDatabase.java:7: warning: Schema export directory is not provided to the annotation processor so we cannot export the schema. You can either provide `room.schemaLocation` annotation processor argument OR set exportSchema to false.
public abstract class AppDatabase extends androidx.room.RoomDatabase {
                ^

> Task :app:compileDebugKotlin
w: ATTENTION!
This build uses unsafe internal compiler arguments:

-XXLanguage:+NonParenthesizedAnnotationsOnFunctionalTypes

This mode is not recommended for production use,
as no stability/compatibility guarantees are given on
compiler or generated code. Use it at your own risk!

w: /home/phil/StudioProjects/NATIV/app/src/main/java/com/creativedrewy/nativ/activity/MainActivity.kt: (26, 6): This class can only be used with the compiler argument '-opt-in=kotlin.RequiresOptIn'
w: /home/phil/StudioProjects/NATIV/app/src/main/java/com/creativedrewy/nativ/theme/Theme.kt: (41, 5): Parameter 'darkTheme' is never used
w: /home/phil/StudioProjects/NATIV/app/src/main/java/com/creativedrewy/nativ/ui/AddAddressPanel.kt: (37, 2): This class can only be used with the compiler argument '-opt-in=kotlin.RequiresOptIn'
w: /home/phil/StudioProjects/NATIV/app/src/main/java/com/creativedrewy/nativ/ui/AddressListScreen.kt: (20, 2): This class can only be used with the compiler argument '-opt-in=kotlin.RequiresOptIn'
w: /home/phil/StudioProjects/NATIV/app/src/main/java/com/creativedrewy/nativ/ui/AppScaffolding.kt: (47, 2): This class can only be used with the compiler argument '-opt-in=kotlin.RequiresOptIn'
w: /home/phil/StudioProjects/NATIV/app/src/main/java/com/creativedrewy/nativ/ui/AppScaffolding.kt: (212, 2): This class can only be used with the compiler argument '-opt-in=kotlin.RequiresOptIn'
w: /home/phil/StudioProjects/NATIV/app/src/main/java/com/creativedrewy/nativ/ui/AssetViewerVisuals.kt: (42, 38): 'SimpleExoPlayer' is deprecated. Deprecated in Java
w: /home/phil/StudioProjects/NATIV/app/src/main/java/com/creativedrewy/nativ/ui/AssetViewerVisuals.kt: (128, 13): 'SimpleExoPlayer' is deprecated. Deprecated in Java
w: /home/phil/StudioProjects/NATIV/app/src/main/java/com/creativedrewy/nativ/ui/AssetViewerVisuals.kt: (128, 29): 'constructor Builder(Context)' is deprecated. Deprecated in Java
w: /home/phil/StudioProjects/NATIV/app/src/main/java/com/creativedrewy/nativ/ui/AssetViewerVisuals.kt: (128, 29): 'Builder' is deprecated. Deprecated in Java
w: /home/phil/StudioProjects/NATIV/app/src/main/java/com/creativedrewy/nativ/ui/AssetViewerVisuals.kt: (128, 46): 'build(): SimpleExoPlayer' is deprecated. Deprecated in Java

> Task :HarmonyOneNFT:kaptReleaseKotlin
warning: The following options were not recognized by any processor: '[dagger.hilt.android.internal.disableAndroidSuperclassValidation, dagger.hilt.internal.useAggregatingRootProcessor, kapt.kotlin.generated]'

> Task :solana:compileReleaseKotlin
'compileReleaseJavaWithJavac' task (current target is 1.8) and 'compileReleaseKotlin' task (current target is 1.6) jvm target compatibility should be set to the same Java version.
w: JVM target 1.6 is deprecated and will be removed in a future release. Please migrate to JVM target 1.8 or above
w: /home/phil/StudioProjects/NATIV/SolanaKt/solana/src/main/java/com/solana/models/buffer/Buffer.kt: (15, 36): Unchecked cast: Any to List<String>
w: /home/phil/StudioProjects/NATIV/SolanaKt/solana/src/main/java/com/solana/networking/NetworkingRouter.kt: (66, 31): 'create(MediaType?, String): RequestBody' is deprecated. Moved to extension function. Put the 'content' argument first to fix Java
w: /home/phil/StudioProjects/NATIV/SolanaKt/solana/src/main/java/com/solana/vendor/TokensListParser.kt: (32, 46): Type mismatch: inferred type is String? but String was expected
w: /home/phil/StudioProjects/NATIV/SolanaKt/solana/src/main/java/com/solana/vendor/borshj/BorshBuffer.kt: (106, 48): Type mismatch: inferred type is ByteArray? but ByteArray was expected
w: /home/phil/StudioProjects/NATIV/SolanaKt/solana/src/main/java/com/solana/vendor/borshj/BorshInput.kt: (181, 43): Type mismatch: value of a nullable type T is used where non-nullable type is expected. This warning will become an error soon. See https://youtrack.jetbrains.com/issue/KT-36770 for details

> Task :app:stripReleaseDebugSymbols
Unable to strip the following libraries, packaging them as they are: libfilament-jni.so, libfilament-utils-jni.so, libgltfio-jni.so.

> Task :app:extractReleaseNativeSymbolTables
Unable to extract native debug metadata from /home/phil/StudioProjects/NATIV/app/build/intermediates/merged_native_libs/release/out/lib/armeabi-v7a/libfilament-jni.so because unable to locate the objcopy executable for the armeabi-v7a ABI.
Unable to extract native debug metadata from /home/phil/StudioProjects/NATIV/app/build/intermediates/merged_native_libs/release/out/lib/armeabi-v7a/libfilament-utils-jni.so because unable to locate the objcopy executable for the armeabi-v7a ABI.
Unable to extract native debug metadata from /home/phil/StudioProjects/NATIV/app/build/intermediates/merged_native_libs/release/out/lib/armeabi-v7a/libgltfio-jni.so because unable to locate the objcopy executable for the armeabi-v7a ABI.
Unable to extract native debug metadata from /home/phil/StudioProjects/NATIV/app/build/intermediates/merged_native_libs/release/out/lib/x86_64/libfilament-jni.so because unable to locate the objcopy executable for the x86_64 ABI.
Unable to extract native debug metadata from /home/phil/StudioProjects/NATIV/app/build/intermediates/merged_native_libs/release/out/lib/x86_64/libfilament-utils-jni.so because unable to locate the objcopy executable for the x86_64 ABI.
Unable to extract native debug metadata from /home/phil/StudioProjects/NATIV/app/build/intermediates/merged_native_libs/release/out/lib/x86_64/libgltfio-jni.so because unable to locate the objcopy executable for the x86_64 ABI.
Unable to extract native debug metadata from /home/phil/StudioProjects/NATIV/app/build/intermediates/merged_native_libs/release/out/lib/arm64-v8a/libfilament-jni.so because unable to locate the objcopy executable for the arm64-v8a ABI.
Unable to extract native debug metadata from /home/phil/StudioProjects/NATIV/app/build/intermediates/merged_native_libs/release/out/lib/arm64-v8a/libfilament-utils-jni.so because unable to locate the objcopy executable for the arm64-v8a ABI.
Unable to extract native debug metadata from /home/phil/StudioProjects/NATIV/app/build/intermediates/merged_native_libs/release/out/lib/arm64-v8a/libgltfio-jni.so because unable to locate the objcopy executable for the arm64-v8a ABI.
Unable to extract native debug metadata from /home/phil/StudioProjects/NATIV/app/build/intermediates/merged_native_libs/release/out/lib/x86/libfilament-jni.so because unable to locate the objcopy executable for the x86 ABI.
Unable to extract native debug metadata from /home/phil/StudioProjects/NATIV/app/build/intermediates/merged_native_libs/release/out/lib/x86/libfilament-utils-jni.so because unable to locate the objcopy executable for the x86 ABI.
Unable to extract native debug metadata from /home/phil/StudioProjects/NATIV/app/build/intermediates/merged_native_libs/release/out/lib/x86/libgltfio-jni.so because unable to locate the objcopy executable for the x86 ABI.

> Task :app:kaptReleaseKotlin
/home/phil/StudioProjects/NATIV/app/build/tmp/kapt3/stubs/release/com/creativedrewy/nativ/database/AppDatabase.java:7: warning: Schema export directory is not provided to the annotation processor so we cannot export the schema. You can either provide `room.schemaLocation` annotation processor argument OR set exportSchema to false.
public abstract class AppDatabase extends androidx.room.RoomDatabase {
                ^

> Task :app:compileReleaseKotlin
w: ATTENTION!
This build uses unsafe internal compiler arguments:

-XXLanguage:+NonParenthesizedAnnotationsOnFunctionalTypes

This mode is not recommended for production use,
as no stability/compatibility guarantees are given on
compiler or generated code. Use it at your own risk!

w: /home/phil/StudioProjects/NATIV/app/src/main/java/com/creativedrewy/nativ/activity/MainActivity.kt: (26, 6): This class can only be used with the compiler argument '-opt-in=kotlin.RequiresOptIn'
w: /home/phil/StudioProjects/NATIV/app/src/main/java/com/creativedrewy/nativ/theme/Theme.kt: (41, 5): Parameter 'darkTheme' is never used
w: /home/phil/StudioProjects/NATIV/app/src/main/java/com/creativedrewy/nativ/ui/AddAddressPanel.kt: (37, 2): This class can only be used with the compiler argument '-opt-in=kotlin.RequiresOptIn'
w: /home/phil/StudioProjects/NATIV/app/src/main/java/com/creativedrewy/nativ/ui/AddressListScreen.kt: (20, 2): This class can only be used with the compiler argument '-opt-in=kotlin.RequiresOptIn'
w: /home/phil/StudioProjects/NATIV/app/src/main/java/com/creativedrewy/nativ/ui/AppScaffolding.kt: (47, 2): This class can only be used with the compiler argument '-opt-in=kotlin.RequiresOptIn'
w: /home/phil/StudioProjects/NATIV/app/src/main/java/com/creativedrewy/nativ/ui/AppScaffolding.kt: (212, 2): This class can only be used with the compiler argument '-opt-in=kotlin.RequiresOptIn'
w: /home/phil/StudioProjects/NATIV/app/src/main/java/com/creativedrewy/nativ/ui/AssetViewerVisuals.kt: (42, 38): 'SimpleExoPlayer' is deprecated. Deprecated in Java
w: /home/phil/StudioProjects/NATIV/app/src/main/java/com/creativedrewy/nativ/ui/AssetViewerVisuals.kt: (128, 13): 'SimpleExoPlayer' is deprecated. Deprecated in Java
w: /home/phil/StudioProjects/NATIV/app/src/main/java/com/creativedrewy/nativ/ui/AssetViewerVisuals.kt: (128, 29): 'constructor Builder(Context)' is deprecated. Deprecated in Java
w: /home/phil/StudioProjects/NATIV/app/src/main/java/com/creativedrewy/nativ/ui/AssetViewerVisuals.kt: (128, 29): 'Builder' is deprecated. Deprecated in Java
w: /home/phil/StudioProjects/NATIV/app/src/main/java/com/creativedrewy/nativ/ui/AssetViewerVisuals.kt: (128, 46): 'build(): SimpleExoPlayer' is deprecated. Deprecated in Java

> Task :app:minifyReleaseWithR8
WARNING:Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in /home/phil/StudioProjects/NATIV/app/build/outputs/mapping/release/missing_rules.txt.

WARNING:R8: Missing class org.bouncycastle.jsse.BCSSLParameters (referenced from: void okhttp3.internal.platform.BouncyCastlePlatform.configureTlsExtensions(javax.net.ssl.SSLSocket, java.lang.String, java.util.List) and 1 other context)
Missing class org.bouncycastle.jsse.BCSSLSocket (referenced from: void okhttp3.internal.platform.BouncyCastlePlatform.configureTlsExtensions(javax.net.ssl.SSLSocket, java.lang.String, java.util.List) and 5 other contexts)
Missing class org.bouncycastle.jsse.provider.BouncyCastleJsseProvider (referenced from: void okhttp3.internal.platform.BouncyCastlePlatform.<init>())
Missing class org.conscrypt.Conscrypt$Version (referenced from: boolean okhttp3.internal.platform.ConscryptPlatform$Companion.atLeastVersion(int, int, int))
Missing class org.conscrypt.Conscrypt (referenced from: boolean okhttp3.internal.platform.ConscryptPlatform$Companion.atLeastVersion(int, int, int) and 4 other contexts)
Missing class org.conscrypt.ConscryptHostnameVerifier (referenced from: okhttp3.internal.platform.ConscryptPlatform$DisabledHostnameVerifier)
Missing class org.openjsse.javax.net.ssl.SSLParameters (referenced from: void okhttp3.internal.platform.OpenJSSEPlatform.configureTlsExtensions(javax.net.ssl.SSLSocket, java.lang.String, java.util.List))
Missing class org.openjsse.javax.net.ssl.SSLSocket (referenced from: void okhttp3.internal.platform.OpenJSSEPlatform.configureTlsExtensions(javax.net.ssl.SSLSocket, java.lang.String, java.util.List) and 1 other context)
Missing class org.openjsse.net.ssl.OpenJSSE (referenced from: void okhttp3.internal.platform.OpenJSSEPlatform.<init>())
Missing class org.slf4j.impl.StaticLoggerBinder (referenced from: void org.slf4j.LoggerFactory.bind() and 3 other contexts)

> Task :app:lintVitalRelease
No issues found.

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

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

See https://docs.gradle.org/7.4.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 2m 23s
308 actionable tasks: 308 executed
phil@phil-ThinkPad-X260:~/StudioProjects/NATIV/app$ cd ../
phil@phil-ThinkPad-X260:~/StudioProjects/NATIV$ gradle assemble

> Configure project :app
ComposeOptions.kotlinCompilerVersion is deprecated. Compose now uses the kotlin compiler defined in your buildscript.
WARNING:Using flatDir should be avoided because it doesn't support any meta-data formats.

> Configure project :EthereumNFT
WARNING:Using flatDir should be avoided because it doesn't support any meta-data formats.

> Configure project :HarmonyOneNFT
WARNING:Using flatDir should be avoided because it doesn't support any meta-data formats.

> Configure project :solana
WARNING:Using flatDir should be avoided because it doesn't support any meta-data formats.

> Configure project :SolanaNFT
WARNING:Using flatDir should be avoided because it doesn't support any meta-data formats.

> Task :EthereumNFT:verifyReleaseResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':EthereumNFT:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
   > Android resource linking failed
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:3:5-94: AAPT: error: resource android:color/system_neutral1_1000 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:4:5-94: AAPT: error: resource android:color/system_neutral1_900 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:5:5-93: AAPT: error: resource android:color/system_neutral1_0 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:6:5-94: AAPT: error: resource android:color/system_neutral1_800 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:7:5-94: AAPT: error: resource android:color/system_neutral1_700 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:8:5-94: AAPT: error: resource android:color/system_neutral1_600 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:9:5-94: AAPT: error: resource android:color/system_neutral1_500 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:10:5-94: AAPT: error: resource android:color/system_neutral1_400 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:11:5-94: AAPT: error: resource android:color/system_neutral1_300 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:12:5-94: AAPT: error: resource android:color/system_neutral1_200 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:13:5-94: AAPT: error: resource android:color/system_neutral1_100 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:14:5-93: AAPT: error: resource android:color/system_neutral1_50 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:15:5-93: AAPT: error: resource android:color/system_neutral1_10 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:16:5-102: AAPT: error: resource android:color/system_neutral2_1000 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:17:5-102: AAPT: error: resource android:color/system_neutral2_900 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:18:5-101: AAPT: error: resource android:color/system_neutral2_0 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:19:5-102: AAPT: error: resource android:color/system_neutral2_800 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:20:5-102: AAPT: error: resource android:color/system_neutral2_700 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:21:5-102: AAPT: error: resource android:color/system_neutral2_600 not found.
         
     ERROR:/home/phil/.gradle/caches/transforms-3/370ecbbfcf244fcd67200dfb63fc2eda/transformed/material-1.5.0/res/values-v31/values-v31.xml:22:5-102: 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 8.0.

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

See https://docs.gradle.org/7.4.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 4s
327 actionable tasks: 20 executed, 307 up-to-date

image

If you could, try this: first delete the .idea/ folder in the root of the project. Then after ensuring the git submodule is there, reopen the project in Android Studio - open from the root directory and be sure to select the build.gradle file, not just the directory. Let me know if that works!

7-- commented

Oh good it's working. Thank you. I was opening the app directory in Android Studio. Another app wouldnt work for me when I tried the root directory.

image