Comments (11)
i too have the same problem help me if you found any solutions
from model_viewer.dart.
i too have the same problem help me if you found any solutions
Hello. I know how to fix it.
-
You need to set or update AR settings in your project. Follow this link
https://developers.google.com/ar/develop/java/enable-arcore#ar-required_1 -
Check Google AR services on your device is installed/updated.
-
Check build.gradle file in your project
dependencies {
classpath 'com.android.tools.build:gradle:3.6.0'
...
} -
Check gradle\wrapper - gradle-wrapper properties
distributionUrl=https://services.gradle.org/distributions/gradle-5.6.4-all.zip -
Restart you project.
I hope this helps.
from model_viewer.dart.
i tried with your solution same problem again for me can you share your repo
or i will share mine please help me to fix https://github.com/ajailee/MyHome.git
from model_viewer.dart.
i tried with your solution same problem again for me can you share your repo
or i will share mine please help me to fix https://github.com/ajailee/MyHome.git
try to use this too
https://pub.dev/packages/arcore_flutter_plugin
from model_viewer.dart.
from model_viewer.dart.
from model_viewer.dart.
body: ModelViewer(
src: 'https://modelviewer.dev/shared-assets/models/Astronaut.glb',
alt: "A 3D model of an astronaut",
ar: true,
autoRotate: true,
cameraControls: true,
),
1. change src
src: 'assets/MyModel.glb',
2. add assets/MyModel.glb to pubspec.yaml like picture
assets:
- assets/MyModel.glb
3. Save and restart
from model_viewer.dart.
from model_viewer.dart.
try to add this to pubspec.yaml
webview_flutter: ^0.3.24
from model_viewer.dart.
from model_viewer.dart.
from model_viewer.dart.
Related Issues (20)
- Error: WebGL is not available!", source: http://127.0.0.1:56195/model-viewer.js (61107)
- default camera position view
- AR not working when load local asset HOT 1
- load 2 model in the same scene
- Blank Screen Running on IOS
- Load GLTF + BIN + Textures mode
- ModelViewer widget does not load after publishing on Google Play HOT 2
- Cannot pan the camera HOT 1
- AR by default
- Skybox / HDRI Background
- import 'package:model_viewer/model_viewer.dart' not working in a null save library HOT 4
- Crashes on Android
- no AR support for webxr
- Annotations support
- Generate Posters
- Multiple animations in single object
- Is it possible to update camera using a controller?
- 3D Model from assets loads in local host but not server hosting service
- Is there a way to use this package inside a flutterflow project HOT 1
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 model_viewer.dart.