Skip to content

Could not determine the dependencies of task ':flutter_unity_widget:generateDebugRFile'. #10

@rahulmool

Description

@rahulmool

This are the steps which i performed:
step 1: Export Android (Unity 2019.3.*)
step 2: Could not determine the dependencies of task ':flutter_unity_widget:generateDebugRFile'.
step 3: flutter run
but step 3 shows error I don't know what should I do PLEASE HELP !!! This is the output that I got

PS D:\flutter projects\flutter project from github\flutter-unity-arkit-demo-master> flutter run
Running "flutter pub get" in flutter-unity-arkit-demo-master... 777ms
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Warning
──────────────────────────────────────────────────────────────────────────────
Your Flutter application is created using an older version of the Android
embedding. It's being deprecated in favor of Android embedding v2. Follow the
steps at

https://flutter.dev/go/android-project-migration

to migrate your project.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Using hardware rendering with device AOSP on IA Emulator. If you notice graphics artifacts, consider enabling software rendering
with "--enable-software-rendering".
Launching lib\main.dart on AOSP on IA Emulator in debug mode...
[!] Your app isn't using AndroidX.
To avoid potential build failures, you can quickly migrate your app by following the steps on https://goo.gl/CP92wY .

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':flutter_unity_widget:generateDebugRFile'.

Could not resolve all task dependencies for configuration ':flutter_unity_widget:debugRuntimeClasspath'.
Could not find :arcore_client:.
Required by:
project :flutter_unity_widget > project :UnityExport
Could not find :ARPresto:.
Required by:
project :flutter_unity_widget > project :UnityExport
Could not find :unityandroidpermissions:.
Required by:
project :flutter_unity_widget > project :UnityExport
Could not find :UnityARCore:.
Required by:
project :flutter_unity_widget > project :UnityExport

  • 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 19s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 21.0s
Exception: Gradle task assembleDebug failed with exit code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions