Comments (3)
最新版本未重现,可更新下代码再看。
from flutter_tiktok.
若可以重现我会重新打开issue
from flutter_tiktok.
@mjl0602 我在Android真机上面没有出现该错误,在iPhone8 真机上出现了该错误,可复现
我的代码在这里
https://github.com/leeyisoft/flutter_tiktok/tree/master
#58
Performing hot restart...
Syncing files to device iPhone 8...
Restarted application in 682ms.
flutter: 播放0
flutter: 预加载1
flutter: 释放3
flutter: 释放4
flutter: 释放5
flutter: 释放6
flutter: 释放7
flutter: 释放8
flutter: +++initialize 742332946
flutter: +++==initialize 742332946
flutter: +++initialize 97704552
flutter: +++==initialize 97704552
flutter: 暂停0
flutter: 播放1
flutter: 释放0
flutter: 预加载2
flutter: 释放4
flutter: 释放5
flutter: 释放6
flutter: 释放7
flutter: 释放8
flutter: +++dispose 742332946
flutter: +++==dispose 742332946
flutter: +++initialize 135377901
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: A VideoPlayerController was used after being disposed.
Once you have called dispose() on a VideoPlayerController, it can no longer be used.
#0 ChangeNotifier.debugAssertNotDisposed. (package:flutter/src/foundation/change_notifier.dart:179:9)
#1 ChangeNotifier.debugAssertNotDisposed (package:flutter/src/foundation/change_notifier.dart:186:6)
#2 ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:412:27)
#3 ValueNotifier.value= (package:flutter/src/foundation/change_notifier.dart:555:5)
#4 VideoPlayerController._updatePosition (package:video_player/video_player.dart:746:5)
#5 VideoPlayerController.seekTo (package:video_player/video_player.dart:638:5)
flutter: +++==initialize 135377901
flutter: 暂停1
flutter: 播放2
flutter: 释放0
flutter: 释放1
flutter: 预加载3
flutter: 释放5
flutter: 释放6
flutter: 释放7
flutter: 释放8
flutter: +++dispose 97704552
flutter: +++==dispose 97704552
flutter: +++initialize 967411027
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: A VideoPlayerController was used after being disposed.
Once you have called dispose() on a VideoPlayerController, it can no longer be used.
#0 ChangeNotifier.debugAssertNotDisposed. (package:flutter/src/foundation/change_notifier.dart:179:9)
#1 ChangeNotifier.debugAssertNotDisposed (package:flutter/src/foundation/change_notifier.dart:186:6)
#2 ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:412:27)
#3 ValueNotifier.value= (package:flutter/src/foundation/change_notifier.dart:555:5)
#4 VideoPlayerController._updatePosition (package:video_player/video_player.dart:746:5)
#5 VideoPlayerController.seekTo (package:video_player/video_player.dart:638:5)
flutter: +++==initialize 967411027
from flutter_tiktok.
Related Issues (20)
- How to use it in linux OS? HOT 1
- 说实话,代码写得有点乱,建议拆分成函数,build下面写会造成很严重的性能问题 HOT 1
- 可以把短视频单独抽取出来吗 HOT 1
- star已给 HOT 6
- i need help
- oom HOT 4
- 获取此问题视频更改 vdos HOT 16
- A ValueNotifier<bool> was used after being disposed & A TikTokVideoListController was used after being disposed. HOT 3
- When the video is loaded slowly, the current video will not be closed. When switching the video, there will be background music that does not close the video HOT 6
- 多次提示 Waiting for a blocking GC Alloc,感觉像是内存溢出了 HOT 1
- 【编译出错】FAILURE: Build failed with an exception. HOT 2
- 来参与这个项目吗 https://github.com/telsacoin/telsavideo
- Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain HOT 4
- 视频比例不同时的问题 HOT 4
- 切换视频的时候会黑屏。 HOT 3
- 刘海屏适配,顶部会被刘海屏挡住
- 安卓闪退
- 大哥,群加不上
- Disable button double click to close app 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 flutter_tiktok.