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






Login or Signup to post a comment