chewie icon indicating copy to clipboard operation
chewie copied to clipboard

Android release issue

Open Joyker opened this issue 4 years ago • 5 comments

Hello, there is a problem. In debug everythinng fine, but in release i got grey screen and audio. Flutter (Channel stable, 1.20.2) chewie: 0.9.10 video_player: 0.10.12+5

in console: E/flutter (18918): [ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: NoSuchMethodError: The method 'contains' was called on null. E/flutter (18918): Receiver: null E/flutter (18918): Tried calling: contains() E/flutter (18918): #0 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2151) E/flutter (18918): #1 RenderBoxContainerDefaultsMixin.defaultHitTestChildren. (package:flutter/src/rendering/box.dart:2505) E/flutter (18918): #2 BoxHitTestResult.addWithPaintOffset (package:flutter/src/rendering/box.dart:773) E/flutter (18918): #3 RenderBoxContainerDefaultsMixin.defaultHitTestChildren (package:flutter/src/rendering/box.dart:2500) E/flutter (18918): #4 RenderCustomMultiChildLayoutBox.hitTestChildren (package:flutter/src/rendering/custom_layout.dart:411) E/flutter (18918): #5 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2152) E/flutter (18918): #6 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:124) E/flutter (18918): #7 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2152) E/flutter (18918): #8 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:124) E/flutter (18918): #9 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2152) E/flutter (18918): #10 RenderClipRRect.hitTest (package:flutter/src/rendering/proxy_box.dart:1431) E/flutter (18918): #11 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:124) E/flutter (18918): #12 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2152) E/flutter (18918): #13 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:124) E/flutter (18918): #14 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2152) E/flutter (18918): #15 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:124) E/flutter (18918): #16 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2152) E/flutter (18918): #17 RenderIgnorePointer.hitTest (package:flutter/src/rendering/proxy_box.dart:3124) E/flutter (18918): #18 RenderBoxContainerDefaultsMixin.defaultHitTestChildren. (package:flutter/src/rendering/box.dart:2505) E/flutter (18918): #19 BoxHitTestResult.addWithPaintOffset (package:flutter/src/rendering/box.dart:773) E/flutter (18918): #20 RenderBoxContainerDefaultsMixin.defaultHitTestChildren (package:flutter/src/rendering/box.dart:2500) E/flutter (18918): #21 RenderStack.hitTestChildren (package:flutter/src/rendering/stack.dart:599) E/flutter (18918): #22 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2152) E/flutter (18918): #23 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:124) E/flutter (18918): #24 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2152) E/flutter (18918): #25 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:124) E/flutter (18918): #26 RenderFractionalTranslation.hitTestChildren. (package:flutter/src/rendering/proxy_box.dart:2543) E/flutter (18918): #27 BoxHitTestResult.addWithPaintOffset (package:flutter/src/rendering/box.dart:773) E/flutter (18918): #28 RenderFractionalTranslation.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:2537) E/flutter (18918): #29 RenderFractionalTranslation.hitTest (package:flutter/src/rendering/proxy_box.dart:2523) E/flutter (18918): #30 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:124) E/flutter (18918): #31 RenderFractionalTranslation.hitTestChildren. (package:flutter/src/rendering/proxy_box.dart:2543) E/flutter (18918): #32 BoxHitTestResult.addWithPaintOffset (package:flutter/src/rendering/box.dart:773) E/flutter (18918): #33 RenderFractionalTranslation.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:2537) E/flutter (18918): #34 RenderFractionalTranslation.hitTest (package:flutter/src/rendering/proxy_box.dart:2523) E/flutter (18918): #35 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:124) E/flutter (18918): #36 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2152) E/flutter (18918): #37 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:124) E/flutter (18918): #38 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2152) E/flutter (18918): #39 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:124) E/flutter (18918): #40 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2152) E/flutter (18918): #41 RenderIgnorePointer.hitTest (package:flutter/src/rendering/proxy_box.dart:3124) E/flutter (18918): #42 RenderProxyBoxMixin.hitTestChildren (pa

Thanks in advance

Joyker avatar Sep 28 '20 11:09 Joyker

same problem did you find a solution

ahmedJD avatar Jan 28 '21 22:01 ahmedJD

same problem did you find a solution Can you share code with problem?

Joyker avatar Jan 29 '21 09:01 Joyker

Same here .. I got to make the example work on my device (although the current version of the example has issues), but when I build a release apk, the example does not work anymore.

al-sadi avatar Aug 06 '21 06:08 al-sadi

same issue here. Debug build works fine. Release build has grey screen and audio is playing. No video.

Any resolution for this?

shivaRamdeen avatar Feb 04 '22 23:02 shivaRamdeen

Any resolution?

Siddharth2212 avatar Jun 02 '22 14:06 Siddharth2212