#
app creation help

Qual versão do Flutter está sendo usada no projeto? Eu baixei recentemente a versão do CodeCanyon, mas quando tento compilar o sistema, aparece uma mensagem dizendo que eu preciso usar a versão 3.38.5 do Flutter e o Dart ≥ 3.10.

Qual versão do Flutter devo usar?

ATTACHED FILES

Asked 3 weeks ago on December 14, 2025 5:57 PM Comments 40 times


  1. Generic placeholder image

    Hendricks replied

    Good morning,

    Yes, this is mainly a Java version compatibility issue. After updating the Android Gradle Plugin, the build requires Java 17, but the system is still using a newer Java version, which causes the Gradle incompatibility error. Once Java is aligned to version 17, the build should work correctly.

    Please share your Chrome Remote Desktop or AnyDesk access and confirm your availability between 9:45 AM and 5:45 PM (IST) so I can connect and check the issue.

    Regards,
    MeetMighty Support Person
    Hendricks

     

  2. Generic placeholder image

    enoque francisco replied

    Good morning,

     

    I made the modifications you indicated, but now I'm getting a Gradle incompatible error.

     

    I have a question: if I download the files again from CodeCanyon, will they be updated without these bugs?

  3. Generic placeholder image

    Hendricks replied

    Hello 

    1. Android Gradle Plugin version

    File: android/build.gradle

    Before:

    classpath 'com.android.tools.build:gradle:8.x.x'

    After:

    classpath 'com.android.tools.build:gradle:7.4.2'

    2. Gradle distribution version

    File: android/gradle/wrapper/gradle-wrapper.properties

    Before:

    distributionUrl=https\://services.gradle.org/distributions/gradle-8.x-all.zip

    After:

    distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-all.zip

    3. R8 configuration

    File: android/gradle.properties

    Before:

    # No explicit R8 configuration

    After:

    android.enableR8.fullMode=false

    4. Release build configuration

    File: android/app/build.gradle

    Before:

    release {

        // default config

    }

    After:

    release {

        minifyEnabled true

        shrinkResources true

        proguardFiles getDefaultProguardFile(

            'proguard-android-optimize.txt'

        ), 'proguard-rules.pro'

    }

    5. ProGuard rules for InAppWebView

    File: android/app/proguard-rules.pro

    Before:

    # No specific rules for InAppWebView

    After:

    -keep class com.pichillilorenzo.flutter_inappwebview.** { *; }

    -keep class androidx.webkit.** { *; }

    -dontwarn com.pichillilorenzo.flutter_inappwebview.**

    6. Build cleanup (mandatory)

    Run the following commands after applying the changes:

    flutter clean

    flutter pub get

    Regards,
    MeetMighty Support Person
    Hendricks

     

  4. Generic placeholder image

    enoque francisco replied

    Okay, tell me exactly what to do, which files to modify, what to insert into them, or do something simpler and just send me all the modified files, please.

  5. Generic placeholder image

    Hendricks replied

    Hello 

    The issue is caused by an R8 compatibility problem with the current Android Gradle setup. To resolve this, I recommend updating the project to a stable Gradle and Android Gradle Plugin combination, as this configuration is proven to work reliably with the InAppWebView plugin. These changes are required for the release build to generate successfully.

    Regards,
    MeetMighty Support Person
    Hendricks

  6. Generic placeholder image

    enoque francisco replied

    Good morning,

     

    It's still giving the same error. I had already executed all the steps you provided before requesting support.

    Error below:

    Running Gradle task 'assembleRelease'...

    ERROR: R8: java.lang.ClassNotFoundException: Failed to instrument class com/android/tools/r8/internal/l2 in ClassLoaderScopeIdentifier.Id{coreAndPlugins:settings[:](export)}

     

    FAILURE: Build failed with an exception.

     

    * What went wrong:

    Execution failed for task ':flutter_inappwebview_android:minifyReleaseWithR8'.

     

    > A failure occurred while executing com.android.build.gradle.internal.tasks.R8Task$R8Runnable

     

    > Compilation failed to complete

     

    * 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 32s

    Running Gradle task 'assembleRelease'... 33.3s

    Gradle task assembleRelease failed with exit code 1

    Process finished with exit code 1

  7. Generic placeholder image

    Hendricks replied

    Hello,

    The issue is caused by a Flutter SDK version mismatch.

    This project requires Flutter 3.38.x (with a newer Dart SDK), but your system is currently using an older Flutter version. Because of this, dependencies cannot be resolved and the build fails.

    Required action:
    Please upgrade Flutter to version 3.38.x, then run:

    flutter clean

    flutter pub get

    Once Flutter is updated to the required version, the issue will be resolved.

    Thank you.

  8. Generic placeholder image

    enoque francisco replied

    I'm generating the APK via command line:

     

    `flutter build apk`, I also tried directly through Android Studio by going to `build flutter apk`.

     

    My keystore file is attached, the password is 620048enoque

     

    The file is in the android/app folder.

    keystore: https://drive.google.com/file/d/1_RIAie-_YCID7fqlN_oQ_oBfXmJEUxH1/view?usp=sharing

     

    this is used verson flutter 3.38.5

  9. Generic placeholder image

    John replied

    Hello there,

    Please confirm how to created the keystore file, confirm your credentials for the keystore file and also tell me how you are building the apk

    Regards,
    MeetMighty Support Person
    John.
  10. Generic placeholder image

    enoque francisco replied

    Can you help me? I tried to generate the APK again, and I got the error below. I'm using Flutter 3.38.5.

     

    FAILURE: Build failed with an exception.

     

    * Where:

    Build file 'C:\Users\abraao\Desktop\cdsmedia-2025\logikupa-12-25\logikupa.2.0\android\app\build.gradle' line: 58

     

    * What went wrong:

    A problem occurred evaluating project ':app'.

    > Could not find method useProguard() for arguments [false] on BuildType$AgpDecorated_Decorated{name=release, debuggable=false, testCoverageEnabled=false, jniDebuggable=false, pseudoLocalesEnabled=false, renderscriptDebuggable=f

    alse, renderscriptOptimLevel=3, minifyEnabled=false, zipAlignEnabled=true, signingConfig=SigningConfig$AgpDecorated_Decorated{name=release, storeFile=C:\Users\abraao\Desktop\cdsmedia-2025\logikupa-12-25\logikupa.2.0\android\app\

    cdsmedia.jks, storePassword=620048enoque, keyAlias=cdsmedia, keyPassword=620048enoque, storeType=pkcs12, v1SigningEnabled=true, v2SigningEnabled=true, enableV1Signing=null, enableV2Signing=null, enableV3Signing=null, enableV4Sig

    ning=null}, embedMicroApp=true, mBuildConfigFields={}, mResValues={}, mProguardFiles=[C:\Users\abraao\Desktop\cdsmedia-2025\logikupa-12-25\logikupa.2.0\build\app\intermediates\default_proguard_files\global\proguard-android-optim

    ize.txt-8.9.1, C:\src\flutter\packages\flutter_tools\gradle\flutter_proguard_rules.pro, C:\Users\abraao\Desktop\cdsmedia-2025\logikupa-12-25\logikupa.2.0\android\app\proguard-rules.pro], mConsumerProguardFiles=[], mManifestPlaceholders={}} of type com.android.build.gradle.internal.dsl.BuildType$AgpDecorated.

     

    * 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 3s

    Running Gradle task 'assembleRelease'...                            4,2s

    Gradle task assembleRelease failed with exit code 1

    PS C:\Users\abraao\Desktop\cdsmedia-2025\logikupa-12-25\logikupa.2.0> 

  11. Generic placeholder image

    John replied

    Hello there,

    What I am saying is 

    Just put this url everywhere https://logikupa.ao

    Remove everything like /delivery-admin and delivery-admin-dev

    Just use your main domain

    Regards,
    MeetMighty Support Person
    John.
  12. Generic placeholder image

    enoque francisco replied

    I didn't understand, friend, because the URL exists >https://logikupa.ao

    See the image I sent of the app code; I used the URL, I didn't change anything, just the URL.

     

    You typed a path in the browser, but what route is that? So I really don't know what you're trying to say because in the code in the panel and the app I'm using that URL.

     

    Can you tell me where I went wrong or where I should put the URL?

     

    If you need to access the cPanel login and password files below:

     

    https://50.6.6.38:2083/cpsess7312257709/frontend/jupiter/index.html?login=1&post_login=60161410650538

     

    user: logikupa

    password: kmab620048

  13. Generic placeholder image

    John replied

    Hi there,

    As you can see the url you are hitting doesn't exist

    Please use this url instead for everywhere you are supposed to add domain url 

    https://logikupa.ao

     

    Regards,
    MeetMighty Support Person
    John.

    ATTACHED FILES

  14. Generic placeholder image

    enoque francisco replied

    I had already connected the app, the panel is already installed on that domain, I uploaded the files to cPanel and changed from localhost to the domain https://logikupa.ao/

     

  15. Generic placeholder image

    John replied

    Hi there,

    Please host your admin panel on your domain and connect it to your mobile app

    Search for app_server_config.dart and add your admin url

    Regards,
    MeetMighty Support Person
    John.
  16. Generic placeholder image

    enoque francisco replied

    Good morning,

     

    Merry Christmas,

     

    I need help with something. When I try to log in or create an account, I get an API error. Please see the attached image.

    ATTACHED FILES

  17. Generic placeholder image

    Ricky replied

    Hello 

    You can try endpoint->AdminHub. Please show in env file.
     
    Thanks,
    Ricky.
  18. Generic placeholder image

    enoque francisco replied

    Good evening, the error occurs when I try to access the admin panel, http://localhost/login/admin

    ATTACHED FILES

  19. Generic placeholder image

    Ricky replied

    Please share error 

    Thanks,

    Ricky.
  20. Generic placeholder image

    enoque francisco replied

    Good morning, what is the admin login URL in this new version? I installed it on localhost and I'm using admin/login, but I'm getting a 404 error. Could you please help me?

  21. Generic placeholder image

    John replied

    For the flutter compartibility,

    Please use this

     

    Flutter 3.38.1

    Regards,
    MeetMighty Support Person
    John.
  22. Generic placeholder image

    John replied

    Hi,

    Your version of cocoapod is outdated

    Please run the command 

    "pod install --repo-update"

    Regards,
    MeetMighty Support Person
    John.
  23. Generic placeholder image

    enoque francisco replied

    I'm having trouble running the project on my MacBook. When I run the "pod install" command, it gives the error shown in the attached image.

     

    I've already run the "pod repo update" command, but the error persists.

    ATTACHED FILES

  24. Generic placeholder image

    enoque francisco replied

    Please confirm if the Flutter version is Flutter: 3.32.0?

  25. Generic placeholder image

    enoque francisco replied

    Okay, thanks for your help.

  26. Generic placeholder image

    John replied

    Hi there,

    The issue with your app getting stucked on a white screen has been solved via remote support.

    Please revert if you have any issue,

    Regards,
    MeetMighty Support Person
    John.
  27. Generic placeholder image

    enoque francisco replied

    277828297044

  28. Generic placeholder image

    enoque francisco replied

    718838574001

  29. Generic placeholder image

    John replied

    Please reshare code

    It got disconnected.

    Regards,
    MeetMighty Support Person
    John.
  30. Generic placeholder image

    enoque francisco replied

    056670616705 code google screem  share

  31. Generic placeholder image

    John replied

    Please connect via remote support

     https://remotedesktop.google.com/support

    Regards,
    MeetMighty Support Person
    John.
  32. Generic placeholder image

    enoque francisco replied

    Good morning,

     

    I'm available now, we can use AnyDesk if you prefer, my code is: 1967967778

  33. Generic placeholder image

    John replied

    Okay, I would connect at that time.

    Regards,
    MeetMighty Support Person
    John.
  34. Generic placeholder image

    enoque francisco replied

    Okay, we can connect at 6:00 AM Brasilia time (Brasilia capital, Brazil).

  35. Generic placeholder image

    John replied

    Hi there,

    We can connect remotely tomorrow

    Time: 10 AM - 5: 00 PM (IST)

    Regards,
    MeetMighty Support Person
    John.
  36. Generic placeholder image

    enoque francisco replied

    Good morning,

     

    I believe I have configured Firebase correctly.

     

    I am sending you my code for you to check: https://drive.google.com/file/d/1hlS0_aWgNREwQVT1ORjH_VnOZotFM8OQ/view?usp=sharing

     

    I had already added the SHA256 and SHA1 to Firebase and placed the GoogleServi.json file in the correct location. Please check what is happening or indicate where I should make the modification. Thank you, good morning.

  37. Generic placeholder image

    John replied

    Hi there,

    Thanks for reaching out with your queries.

    1. For the issue of the app getting stucked on startup, Check the following conditions

         - If you properly configured firebase. This includes adding the package name, SHA256 key, etc

         - Check if you properly added the google_service.json file in the correct location
           android/app/{GOOGLE SERVICE JSON FILE SHOULD BE HERE}

    2. In order to add the server url, search for the file app_server_config.dart and you can add your server url there 

       NB: This would be updated in the docs at the latest.

    3. In order to hide the online option, naviagate to PaymentModel.dart and comment out the online option.

    Regards,
    MeetMighty Support Person
    John.
  38. Generic placeholder image

    enoque francisco replied

    I'm getting an error when I try to build, see the attached image.

     

    The app is stuck on the white screen.

     

    Errors: E/flutter (14392): [ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: [core/duplicate-app] A Firebase App named "[DEFAULT]" already exists

    ATTACHED FILES

  39. Generic placeholder image

    enoque francisco replied

    I need help because in the documentation you state:

     

    In the main directory, access lib → app_config.dart const DOMAIN_URL = "ADD YOUR DOMAIN URL";

     

    but this no longer exists in the project, not with this name. Where do I add the server URL, the baseURL?

  40. Generic placeholder image

    enoque francisco replied

    And I also have another question: I won't be using any online payment methods, do I need to remove payment methods from the app?

Recent Tickets
URGENT Base URL is down... 2 months ago on October 30, 2025 12:10 AM river is not receiving ri... 11 months ago on January 29, 2025 9:03 AM Want to Lunch App but get... 2 weeks ago on December 24, 2025 1:21 PM app creation help... 3 weeks ago on December 14, 2025 5:57 PM A lot of Errors In Androi... 1 month ago on November 18, 2025 1:00 AM The app is only in Englis... 1 month ago on November 11, 2025 12:28 PM problem with update files... 2 months ago on October 14, 2025 5:45 AM problems with flutter_goo... 2 months ago on October 14, 2025 5:23 AM Issues with installation... 3 months ago on September 12, 2025 10:37 AM in-app purchases are prem... 4 months ago on September 5, 2025 4:34 AM