Git Product home page Git Product logo

Comments (10)

Azis202017 avatar Azis202017 commented on July 16, 2024 1

same here, has it been solved?

from arcore_flutter_plugin.

badiul6 avatar badiul6 commented on July 16, 2024 1

Not Yet

from arcore_flutter_plugin.

brollsroyce avatar brollsroyce commented on July 16, 2024 1

Quick fix:
clone this branch: #215
and then locally import ar_flutter_plugin using the path to the cloned repo

from arcore_flutter_plugin.

bariskoe avatar bariskoe commented on July 16, 2024

Same problem here. Any suggestions how to quickfix?

from arcore_flutter_plugin.

M4RC0N3 avatar M4RC0N3 commented on July 16, 2024

Same problem here!! I don't know what to do anymore... 😕

from arcore_flutter_plugin.

NafeeWalee avatar NafeeWalee commented on July 16, 2024

Changed the highlighted version.

Screenshot 2023-08-23 134047

from arcore_flutter_plugin.

yaffalhakim1 avatar yaffalhakim1 commented on July 16, 2024

Quick fix: clone this branch: #215 and then locally import ar_flutter_plugin using the path to the cloned repo

would you mind give detailed tutorial? i tried this way but have some errors like 'Couldn't resolve the package....'

from arcore_flutter_plugin.

brollsroyce avatar brollsroyce commented on July 16, 2024

Quick fix: clone this branch: #215 and then locally import ar_flutter_plugin using the path to the cloned repo

would you mind give detailed tutorial? i tried this way but have some errors like 'Couldn't resolve the package....'

Clone the branch that I mentioned and add the path of the cloned repo to the dependencies in pubsepc.yaml as follows:
dependencies:
flutter:
sdk: flutter
// any other dependencies
ar_flutter_plugin:
path: path/to/ar_flutter_plugin

from arcore_flutter_plugin.

KJ-Waller avatar KJ-Waller commented on July 16, 2024

Quick fix: clone this branch: #215 and then locally import ar_flutter_plugin using the path to the cloned repo

would you mind give detailed tutorial? i tried this way but have some errors like 'Couldn't resolve the package....'

Clone the branch that I mentioned and add the path of the cloned repo to the dependencies in pubsepc.yaml as follows: dependencies: flutter: sdk: flutter // any other dependencies ar_flutter_plugin: path: path/to/ar_flutter_plugin

I'm still getting an issue after this fix, would you happen to know how to fix this?

> flutter run
Resolving dependencies... 
The current Dart SDK version is 3.1.3.

Because arcore_flutter_plugin_example depends on cupertino_icons >=0.1.1 <1.0.1 which doesn't support null safety, version solving failed.

The lower bound of "sdk: '<2.0.0 or >=2.0.0-dev.28.0 <3.0.0'" must be 2.12.0 or higher to enable null safety.
For details, see https://dart.dev/null-safety


You can try the following suggestion to make the pubspec resolve:
* Try upgrading your constraint on cupertino_icons: flutter pub add cupertino_icons:^1.0.6

Installing the recommended version in cupertino_icons just causes a lot of errors like the following

The minCompileSdk (33) specified in a
        dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
        is greater than this module's compileSdkVersion (android-31).
        Dependency: androidx.appcompat:appcompat-resources:1.6.1.

Which recommends a fix to increase the compileSdkVersion in my app\build.gradle to 33, but this just makes me run into the following error

Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/03 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01

from arcore_flutter_plugin.

KJ-Waller avatar KJ-Waller commented on July 16, 2024

Quick fix: clone this branch: #215 and then locally import ar_flutter_plugin using the path to the cloned repo

would you mind give detailed tutorial? i tried this way but have some errors like 'Couldn't resolve the package....'

Clone the branch that I mentioned and add the path of the cloned repo to the dependencies in pubsepc.yaml as follows: dependencies: flutter: sdk: flutter // any other dependencies ar_flutter_plugin: path: path/to/ar_flutter_plugin

I'm still getting an issue after this fix, would you happen to know how to fix this?

> flutter run
Resolving dependencies... 
The current Dart SDK version is 3.1.3.

Because arcore_flutter_plugin_example depends on cupertino_icons >=0.1.1 <1.0.1 which doesn't support null safety, version solving failed.

The lower bound of "sdk: '<2.0.0 or >=2.0.0-dev.28.0 <3.0.0'" must be 2.12.0 or higher to enable null safety.
For details, see https://dart.dev/null-safety


You can try the following suggestion to make the pubspec resolve:
* Try upgrading your constraint on cupertino_icons: flutter pub add cupertino_icons:^1.0.6

Installing the recommended version in cupertino_icons just causes a lot of errors like the following

The minCompileSdk (33) specified in a
        dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
        is greater than this module's compileSdkVersion (android-31).
        Dependency: androidx.appcompat:appcompat-resources:1.6.1.

Which recommends a fix to increase the compileSdkVersion in my app\build.gradle to 33, but this just makes me run into the following error

Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/03 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01

I was able to fix it by just commenting out the line cupertino_icons: ^0.1.3 in the pubspec.yaml file, in addition to pointing to the path of the cloned repo from pull request 215 in my pubspec.yaml under arcore_flutter_plugin.

from arcore_flutter_plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.