#
Build Faild

Please help getting this error i just download and try to run 




PS C:\Users\vrs23\Downloads\fizmoh> flutter run

Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...

Warning: Flutter support for your project's Android Gradle Plugin version (7.3.0) will soon be dropped. Please upgrade your Android Gradle Plugin version to a version of at least 7.3.1 soon.

Alternatively, use the flag "--android-skip-build-dependency-validation" to bypass this check.

Potential fix: Your project's AGP version is typically defined in the plugins block of the `settings.gradle` file (C:\Users\vrs23\Downloads\fizmoh\android/settings.gradle), by a plugin with the id of com.android.application.  

If you don't see a plugins block, your project was likely created with an older template version. In this case it is most likely defined in the top-level build.gradle file (C:\Users\vrs23\Downloads\fizmoh\android/build.gradle) by the following line in the dependencies block of the buildscript: "classpath 'com.android.tools.build:gradle:<version>'".

Warning: This version only understands SDK XML versions up to 3 but an SDK XML file of version 4 was encountered. This can happen if you use versions of Android Studio and the command-line tools that were released at different times.

warning: unknown enum constant Mode.LOCAL

  reason: class file for com.facebook.infer.annotation.Nullsafe$Mode not found

warning: unknown enum constant Mode.LOCAL

warning: unknown enum constant Mode.LOCAL

warning: unknown enum constant Mode.LOCAL

warning: unknown enum constant Mode.LOCAL

warning: unknown enum constant Mode.LOCAL

warning: unknown enum constant Mode.LOCAL

warning: unknown enum constant Mode.LOCAL

warning: unknown enum constant Mode.LOCAL

warning: unknown enum constant Mode.LOCAL

warning: unknown enum constant Mode.LOCAL

warning: unknown enum constant Mode.LOCAL

warning: unknown enum constant Mode.LOCAL

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

13 warnings

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

C:\Users\vrs23\AppData\Local\Pub\Cache\hosted\pub.dev\onesignal_flutter-5.2.9\android\src\main\java\com\onesignal\flutter\OneSignalDebug.java:19: error: cannot find symbol

import io.flutter.plugin.common.PluginRegistry.Registrar;

                                              ^

  symbol:   class Registrar

  location: interface PluginRegistry

C:\Users\vrs23\AppData\Local\Pub\Cache\hosted\pub.dev\onesignal_flutter-5.2.9\android\src\main\java\com\onesignal\flutter\OneSignalInAppMessages.java:24: error: cannot find symbol

import io.flutter.plugin.common.PluginRegistry.Registrar;

                                              ^

  symbol:   class Registrar

  location: interface PluginRegistry

C:\Users\vrs23\AppData\Local\Pub\Cache\hosted\pub.dev\onesignal_flutter-5.2.9\android\src\main\java\com\onesignal\flutter\OneSignalLocation.java:19: error: cannot find symbol

import io.flutter.plugin.common.PluginRegistry.Registrar;

                                              ^

  symbol:   class Registrar

  location: interface PluginRegistry

C:\Users\vrs23\AppData\Local\Pub\Cache\hosted\pub.dev\onesignal_flutter-5.2.9\android\src\main\java\com\onesignal\flutter\OneSignalNotifications.java:37: error: cannot find symbol

import io.flutter.plugin.common.PluginRegistry.Registrar;

                                              ^

  symbol:   class Registrar

  location: interface PluginRegistry

C:\Users\vrs23\AppData\Local\Pub\Cache\hosted\pub.dev\onesignal_flutter-5.2.9\android\src\main\java\com\onesignal\flutter\OneSignalPlugin.java:28: error: cannot find symbol

import io.flutter.plugin.common.PluginRegistry.Registrar;

                                              ^

  symbol:   class Registrar

  location: interface PluginRegistry

C:\Users\vrs23\AppData\Local\Pub\Cache\hosted\pub.dev\onesignal_flutter-5.2.9\android\src\main\java\com\onesignal\flutter\OneSignalPlugin.java:29: error: cannot find symbol

import io.flutter.view.FlutterNativeView;

                      ^

  symbol:   class FlutterNativeView

  location: package io.flutter.view

