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
kevin replied 1 month ago on March 10, 2025 12:32 PM
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
kevin replied 1 month ago on March 10, 2025 11:44 AM
Hello
You have to update the Bottom Navigation Bar setting from the Admin Panel, after doing that perform the update json
- Kevin
JIMC Studio replied 1 month ago on March 10, 2025 11:20 AM
yes i followed your full dpcuments but still not working
kevin replied 1 month ago on March 10, 2025 11:02 AM
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.
- Kevin
JIMC Studio replied 1 month ago on March 10, 2025 10:45 AM
i want to add bottom Navigation bar with cutsom button
kevin replied 1 month ago on March 10, 2025 10:36 AM
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?
- Kevin
JIMC Studio replied 1 month ago on March 10, 2025 10:29 AM
after enabled footer navigation and update json showing this
ATTACHED FILES
JIMC Studio replied 1 month ago on March 10, 2025 10:23 AM
yes now working need one more help how can i disbaled header and enabled footer, i want to remove complete header
kevin replied 1 month ago on March 10, 2025 10:07 AM
Hello
For impelementing the changes from the Admin Panel to the app you need to perform Update JSON from the dashboard in Admin Panel
- Kevin
ATTACHED FILES
JIMC Studio replied 1 month ago on March 10, 2025 9:59 AM
https://app.jimcstudio.com/fizmohapp
kevin replied 1 month ago on March 10, 2025 9:56 AM
Hello
Can you please provide us your Base_URl.
- Kevin
ATTACHED FILES
JIMC Studio replied 1 month ago on March 10, 2025 9:38 AM
always getting this page
ATTACHED FILES
kevin replied 1 month ago on March 10, 2025 9:21 AM
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.
- Kevin
JIMC Studio replied 1 month ago on March 10, 2025 9:15 AM
yes i changed base url name and icon
also each time it's showing demo website
kevin replied 1 month ago on March 10, 2025 8:51 AM
Hello
Have you made any change in the code ?
- Kevin
JIMC Studio replied 1 month ago on March 10, 2025 8:37 AM
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
kevin replied 1 month ago on March 10, 2025 4:53 AM
Hello
Please use Flutter Version 3.27.3 and Dart Version 3.6.1.
If the Issue still occurs please let us know.
- Kevin