Start a new topic

Flutter 2.0.3 Wikitude 9.6

Wikitude supports flutter2 ???

I tried to install the plugin from the github examples and it gave me error (library "" not found) still including

         ndk {

             abiFilters 'x86', 'x86_64', 'armeabi', 'armeabi-v7a', 'arm64-v8a'


I also tried adding it to a project from scratch but in this case the error is:

Execution failed for task ': augmented_reality_plugin_wikitude: bundleDebugAar'.

> Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produces broken AARs in this case too (despite not throwing this error). The following direct local .aar file dependencies of the: augmented_reality_plugin_wikitude project caused this error: .... / plugin / augmented_reality_plugin_wikitude / android / wikitudesdk / wikitudesdk.aar


flutter doctor:

[✓] Flutter (Channel stable, 2.0.3, on Linux, locale es_ES.UTF-8)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)

[✓] Chrome - develop for the web

[✓] Android Studio

[✓] VS Code (version 1.54.3)

[✓] Connected device (2 available)

• No issues found!

1 person has this problem

Hi Cristobal,

Unfortunately no, we still don't support Flutter 2, but we plan to do it soon (not sure in which version yet).



Is this update published???

Unfortunately no. The good news are that we are currently working on supporting the latest flutter version (2.0.6), so you can expect an upgrade soon.

Hello, do you already have a date for the publication of the version compatible with flutter 2?


Good morning,

Yes, it will be published within the 9.9 version release next week. It will point to flutter version 2.2.0.



Good morning,

When shall we expect the v9.9?

If nothing changes, the 1st of July.


I updated my Flutter app from the 9.8 package to the 9.9 version. However, I am now getting the error mentioned above about local .aar dependencies. I did get this error before on 9.8 and I fixed that by updating my settings.gradle file. But now the error has returned and I haven't changed anything except updating the SDK and changing the minSdkVersion in my build.gradle file to 23.


As I can't reproduce you issue, I'll ask some questions in order to gather the info: How are you importing the wikitude plugin? Which architectures are you pointing in your gradle file? Which flutter version are you using? Did you try with our sample app in case you can reproduce the same issue ->



Hello Aitor,

I tried building the examples and it worked, but when I updated the Gradle to 4.2.0 like I have in my project, I got the same error. I am using Appcenter to build and sign my app and I need the Gradle to be 4.2.0 because of a signing bug in Appcenter. Is there a way to work around this to have Wikitude work with Gradle 4.2.0?

Unfortunately there's no workaround for this. Our sdk is being generated with the Gradle version pointing to 3.6.0, which seems to be the root cause of the issue. I will create an internal ticket to update our internal gradle version, but until then, you will have to lower your version.

Login or Signup to post a comment