Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安卓闪退 #54

Open
chentianxin opened this issue Mar 15, 2023 · 0 comments
Open

安卓闪退 #54

chentianxin opened this issue Mar 15, 2023 · 0 comments

Comments

@chentianxin
Copy link

下载的最新源码,把初始化数据修改成异步网络请求
上下刷视频可能会闪退(大概加载了是个二十条数据) 或者 有上一个视频的声音 但没画面

flutter_tiktok-master.zip

E/AndroidRuntime(21649): Process: com.oversketch.flutter_tiktok, PID: 21649
E/AndroidRuntime(21649): java.lang.OutOfMemoryError: Failed to allocate a 4904 byte allocation with 303696 free bytes and 296KB until OOM, target footprint 402653184, growth limit 402653184; giving up on allocation because <1% of heap free after GC.
E/AndroidRuntime(21649): 	at java.util.Arrays.copyOf(Arrays.java:3161)
E/AndroidRuntime(21649): 	at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:118)
E/AndroidRuntime(21649): 	at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
E/AndroidRuntime(21649): 	at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:135)
E/AndroidRuntime(21649): 	at io.flutter.plugin.common.StandardMessageCodec.writeValue(StandardMessageCodec.java:243)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant