juicycleff / flutter-unity-arkit-demo

This demo uses flutter unity view widget to show AR KIT with Unity3D
230 stars 76 forks source link

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

Open rahulmool opened 3 years ago

rahulmool commented 3 years ago

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.

BUILD FAILED in 19s Running Gradle task 'assembleDebug'... Running Gradle task 'assembleDebug'... Done 21.0s Exception: Gradle task assembleDebug failed with exit code 1

rahulmool commented 3 years ago

Can someone please create an example project for flutter_unity_widget for arfoundation . I am scratching my head for months but I can not figure out how to implement it. It will be really helpful if someone will help me. You will be a life save-our .