CariusLars / ar_flutter_plugin

Flutter Plugin for AR (Augmented Reality) - Supports ARKit on iOS and ARCore on Android devices
MIT License
322 stars 233 forks source link

Plane Detection not working #50

Closed naveenbharadwaj19 closed 2 years ago

naveenbharadwaj19 commented 2 years ago

Plane is not detecting in emulator but working in physical device

flutter doctor -v :

[√] Flutter (Channel stable, 2.5.0, on Microsoft Windows [Version 10.0.19043.1288], locale en-IN)
    • Flutter version 2.5.0 at D:\OTHER FILES D\CS ALL FOLD\Flutter main sdk\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4cc385b4b8 (7 weeks ago), 2021-09-07 23:01:49 -0700
    • Engine revision f0826da7ef
    • Dart version 2.14.0

[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at D:\Android_SDK
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = D:\Android_SDK
    • Java binary at: D:\Android studio main\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 2020.3)
    • Android Studio at D:\Android studio main
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[√] VS Code (version 1.53.2)
    • VS Code at C:\Users\bhara\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.20.0

[√] Connected device (1 available)
    • sdk gphone x86 (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)

• No issues found!

Screenshot_1635327194 Screenshot_1635327203 Screenshot_1635327224

CariusLars commented 2 years ago

Unfortunately, this plugin isn't tested to work in the emulator, so I can't help you with that issue. Do native Android ARCore sample applications work with plane tracking in the simulator for you?

naveenbharadwaj19 commented 2 years ago

Well it was working fine in both emulators and physcial device . After upgrading to the latest android studio version i'm facing this issue(you can check my android studio version above). ARcore plane detection stopped working in emulator either

CariusLars commented 2 years ago

Good to know that it worked before! If ARCore stopped working as well that seems to be an issue with the new Android studio version though, not with this plugin