• 06-05-2022, 01:29:37
    #1
    flutter ile yazılmıs projem var codecanyondan aldım burda bulid alırken hata alıyorum yardımcı olurmusunuz
  • 06-05-2022, 01:35:22
    #2
    aldığınız hatanın ekran görüntüsünü atarsanız yardımcı olmaya çalışırız.
  • 06-05-2022, 01:46:36
    #3
    Lecter41 adlı üyeden alıntı: mesajı görüntüle
    aldığınız hatanın ekran görüntüsünü atarsanız yardımcı olmaya çalışırız.
    Launching lib\main.dart on sdk gphone x86 in debug mode...
    Running Gradle task 'assembleDebug'...
    Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
    Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
    Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
    Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
    Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
    Parameter format not correct -
    e: Incompatible classes were found in dependencies. Remove them from the classpath or use '-Xskip-metadata-version-check' to suppress errors
    e: C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/68620f92bcc222439a3109c59a6b85b4/jetified-kotlin-stdlib-jdk8-1.5.30.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.5.1, expected version is 1.1.16.
    e: C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/8801aca6163f84c2f6a276cec2a09646/jetified-kotlin-stdlib-jdk7-1.5.30.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.5.1, expected version is 1.1.16.
    e: C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/895343051ee56ab38b17a43149170c5d/jetified-window-java-1.0.0-beta04-api.jar!/META-INF/window-java_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    e: C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/8b94675fc3dc66fe2f082c0170e22912/jetified-window-1.0.0-beta04-api.jar!/META-INF/window_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    e: C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/9836d35df421dfd6697d8d57a2b800fd/jetified-kotlin-stdlib-common-1.5.31.jar!/META-INF/kotlin-stdlib-common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    e: C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/b243b13544c60e8fefb7f833c0ff01ee/jetified-kotlinx-coroutines-core-jvm-1.5.2.jar!/META-INF/kotlinx-coroutines-core.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    e: C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/d4ab29ec19f94b9eadfbc8064c8b859c/jetified-kotlinx-coroutines-android-1.5.2.jar!/META-INF/kotlinx-coroutines-android.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    e: C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/META-INF/kotlin-stdlib.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\android\src\main\kotlin\creativemaybeno\wakelock\Wakelock.kt: (23, 5): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    The class is loaded from C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
    e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\android\src\main\kotlin\creativemaybeno\wakelock\Wakelock.kt: (24, 37): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    The class is loaded from C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
    e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\android\src\main\kotlin\creativemaybeno\wakelock\Wakelock.kt: (26, 23): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    The class is loaded from C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
    e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\android\src\main\kotlin\creativemaybeno\wakelock\Wakelock.kt: (36, 9): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    The class is loaded from C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
    e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\android\src\main\kotlin\creativemaybeno\wakelock\WakelockPlugin.kt: (16, 17): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    The class is loaded from C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
    e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\android\src\main\kotlin\creativemaybeno\wakelock\WakelockPlugin.kt: (17, 5): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    The class is loaded from C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
    e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\android\src\main\kotlin\creativemaybeno\wakelock\WakelockPlugin.kt: (21, 17): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    The class is loaded from C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
    e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\android\src\main\kotlin\creativemaybeno\wakelock\WakelockPlugin.kt: (22, 5): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    The class is loaded from C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
    e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\android\src\main\kotlin\creativemaybeno\wakelock\WakelockPlugin.kt: (26, 15): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    The class is loaded from C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
    e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\android\src\main\kotlin\creativemaybeno\wakelock\WakelockPlugin.kt: (30, 15): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    The class is loaded from C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
    e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\android\src\main\kotlin\creativemaybeno\wakelock\WakelockPlugin.kt: (34, 5): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    The class is loaded from C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
    e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\android\src\main\kotlin\creativemaybeno\wakelock\WakelockPlugin.kt: (38, 5): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    The class is loaded from C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
    e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\android\src\main\kotlin\creativemaybeno\wakelock\WakelockPlugin.kt: (42, 16): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    The class is loaded from C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':wakelock:compileDebugKotlin'.
    > Compilation error. See log for more details
    
    * 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
    
    BU�LD FAILED in 1m 26s
    
    ┌─ Flutter Fix ────────────────────────────────────────────────────────────────────────────────────┐
    │ [!] Your project requires a newer version of the Kotlin Gradle plugin.                           │
    │ Find the latest version on https://kotlinlang.org/docs/gradle.html#plugin-and-versions, then     │
    │ update C:\Users\Asus                                                                             │
    │ X550VX\Desktop\MainFile_Android_SourceCode\SourceCode\streamit_flutter_code\android\build.gradle │
    │ :                                                                                                │
    │ ext.kotlin_version = '<latest-version>'                                                          │
    └──────────────────────────────────────────────────────────────────────────────────────────────────┘
    Exception: Gradle task assembleDebug failed with exit code 1
  • 06-05-2022, 01:59:17
    #4
    DrothsTR adlı üyeden alıntı: mesajı görüntüle
    Launching lib\main.dart on sdk gphone x86 in debug mode...
    Running Gradle task 'assembleDebug'...
    Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
    Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
    Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
    Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
    Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
    Parameter format not correct -
    e: Incompatible classes were found in dependencies. Remove them from the classpath or use '-Xskip-metadata-version-check' to suppress errors
    e: C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/68620f92bcc222439a3109c59a6b85b4/jetified-kotlin-stdlib-jdk8-1.5.30.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.5.1, expected version is 1.1.16.
    e: C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/8801aca6163f84c2f6a276cec2a09646/jetified-kotlin-stdlib-jdk7-1.5.30.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.5.1, expected version is 1.1.16.
    e: C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/895343051ee56ab38b17a43149170c5d/jetified-window-java-1.0.0-beta04-api.jar!/META-INF/window-java_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    e: C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/8b94675fc3dc66fe2f082c0170e22912/jetified-window-1.0.0-beta04-api.jar!/META-INF/window_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    e: C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/9836d35df421dfd6697d8d57a2b800fd/jetified-kotlin-stdlib-common-1.5.31.jar!/META-INF/kotlin-stdlib-common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    e: C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/b243b13544c60e8fefb7f833c0ff01ee/jetified-kotlinx-coroutines-core-jvm-1.5.2.jar!/META-INF/kotlinx-coroutines-core.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    e: C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/d4ab29ec19f94b9eadfbc8064c8b859c/jetified-kotlinx-coroutines-android-1.5.2.jar!/META-INF/kotlinx-coroutines-android.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    e: C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/META-INF/kotlin-stdlib.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\android\src\main\kotlin\creativemaybeno\wakelock\Wakelock.kt: (23, 5): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    The class is loaded from C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
    e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\android\src\main\kotlin\creativemaybeno\wakelock\Wakelock.kt: (24, 37): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    The class is loaded from C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
    e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\android\src\main\kotlin\creativemaybeno\wakelock\Wakelock.kt: (26, 23): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    The class is loaded from C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
    e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\android\src\main\kotlin\creativemaybeno\wakelock\Wakelock.kt: (36, 9): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    The class is loaded from C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
    e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\android\src\main\kotlin\creativemaybeno\wakelock\WakelockPlugin.kt: (16, 17): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    The class is loaded from C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
    e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\android\src\main\kotlin\creativemaybeno\wakelock\WakelockPlugin.kt: (17, 5): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    The class is loaded from C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
    e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\android\src\main\kotlin\creativemaybeno\wakelock\WakelockPlugin.kt: (21, 17): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    The class is loaded from C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
    e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\android\src\main\kotlin\creativemaybeno\wakelock\WakelockPlugin.kt: (22, 5): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    The class is loaded from C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
    e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\android\src\main\kotlin\creativemaybeno\wakelock\WakelockPlugin.kt: (26, 15): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    The class is loaded from C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
    e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\android\src\main\kotlin\creativemaybeno\wakelock\WakelockPlugin.kt: (30, 15): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    The class is loaded from C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
    e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\android\src\main\kotlin\creativemaybeno\wakelock\WakelockPlugin.kt: (34, 5): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    The class is loaded from C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
    e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\android\src\main\kotlin\creativemaybeno\wakelock\WakelockPlugin.kt: (38, 5): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    The class is loaded from C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
    e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\android\src\main\kotlin\creativemaybeno\wakelock\WakelockPlugin.kt: (42, 16): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
    The class is loaded from C:/Users/Asus X550VX/.gradle/caches/transforms-2/files-2.1/ee86532a609abbcd1c5e6a303d0e796c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':wakelock:compileDebugKotlin'.
    > Compilation error. See log for more details
    
    * 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
    
    BU�LD FAILED in 1m 26s
    
    ┌─ Flutter Fix ────────────────────────────────────────────────────────────────────────────────────┐
    │ [!] Your project requires a newer version of the Kotlin Gradle plugin.                           │
    │ Find the latest version on https://kotlinlang.org/docs/gradle.html#plugin-and-versions, then     │
    │ update C:\Users\Asus                                                                             │
    │ X550VX\Desktop\MainFile_Android_SourceCode\SourceCode\streamit_flutter_code\android\build.gradle │
    │ :                                                                                                │
    │ ext.kotlin_version = '<latest-version>'                                                          │
    └──────────────────────────────────────────────────────────────────────────────────────────────────┘
    Exception: Gradle task assembleDebug failed with exit code 1
    https://stackoverflow.com/questions/...rading-flutter
  • 06-05-2022, 02:01:28
    #5
    bu hata cıktı hocam

    Launching lib\main.dart on sdk gphone x86 in debug mode...
    Running Gradle task 'assembleDebug'...
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    A problem occurred configuring root project 'android'.
    > Could not resolve all artifacts for configuration ':classpath'.
       > Could not find org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.1.
         Searched in the following locations:
           - https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/kotlin-gradle-plugin/1.5.1/kotlin-gradle-plugin-1.5.1.pom
           - https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugin/1.5.1/kotlin-gradle-plugin-1.5.1.pom
         Required by:
             project :
    
    * 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
    
    BU�LD FAILED in 8s
  • 09-05-2022, 00:31:25
    #6
    DrothsTR adlı üyeden alıntı: mesajı görüntüle
    bu hata cıktı hocam

    Launching lib\main.dart on sdk gphone x86 in debug mode...
    Running Gradle task 'assembleDebug'...
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    A problem occurred configuring root project 'android'.
    > Could not resolve all artifacts for configuration ':classpath'.
       > Could not find org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.1.
         Searched in the following locations:
           - https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/kotlin-gradle-plugin/1.5.1/kotlin-gradle-plugin-1.5.1.pom
           - https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugin/1.5.1/kotlin-gradle-plugin-1.5.1.pom
         Required by:
             project :
    
    * 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
    
    BU�LD FAILED in 8s
    DrothsTR, Uzaktan kod hatası çözümü çok kolay değildir. Lakin şöyle bir önerim olabilir :
    Boş bir flutter projesi oluştur, ./android/build.grandle ve ./android/app/build.grandle 2 dosyayı her iki projede karşılaştır.
    Boş projedeki ayarları alıp satın aldığın projedeki dosyalarda güncelle. Boş projedeki ayarlar bilgisayarında bulunan config'e üretilir.
    Bunu satın aldığın projeye de uygularsan sorunu çözme ihtimalin yüksektir.