Comments (10)
same here, has it been solved?
from arcore_flutter_plugin.
Not Yet
from arcore_flutter_plugin.
Quick fix:
clone this branch: #215
and then locally import ar_flutter_plugin using the path to the cloned repo
from arcore_flutter_plugin.
Same problem here. Any suggestions how to quickfix?
from arcore_flutter_plugin.
Same problem here!! I don't know what to do anymore... 😕
from arcore_flutter_plugin.
Changed the highlighted version.
from arcore_flutter_plugin.
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.
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.
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.
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 myapp\build.gradle
to33
, but this just makes me run into the following errorWarning: 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)
- Build failed -> compilation error HOT 3
- Consider upgrading to SceneView from archived sceneform HOT 11
- Support Geospatial API and Terrain Anchors HOT 1
- Unable to detect ARCore even when its apk is installed HOT 10
- Reuse of Augmented Images Page HOT 2
- Execution failed for task ':arcore_flutter_plugin:compileDebugKotlin'. HOT 2
- MainActivity/MANIFEST_MALFORMED runtime error
- Integration with geospatial creator
- [split_config.arm64_v8a.apk!libfilament-jni.so]
- 0.2.0-alpha - Question
- Feature request: Access camera frames
- Video Recording
- New plugin: from sceneform to sceneview HOT 1
- Node on tap not working? HOT 1
- Kotlin Version error HOT 13
- Kotlin Version HOT 3
- AR Camera feed HOT 3
- Place objects on walls and ceilings
- Kotlin Gradle plugin version error HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arcore_flutter_plugin.