C:\Users\vrs23\AppData\Local\Pub\Cache\hosted\pub.dev\onesignal_flutter-5.2.9\android\src\main\java\com\onesignal\flutter\OneSignalPlugin.java:93: error: cannot find symbol

  public static void registerWith(Registrar registrar) {

                                  ^

  symbol:   class Registrar

  location: class OneSignalPlugin

C:\Users\vrs23\AppData\Local\Pub\Cache\hosted\pub.dev\onesignal_flutter-5.2.9\android\src\main\java\com\onesignal\flutter\OneSignalPushSubscription.java:25: error: cannot find symbol

import io.flutter.plugin.common.PluginRegistry.Registrar;

                                              ^

  symbol:   class Registrar

  location: interface PluginRegistry

C:\Users\vrs23\AppData\Local\Pub\Cache\hosted\pub.dev\onesignal_flutter-5.2.9\android\src\main\java\com\onesignal\flutter\OneSignalSession.java:14: error: cannot find symbol

import io.flutter.plugin.common.PluginRegistry.Registrar;

                                              ^

  symbol:   class Registrar

  location: interface PluginRegistry

C:\Users\vrs23\AppData\Local\Pub\Cache\hosted\pub.dev\onesignal_flutter-5.2.9\android\src\main\java\com\onesignal\flutter\OneSignalUser.java:22: error: cannot find symbol

import io.flutter.plugin.common.PluginRegistry.Registrar;

                                              ^

  symbol:   class Registrar

  location: interface PluginRegistry

C:\Users\vrs23\AppData\Local\Pub\Cache\hosted\pub.dev\onesignal_flutter-5.2.9\android\src\main\java\com\onesignal\flutter\OneSignalPlugin.java:98: error: cannot find symbol

    registrar.addViewDestroyListener(new PluginRegistry.ViewDestroyListener() {

                                                       ^

  symbol:   class ViewDestroyListener

  location: interface PluginRegistry

C:\Users\vrs23\AppData\Local\Pub\Cache\hosted\pub.dev\onesignal_flutter-5.2.9\android\src\main\java\com\onesignal\flutter\OneSignalPlugin.java:100: error: cannot find symbol

      public boolean onViewDestroy(FlutterNativeView flutterNativeView) {

                                   ^

  symbol: class FlutterNativeView

C:\Users\vrs23\AppData\Local\Pub\Cache\hosted\pub.dev\onesignal_flutter-5.2.9\android\src\main\java\com\onesignal\flutter\OneSignalPlugin.java:99: error: method does not override or implement a method from a supertype

      @Override

      ^

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

13 errors

FAILURE: Build failed with an exception.

* What went wrong:

Execution failed for task ':onesignal_flutter:compileDebugJavaWithJavac'.

> Compilation failed; see the compiler error output for 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

BUILD FAILED in 2m 4s

Running Gradle task 'assembleDebug'...                            126.3s

Error: Gradle task assembleDebug failed with exit code 1

Asked 1 month ago on March 9, 2025 2:15 PM Comments 17 times


  1. Generic placeholder image

    kevin replied

    Hi, 

    Your concern looks resolved now. 

    Please check and feel free to write to us again if you have any questions or need further assistance. Also, can you please spare a moment to rate and review us on 

    Codecanyon - https://codecanyon.net/downloads 

    trustpilot - https://www.trustpilot.com/review/meetmighty.com

    It makes a world of difference to read the positive responses from our premium item owners. 

     

    Thank you and we appreciate you! :) 
    - Kevin

  2. Generic placeholder image

    kevin replied

    Hello 

    You have to update the Bottom Navigation Bar setting from the Admin Panel, after doing that perform the update json 

    Thanks & Regards
    - Kevin
  3. Generic placeholder image

    JIMC Studio replied

    yes i followed your full dpcuments but still not working

  4. Generic placeholder image

    kevin replied

    Hello 

    For that please go through the below mention doc,

    Doc :https://docs.meetmighty.com/mightyweb/#2

    If you still face some issue related to code please let us know.

    Thanks & Regards
    - Kevin
  5. Generic placeholder image

    JIMC Studio replied

    i want to add bottom Navigation bar with cutsom button

  6. Generic placeholder image

    kevin replied

    Hello

    Thats the Bottom Navigation bar you have enable.

    Do you want to enable your website Footer or want to enable the Bottom Navigation bar?

    Thanks & Regards
    - Kevin
  7. Generic placeholder image

    JIMC Studio replied

    after enabled footer navigation and update json showing this

    ATTACHED FILES

  8. Generic placeholder image

    JIMC Studio replied

    yes now working need one more help how can i disbaled header and enabled footer, i want to remove complete header

  9. Generic placeholder image

    kevin replied

    Hello

    For impelementing the changes from the Admin Panel to the app you need to perform Update JSON from the dashboard in Admin Panel

    Thanks & Regards
    - Kevin

    ATTACHED FILES

  10. Generic placeholder image

    JIMC Studio replied

    https://app.jimcstudio.com/fizmohapp

  11. Generic placeholder image

    kevin replied

    Hello

    Can you please provide us your Base_URl.

     

    Thanks & Regards
    - Kevin

    ATTACHED FILES

  12. Generic placeholder image

    JIMC Studio replied

    always getting this page 

    ATTACHED FILES

  13. Generic placeholder image

    kevin replied

    Hello

    Before changing the icon did you try to run the code and check ?

    Can you please explain in brief with Screenshot, what you mean by demo website.

    Thanks & Regards
    - Kevin
  14. Generic placeholder image

    JIMC Studio replied

    yes i changed base url name and icon 

    also each time it's showing demo website 

     

  15. Generic placeholder image

    kevin replied

    Hello

    Have you made any change in the code ?

    Thanks & Regards
    - Kevin
  16. Generic placeholder image

    JIMC Studio replied

    App installed but auto closed within a sec

    PS C:\Users\vrs23\Downloads\fizmoh> flutter run Launching lib\main.dart on sdk gphone64 x86 64 in debug mode... warning: unknown enum constant Mode.LOCAL reason: class file for com.facebook.infer.annotation.Nullsafe$Mode not found warning: unknown enum constant Mode.LOCAL warning: unknown enum constant Mode.LOCAL warning: unknown enum constant Mode.LOCAL warning: unknown enum constant Mode.LOCAL warning: unknown enum constant Mode.LOCAL warning: unknown enum constant Mode.LOCAL warning: unknown enum constant Mode.LOCAL warning: unknown enum constant Mode.LOCAL warning: unknown enum constant Mode.LOCAL warning: unknown enum constant Mode.LOCAL warning: unknown enum constant Mode.LOCAL warning: unknown enum constant Mode.LOCAL Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 13 warnings Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Note: C:\Users\vrs23\AppData\Local\Pub\Cache\hosted\pub.dev\store_redirect-2.0.3\android\src\main\java\com\danieldallos\storeredirect\StoreRedirectPlugin.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: C:\Users\vrs23\AppData\Local\Pub\Cache\hosted\pub.dev\google_mobile_ads-5.3.1\android\src\main\java\io\flutter\plugins\googlemobileads\AdMessageCodec.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. e: C:/Users/vrs23/.gradle/caches/transforms-3/564b9577491b4731b5ff8470ac1159b6/transformed/fragment-1.7.1-api.jar!/META-INF/fragment_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0. e: C:/Users/vrs23/.gradle/caches/transforms-3/3981bed1b95d6ac20f5a6e492c8b78ec/transformed/jetified-activity-1.8.1-api.jar!/META-INF/activity_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0. e: C:/Users/vrs23/.gradle/caches/transforms-3/a6ec492515b4171cb4e2bfe5c37295d4/transformed/jetified-lifecycle-livedata-core-ktx-2.7.0-api.jar!/META-INF/lifecycle-livedata-core-ktx_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0. e: C:/Users/vrs23/.gradle/caches/transforms-3/2003edc8f7171428129822e1f43a204e/transformed/lifecycle-livedata-2.7.0-api.jar!/META-INF/lifecycle-livedata_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0. e: C:/Users/vrs23/.gradle/caches/transforms-3/d1029115f5dd0c3486b593fa4b28a9ba/transformed/lifecycle-viewmodel-2.7.0-api.jar!/META-INF/lifecycle-viewmodel_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0. e: C:/Users/vrs23/.gradle/caches/transforms-3/ed92f767403586260e0c012132b7cf3a/transformed/lifecycle-livedata-core-2.7.0-api.jar!/META-INF/lifecycle-livedata-core_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0. e: C:/Users/vrs23/.gradle/caches/transforms-3/383c4f083ba8be5fdc5ca759b4c3150e/transformed/jetified-lifecycle-viewmodel-savedstate-2.7.0-api.jar!/META-INF/lifecycle-viewmodel-savedstate_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0. e: C:/Users/vrs23/.gradle/caches/transforms-3/ce5e9484059e6ca96399b65d4b298b26/transformed/jetified-core-ktx-1.13.1-api.jar!/META-INF/core-ktx_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0. e: C:/Users/vrs23/.gradle/caches/transforms-3/f2bc4a6aa971fc5950a39ee5f8abaab0/transformed/core-1.13.1-api.jar!/META-INF/core_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.e: C:/Users/vrs23/.gradle/caches/transforms-3/cbd1738c2c331f651f5e01d86b3ec9d3/transformed/lifecycle-runtime-2.7.0-api.jar!/META-INF/lifecycle-runtime_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0. e: C:/Users/vrs23/.gradle/caches/transforms-3/e0f45e1830dad042db9aad9eb2d8ec1f/transformed/jetified-lifecycle-process-2.7.0-api.jar!/META-INF/lifecycle-process_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0. e: C:/Users/vrs23/.gradle/caches/modules-2/files-2.1/androidx.lifecycle/lifecycle-common/2.7.0/85334205d65cca70ed0109c3acbd29e22a2d9cb1/lifecycle-common-2.7.0.jar!/META-INF/lifecycle-common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0. e: C:/Users/vrs23/.gradle/caches/transforms-3/cdd8ecf5efd8b1665725211a7b8e8709/transformed/jetified-savedstate-1.2.1-api.jar!/META-INF/savedstate_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0. e: C:/Users/vrs23/.gradle/caches/transforms-3/3fd27cc153094a655e79446c1ff0ed7f/transformed/jetified-window-1.2.0-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.8.0, expected version is 1.6.0. e: C:/Users/vrs23/.gradle/caches/transforms-3/18b36c1b0d2a160c180ed32378601b4d/transformed/jetified-window-java-1.2.0-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.8.0, expected version is 1.6.0. e: C:/Users/vrs23/.gradle/caches/transforms-3/b9e7a7a8a607462aeb1abd8841a91b6d/transformed/jetified-kotlinx-coroutines-core-jvm-1.7.1.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.8.0, expected version is 1.6.0. e: C:/Users/vrs23/.gradle/caches/transforms-3/a56eb0a08fbc9ebe7087ebaa4c96026c/transformed/jetified-kotlinx-coroutines-android-1.7.1.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.8.0, expected version is 1.6.0. e: C:/Users/vrs23/.gradle/caches/transforms-3/2b824f73116258349efadbf7588e0a14/transformed/jetified-kotlin-stdlib-1.8.22.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.8.0, expected version is 1.6.0. e: C:/Users/vrs23/.gradle/caches/transforms-3/2b824f73116258349efadbf7588e0a14/transformed/jetified-kotlin-stdlib-1.8.22.jar!/META-INF/kotlin-stdlib.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0. e: C:/Users/vrs23/.gradle/caches/transforms-3/2b824f73116258349efadbf7588e0a14/transformed/jetified-kotlin-stdlib-1.8.22.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.8.0, expected version is 1.6.0. e: C:/Users/vrs23/.gradle/caches/transforms-3/5e4cd7320b2d49a1cd9067206eeb52a6/transformed/jetified-kotlin-stdlib-common-1.8.22.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.8.0, expected version is 1.6.0. Running Gradle task 'assembleDebug'... 88.6s √ Built build\app\outputs\flutter-apk\app-debug.apk Installing build\app\outputs\flutter-apk\app-debug.apk... 6.6s

  17. Generic placeholder image

    kevin replied

    Hello

    Please use Flutter Version 3.27.3 and Dart Version 3.6.1.

    If the Issue still occurs please let us know.

    Thanks & Regards
    - Kevin
Recent Tickets
Backend not working after... 3 weeks ago on March 27, 2025 7:15 AM river is not receiving ri... 2 months ago on January 29, 2025 9:03 AM Unable to setup back end ... 4 weeks ago on March 27, 2025 3:48 AM Friend Request and Distan... 1 month ago on March 18, 2025 4:11 AM Build Faild 1 month ago on March 9, 2025 2:15 PM Error during build... 1 month ago on March 4, 2025 8:51 PM help 1 month ago on March 3, 2025 1:13 AM Connection Refused Error... 1 month ago on February 27, 2025 4:47 AM Flutter app issues... 1 month ago on February 26, 2025 10:49 AM I Am Getting 403 Access D... 2 months ago on February 17, 2025 11:22 AM