#
Documentation outdated

Hey Guys,

Three steps to build your own app, okay. The documentation is very patchy and outdated.

When i load the Flutter project in Android Studio, i get error messages saying that the Java code is outdated. Unfortunately, these errors cannot be fixed. (flutter outdated or flutter doctor)

I still don’t understand how the web interface creates an app for me or how I can convert it to an Android app. If I change something in the web interface, the data in Android Studio remains the same.

The option “Tools/Flutter/Open Android…” also doesn’t exist.

If I open the Android project individually as a folder, I first have to update the entire Gradle code because it's outdated.Then Gradle downloads all possible plugins, so the Facebook Audio plugin, for example, throws errors when building the APK.

The package is currently unusable.

Is there a step-by-step guide somewhere on how to use this tool with the current version of Android Studio?

BR, Christian

Asked 2 days ago on June 25, 2025 10:46 AM Comments 18 times


  1. Generic placeholder image

    kevin replied

    Hello

    Could you please explain your issue in brief and share a screenshot for better understanding?

    Thanks & Regards

    - Kevin
  2. Generic placeholder image

    Christian Ramminger replied

    I'm completely following the instructions in the documentation.

    Either basic information is missing or it's outdated.

    For example, you're supposed to open the Android project via Tools/Flutter/Open Android module in Android Studio <-- this menu entry doesn't exist.

    But when I open the project normally via "Open," Gradle loads all sorts of plugins, and I get an error with the Facebook Audience plugin at the latest.

    If I change any data other than in the Minfest.xml, for example, in the build.gradle file, I get errors stating that the application ID in the google-services.json file is incorrect or unknown.

    If I change the ID in the google-services.json file, I also get an error stating that it's unknown.

     

    The documentation doesn't explain how to create the app without MightyWeb branding.

  3. Generic placeholder image

    kevin replied

    Hello 

    In which file you are making the change can you please tell in breif?

    Thanks & Regards
    - Kevin
  4. Generic placeholder image

    Christian Ramminger replied

    when i changed the applicatioID in the Gradle File, i get an error from the google-services.json.

    You can't simply change the code or the IDs, as this will always result in errors.

  5. Generic placeholder image

    kevin replied

    Hello

    You can make the required changes in this code as it is working.

    Thanks & Regards
    - Kevin
  6. Generic placeholder image

    Christian Ramminger replied

    Ok, that works but how i build an relase APK?

    For changes at the Application ID i need a new and own "google-services.json" eg Google Cloud API, right?

  7. Generic placeholder image

    kevin replied

    Hello

    Please please download new code from Codecanyon and try(without making any changes in the code).

    If you still face any issue please let us know.

    Thanks & Regards
    - Kevin
  8. Generic placeholder image

    Christian Ramminger replied

    Yes, as described in the documentation: point 5.1

    Changing the app logo and name in the web interface has no effect.

  9. Generic placeholder image

    kevin replied

    Hello

    Have you made any changes in the code ?

    Thanks & Regards
    - Kevin
  10. Generic placeholder image

    Christian Ramminger replied

    Hey Kevin,

    now that works.

     

    Now i have changed the App Logo and the Namespace for the App.

     

    After the Gradle Sync, i get this error:

    Namespace not specified. Specify a namespace in the module's build file: C:\Users\christian.ramminger\AppData\Local\Pub\Cache\hosted\pub.dev\facebook_audience_network-1.0.1\android\build.gradle. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.

    If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.

    Affected Modules: facebook_audience_network

  11. Generic placeholder image

    kevin replied

    Hello

    Please connect you mobile device or active the Emulator and than try.

    This code is for Mobile appliccation not for web.

    Thanks & Regards
    - Kevin
  12. Generic placeholder image

    Christian Ramminger replied

    Next try:

     

    Connected devices:

    Chrome (web) • chrome • web-javascript • Google Chrome 137.0.7151.120

    Edge (web)   • edge   • web-javascript • Microsoft Edge 137.0.3296.93

    [1]: Chrome (chrome)

    [2]: Edge (edge)

    Please choose one (or "q" to quit): 2

    Launching lib\main.dart on Edge in debug mode...

    Warning: In index.html:39: Manual service worker registration deprecated. Use flutter.js service worker bootstrapping instead. See https://docs.flutter.dev/platform-integration/web/initialization for more details.

    ../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart:70:10: Error: Type 'ShareData' not found.

      Future prepareData(ShareParams params) async {

             ^^^^^^^^^

    ../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart:33:11: Error: 'ShareData' isn't a type.

        final ShareData data = await prepareData(params);

              ^^^^^^^^^

    ../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart:38:29: Error: The method 'canShare' isn't defined for the class 'Navigator'.

    Try correcting the name to the name of an existing method, or defining a method named 'canShare'.

          canShare = _navigator.canShare(data);

                                ^^^^^^^^

    ../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart:53:24: Error: The method 'share' isn't defined for the class 'Navigator'.

    Try correcting the name to the name of an existing method, or defining a method named 'share'.

          await _navigator.share(data).toDart;

                           ^^^^^

    ../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart:75:5: Error: 'ShareData' isn't a type.

        ShareData data;

        ^^^^^^^^^

    ../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart:101:14: Error: The method 'ShareData' isn't defined for the class 'SharePlusWebPlugin'.

     - 'SharePlusWebPlugin' is from 'package:share_plus/src/share_plus_web.dart' ('../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart').

    Try correcting the name to the name of an existing method, or defining a method named 'ShareData'.

          data = ShareData(

                 ^^^^^^^^^

    ../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart:105:14: Error: The method 'ShareData' isn't defined for the class 'SharePlusWebPlugin'.

     - 'SharePlusWebPlugin' is from 'package:share_plus/src/share_plus_web.dart' ('../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart').

    Try correcting the name to the name of an existing method, or defining a method named 'ShareData'.

          data = ShareData(

                 ^^^^^^^^^

    ../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart:111:14: Error: The method 'ShareData' isn't defined for the class 'SharePlusWebPlugin'.

     - 'SharePlusWebPlugin' is from 'package:share_plus/src/share_plus_web.dart' ('../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart').

    Try correcting the name to the name of an existing method, or defining a method named 'ShareData'.

          data = ShareData(

                 ^^^^^^^^^

    ../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart:116:14: Error: The method 'ShareData' isn't defined for the class 'SharePlusWebPlugin'.

     - 'SharePlusWebPlugin' is from 'package:share_plus/src/share_plus_web.dart' ('../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart').

    Try correcting the name to the name of an existing method, or defining a method named 'ShareData'.

          data = ShareData(

                 ^^^^^^^^^

    ../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart:121:14: Error: The method 'ShareData' isn't defined for the class 'SharePlusWebPlugin'.

     - 'SharePlusWebPlugin' is from 'package:share_plus/src/share_plus_web.dart' ('../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart').

    Try correcting the name to the name of an existing method, or defining a method named 'ShareData'.

          data = ShareData(

                 ^^^^^^^^^

    ../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart:125:14: Error: The method 'ShareData' isn't defined for the class 'SharePlusWebPlugin'.

     - 'SharePlusWebPlugin' is from 'package:share_plus/src/share_plus_web.dart' ('../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart').

    Try correcting the name to the name of an existing method, or defining a method named 'ShareData'.

          data = ShareData(

                 ^^^^^^^^^

    ../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart:130:14: Error: The method 'ShareData' isn't defined for the class 'SharePlusWebPlugin'.

     - 'SharePlusWebPlugin' is from 'package:share_plus/src/share_plus_web.dart' ('../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart').

    Try correcting the name to the name of an existing method, or defining a method named 'ShareData'.

          data = ShareData(

                 ^^^^^^^^^

    Unhandled exception:

    Unsupported operation: Unsupported invalid type InvalidType() (InvalidType). Encountered while compiling file:///C:/Users/christian.ramminger/AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart, which contains the type: InvalidType().

    #0      ProgramCompiler._typeCompilationError (package:dev_compiler/src/kernel/compiler.dart:3471)

    #1      ProgramCompiler._emitType (package:dev_compiler/src/kernel/compiler.dart:3439)

    #2      ProgramCompiler._rewriteAsyncFunction (package:dev_compiler/src/kernel/compiler.dart:3683)

    #3      ProgramCompiler._emitFunction. (package:dev_compiler/src/kernel/compiler.dart:3641)

    #4      ProgramCompiler._withLetScope (package:dev_compiler/src/kernel/compiler.dart:2779)

    #5      ProgramCompiler._withCurrentFunction (package:dev_compiler/src/kernel/compiler.dart:3775)

    #6      ProgramCompiler._emitFunction (package:dev_compiler/src/kernel/compiler.dart:3633)

    #7      ProgramCompiler._emitMethodDeclaration. (package:dev_compiler/src/kernel/compiler.dart:2330)

    #8      ProgramCompiler._withMethodDeclarationContext (package:dev_compiler/src/kernel/compiler.dart:3802)

    #9      ProgramCompiler._emitMethodDeclaration (package:dev_compiler/src/kernel/compiler.dart:2328)

    #10     ProgramCompiler._emitClassMethods (package:dev_compiler/src/kernel/compiler.dart:2269)

    #11     ProgramCompiler._emitClassDeclaration (package:dev_compiler/src/kernel/compiler.dart:1070)

    #12     ProgramCompiler._emitClass (package:dev_compiler/src/kernel/compiler.dart:1001)

    #13     List.forEach (dart:core-patch/growable_array.dart:421)

    #14     ProgramCompiler._emitLibrary (package:dev_compiler/src/kernel/compiler.dart:940)

    #15     List.forEach (dart:core-patch/growable_array.dart:421)

    #16     ProgramCompiler.emitModule (package:dev_compiler/src/kernel/compiler.dart:629)

    #17     IncrementalJavaScriptBundler.compile (package:frontend_server/src/javascript_bundle.dart:246)

    #18     FrontendCompiler.writeJavaScriptBundle (package:frontend_server/frontend_server.dart:877)

    #19     FrontendCompiler.compile (package:frontend_server/frontend_server.dart:693)

    #20     listenAndCompile. (package:frontend_server/frontend_server.dart:1401)

    the Dart compiler exited unexpectedly.

    Waiting for connection from debug service on Edge...               21,0s

    Failed to compile application.

  13. Generic placeholder image

    Christian Ramminger replied

    i just run the "main.dart"

     

    here is the log:

     

    Launching lib\main.dart on Chrome in debug mode...

    Waiting for connection from debug service on Chrome...

    Warning: In index.html:39: Manual service worker registration deprecated. Use flutter.js service worker bootstrapping instead. See https://docs.flutter.dev/platform-integration/web/initialization for more details.

    ../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart:70:10: Error: Type 'ShareData' not found.

      Future prepareData(ShareParams params) async {

             ^^^^^^^^^

    ../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart:33:11: Error: 'ShareData' isn't a type.

        final ShareData data = await prepareData(params);

              ^^^^^^^^^

    ../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart:38:29: Error: The method 'canShare' isn't defined for the class 'Navigator'.

    Try correcting the name to the name of an existing method, or defining a method named 'canShare'.

          canShare = _navigator.canShare(data);

                                ^^^^^^^^

    ../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart:53:24: Error: The method 'share' isn't defined for the class 'Navigator'.

    Try correcting the name to the name of an existing method, or defining a method named 'share'.

          await _navigator.share(data).toDart;

                           ^^^^^

    ../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart:75:5: Error: 'ShareData' isn't a type.

        ShareData data;

        ^^^^^^^^^

    ../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart:101:14: Error: The method 'ShareData' isn't defined for the class 'SharePlusWebPlugin'.

     - 'SharePlusWebPlugin' is from 'package:share_plus/src/share_plus_web.dart' ('../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart').

    Try correcting the name to the name of an existing method, or defining a method named 'ShareData'.

          data = ShareData(

                 ^^^^^^^^^

    ../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart:105:14: Error: The method 'ShareData' isn't defined for the class 'SharePlusWebPlugin'.

     - 'SharePlusWebPlugin' is from 'package:share_plus/src/share_plus_web.dart' ('../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart').

    Try correcting the name to the name of an existing method, or defining a method named 'ShareData'.

          data = ShareData(

                 ^^^^^^^^^

    ../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart:111:14: Error: The method 'ShareData' isn't defined for the class 'SharePlusWebPlugin'.

     - 'SharePlusWebPlugin' is from 'package:share_plus/src/share_plus_web.dart' ('../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart').

    Try correcting the name to the name of an existing method, or defining a method named 'ShareData'.

          data = ShareData(

                 ^^^^^^^^^

    ../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart:116:14: Error: The method 'ShareData' isn't defined for the class 'SharePlusWebPlugin'.

     - 'SharePlusWebPlugin' is from 'package:share_plus/src/share_plus_web.dart' ('../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart').

    Try correcting the name to the name of an existing method, or defining a method named 'ShareData'.

          data = ShareData(

                 ^^^^^^^^^

    ../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart:121:14: Error: The method 'ShareData' isn't defined for the class 'SharePlusWebPlugin'.

     - 'SharePlusWebPlugin' is from 'package:share_plus/src/share_plus_web.dart' ('../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart').

    Try correcting the name to the name of an existing method, or defining a method named 'ShareData'.

          data = ShareData(

                 ^^^^^^^^^

    ../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart:125:14: Error: The method 'ShareData' isn't defined for the class 'SharePlusWebPlugin'.

     - 'SharePlusWebPlugin' is from 'package:share_plus/src/share_plus_web.dart' ('../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart').

    Try correcting the name to the name of an existing method, or defining a method named 'ShareData'.

          data = ShareData(

                 ^^^^^^^^^

    ../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart:130:14: Error: The method 'ShareData' isn't defined for the class 'SharePlusWebPlugin'.

     - 'SharePlusWebPlugin' is from 'package:share_plus/src/share_plus_web.dart' ('../../AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart').

    Try correcting the name to the name of an existing method, or defining a method named 'ShareData'.

          data = ShareData(

                 ^^^^^^^^^

    Unhandled exception:

    Unsupported operation: Unsupported invalid type InvalidType() (InvalidType). Encountered while compiling file:///C:/Users/christian.ramminger/AppData/Local/Pub/Cache/hosted/pub.dev/share_plus-11.0.0/lib/src/share_plus_web.dart, which contains the type: InvalidType().

    #0      ProgramCompiler._typeCompilationError (package:dev_compiler/src/kernel/compiler.dart:3471)

    #1      ProgramCompiler._emitType (package:dev_compiler/src/kernel/compiler.dart:3439)

    #2      ProgramCompiler._rewriteAsyncFunction (package:dev_compiler/src/kernel/compiler.dart:3683)

    #3      ProgramCompiler._emitFunction. (package:dev_compiler/src/kernel/compiler.dart:3641)

    #4      ProgramCompiler._withLetScope (package:dev_compiler/src/kernel/compiler.dart:2779)

    #5      ProgramCompiler._withCurrentFunction (package:dev_compiler/src/kernel/compiler.dart:3775)

    #6      ProgramCompiler._emitFunction (package:dev_compiler/src/kernel/compiler.dart:3633)

    #7      ProgramCompiler._emitMethodDeclaration. (package:dev_compiler/src/kernel/compiler.dart:2330)

    #8      ProgramCompiler._withMethodDeclarationContext (package:dev_compiler/src/kernel/compiler.dart:3802)

    #9      ProgramCompiler._emitMethodDeclaration (package:dev_compiler/src/kernel/compiler.dart:2328)

    #10     ProgramCompiler._emitClassMethods (package:dev_compiler/src/kernel/compiler.dart:2269)

    #11     ProgramCompiler._emitClassDeclaration (package:dev_compiler/src/kernel/compiler.dart:1070)

    #12     ProgramCompiler._emitClass (package:dev_compiler/src/kernel/compiler.dart:1001)

    #13     List.forEach (dart:core-patch/growable_array.dart:421)

    #14     ProgramCompiler._emitLibrary (package:dev_compiler/src/kernel/compiler.dart:940)

    #15     List.forEach (dart:core-patch/growable_array.dart:421)

    #16     ProgramCompiler.emitModule (package:dev_compiler/src/kernel/compiler.dart:629)

    #17     IncrementalJavaScriptBundler.compile (package:frontend_server/src/javascript_bundle.dart:246)

    #18     FrontendCompiler.writeJavaScriptBundle (package:frontend_server/frontend_server.dart:877)

    #19     FrontendCompiler.compile (package:frontend_server/frontend_server.dart:693)

    #20     listenAndCompile. (package:frontend_server/frontend_server.dart:1401)

    Failed to compile application.

    Finished with error: the Dart compiler exited unexpectedly.

  14. Generic placeholder image

    kevin replied

    Hello

    If you have hosted on your server than use Base_Url.

    Please follow the documentation for running the code.

    Thanks & Regards
    - Kevin
  15. Generic placeholder image

    Christian Ramminger replied

    Hey Kevin,

    i have add the BASE_URL and the purchase code or do I not need the purchase code at all if I'm self-hosted?

     

    How can i run the code?

  16. Generic placeholder image

    kevin replied

    Hello

    You just have to add anyone of that (BASE_URL  or purchase code) in constant.dart file.

    Ignore that it is just warnings.

    Have you able to run the code. If not please share the error log.

     

    Thanks & Regards
    - Kevin
  17. Generic placeholder image

    Christian Ramminger replied

    Now i have installed Android Studio, Flutter, Dart and Jdk in your Versions.

    I have set my purchase code and the BASE_URL in the "constant.dart" File.

    "flutter pub outdated" print me this: 

    Whats next?

  18. Generic placeholder image

    kevin replied

    Hello

    Please use  the following versions 

    Flutter version 3.29.3

    Jdk version 11

    Android Studio Koala | 2024.1.1 Patch 2

    If you still face some issue please let us know.

    Thanks & Regards
    - Kevin
Recent Tickets
river is not receiving ri... 4 months ago on January 29, 2025 9:03 AM Documentation outdated... 2 days ago on June 25, 2025 10:46 AM error starting 3 weeks ago on June 2, 2025 6:20 AM hi there 4 weeks ago on May 29, 2025 4:48 PM Class Schedule 4 weeks ago on May 29, 2025 10:35 AM First time installation... 1 month ago on May 18, 2025 10:09 AM App is showing blank afte... 1 month ago on May 8, 2025 2:57 PM The app Issue 1 month ago on April 30, 2025 6:44 PM Unable to setup back end ... 3 months ago on March 27, 2025 3:48 AM Friend Request and Distan... 3 months ago on March 18, 2025 4:11 AM