Start a new topic

Wikitude flutter exaples failed to compile


i was trying to compile wikitude sample projects for flutter but i had several errors. After fixing some compatibility issues I got stuck with this error:

PS C:\Users\User1\Documents\wikitude-flutter-plugin-examples-master> flutter run

The plugin `augmented_reality_plugin_wikitude` uses a deprecated version of the Android embedding.

To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these

deprecated APIs.

If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding:

Launching lib\main.dart on Mi 9T Pro in debug mode...

Warning: Mapping new ns to old ns

Warning: Mapping new ns to old ns

Warning: Mapping new ns to old ns

Warning: Mapping new ns to old ns

Warning: Mapping new ns to old ns

Formato del parametro non corretto -

FAILURE: Build failed with an exception.

* What went wrong:

Execution failed for task ':path_provider_android:compileDebugJavaWithJavac'.

> Failed to calculate the value of task ':path_provider_android:compileDebugJavaWithJavac' property 'options.generatedSourceOutputDirectory'.

   > Querying the mapped value of map( property(org.gradle.api.file.Directory, property(org.gradle.api.file.Directory, fixed(class org.gradle.api.internal.file.DefaultFilePropertyFactory$FixedDirect

ory, C:\Users\User1\Documents\wikitude-flutter-plugin-examples-master\build\path_provider_android\generated\ap_generated_sources\debug\out))) org.gradle.api.internal.file.DefaultFilePropertyFactory$

ToFileTransformer@6aad2210) before task ':path_provider_android:compileDebugJavaWithJavac' has completed is not supported

* 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


Running Gradle task 'assembleDebug'... 23,4s

Exception: Gradle task assembleDebug failed with exit code 1

Does anyone have any idea what this could be about?

Thank you






1 Comment


I would need more info in order to give you a proper answer:

  • Which Wikitude SDK version are you testing with?
  • Which Android version is installed in your device?
  • Which flutter version do you have installed in your machine?
  • Which steps did you follow in order to reproduce the issue?

Hopefully with this I'll have a better understanding of the issue and can provide an answer.

Best regards,


Login or Signup to post a comment