giandifra / arcore_flutter_plugin

Flutter plugin for ARCore SDK, Android platform to build new augmented reality experiences
MIT License
431 stars 274 forks source link

Android 11 #156

Open chinu999 opened 3 years ago

chinu999 commented 3 years ago

on Android 11 it is saying to update arcore but arcore is already up to date

go2hyder commented 2 years ago

Same issue here. Any solutions?

go2hyder commented 2 years ago

WhatsApp Image 2021-09-22 at 10 54 46 AM

The screen is stuck on this popup

billbull21 commented 2 years ago

you should just change the target sdk to 29

ghost commented 2 years ago

@billbull21 unfortunately play console now requires you to target android 11 (sdk 30)

billbull21 commented 2 years ago

@billbull21 unfortunately play console now requires you to target android 11 (sdk 30)

is it true ? i don't know, i currently targetting my app to the sdk 29 and still working fine.

ghost commented 2 years ago

Starting from November any new apps or updates seem to require sdk 30. Meet Google Play's target API level requirement

lFitzl commented 2 years ago

Starting from November any new apps or updates seem to require sdk 30. Meet Google Play's target API level requirement

add

dependencies:
   ar_flutter_plugin: ^0.5.1

This worked for me

gogori2 commented 2 years ago

I fixed this with changing value to optional in Manifest:

<meta-data android:name="com.google.ar.core" android:value="optional" />

dev-mohib commented 2 years ago

you should just change the target sdk to 29

Worked

cozvtieg9 commented 2 years ago

This works for me (tested on Pixel 6, Android 12): I downloaded plugin source and added to pubspec in this way: arcore_flutter_plugin path: './arcore_flutter_plugin'

Next step is update versions in plugin build.gradle:

  1. In android

compileSdkVersion 30

  1. In 'buildscript'

ext.kotlin_version = '1.6.20'`

  1. In 'dependencies'

    implementation 'com.google.ar:core:1.30.0' implementation 'com.google.ar.sceneform:core:1.17.1' implementation 'com.google.ar.sceneform:assets:1.17.1' implementation 'com.google.ar.sceneform.ux:sceneform-ux:1.17.1'

alegos27 commented 2 years ago

This works for me (tested on Pixel 6, Android 12): I downloaded plugin source and added to pubspec in this way: arcore_flutter_plugin path: './arcore_flutter_plugin'

Next step is update versions in plugin build.gradle:

  1. In android

compileSdkVersion 30

  1. In 'buildscript'

ext.kotlin_version = '1.6.20'`

  1. In 'dependencies'

implementation 'com.google.ar:core:1.30.0' implementation 'com.google.ar.sceneform:core:1.17.1' implementation 'com.google.ar.sceneform:assets:1.17.1' implementation 'com.google.ar.sceneform.ux:sceneform-ux:1.17.1'

this work also for me