pusher-channels-flutter
pusher-channels-flutter copied to clipboard
Failed to BUILD in last version 2024 Flutter
PS C:\Users\samir\OneDrive\Desktop\Nova pasta (4)\ProjectoCOPMOZ\copmoz> flutter build apk
Font asset "MaterialIcons-Regular.otf" was tree-shaken, reducing it from 1645184 to 4320 bytes (99.7% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app. e: C:/Users/samir/OneDrive/Desktop/Nova pasta (4)/ProjectoCOPMOZ/copmoz/build/device_info_plus/.transforms/2aa35394328ea228c97e88131ce8de47/transformed/out/jars/classes.jar!/META-INF/device_info_plus_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. e: C:/Users/samir/OneDrive/Desktop/Nova pasta (4)/ProjectoCOPMOZ/copmoz/build/file_saver/.transforms/330549d858e9fdb2f7ce460ee3b46d9c/transformed/out/jars/classes.jar!/META-INF/file_saver_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. e: C:/Users/samir/OneDrive/Desktop/Nova pasta (4)/ProjectoCOPMOZ/copmoz/build/pusher_channels_flutter/.transforms/9b4a7e9d66c534622ea66ecffb607591/transformed/out/jars/classes.jar!/META-INF/pusher_channels_flutter_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. e: C:/Users/samir/OneDrive/Desktop/Nova pasta (4)/ProjectoCOPMOZ/copmoz/build/shared_preferences_android/.transforms/ea678782f3590a8abfb67e009ebfc949/transformed/out/jars/classes.jar!/META-INF/shared_preferences_android_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. e: C:/Users/samir/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.9.23/dbaadea1f5e68f790d242a91a38355a83ec38747/kotlin-stdlib-1.9.23.jar!/META-INF/kotlin-stdlib.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. e: C:/Users/samir/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.9.23/dbaadea1f5e68f790d242a91a38355a83ec38747/kotlin-stdlib-1.9.23.jar!/META-INF/kotlin-stdlib-jdk8.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. e: C:/Users/samir/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.9.23/dbaadea1f5e68f790d242a91a38355a83ec38747/kotlin-stdlib-1.9.23.jar!/META-INF/kotlin-stdlib-jdk7.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':pusher_channels_flutter:verifyReleaseResources'.
A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action Android resource linking failed ERROR:C:\Users\samir\OneDrive\Desktop\Nova pasta (4)\ProjectoCOPMOZ\copmoz\build\pusher_channels_flutter\intermediates\merged_res\release\values\values.xml:194: AAPT: error: resource android:attr/lStar 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
BUILD FAILED in 37s Running Gradle task 'assembleRelease'... 37,9s
┌─ Flutter Fix ──────────────────────────────────────────────────────────────────────────────────────────┐
│ [!] Your project requires a newer version of the Kotlin Gradle plugin. │
│ Find the latest version on https://kotlinlang.org/docs/releases.html#release-details, then update the │
│ version number of the plugin with id "org.jetbrains.kotlin.android" in the plugins block of │
│ C:\Users\samir\OneDrive\Desktop\Nova pasta (4)\ProjectoCOPMOZ\copmoz\android\settings.gradle. │
│ │
│ Alternatively (if your project was created before Flutter 3.19), update │
│ C:\Users\samir\OneDrive\Desktop\Nova pasta (4)\ProjectoCOPMOZ\copmoz\android\build.gradle │
│ ext.kotlin_version = '