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

使用模拟器打开文件时出现异常 #5

Closed
pipiaha opened this issue Jul 22, 2020 · 2 comments
Closed

使用模拟器打开文件时出现异常 #5

pipiaha opened this issue Jul 22, 2020 · 2 comments

Comments

@pipiaha
Copy link

pipiaha commented Jul 22, 2020

Unhandled Exception: PlatformException(error, Unable to find explicit activity class {[我的工程包路径]/zzaning.com.filepreview.FileDisplayActivity}; have you declared this activity in your AndroidManifest.xml?, null)
E/flutter ( 4145): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:569:7)
E/flutter ( 4145): #1 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:321:33)
E/flutter ( 4145):
E/flutter ( 4145): #2 FilePreview.openFile (package:file_preview/file_preview.dart:11:42)
E/flutter ( 4145): #3 TrainHomeScreenWidget._buildExamArea. (package:ais/train/train_home.dart:278:39)
E/flutter ( 4145): #4 _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:706:14)
E/flutter ( 4145): #5 _InkResponseState.build. (package:flutter/src/material/ink_well.dart:789:36)
E/flutter ( 4145): #6 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24)
E/flutter ( 4145): #7 TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:486:11)
E/flutter ( 4145): #8 BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:264:5)
E/flutter ( 4145): #9 BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:236:7)
E/flutter ( 4145): #10 GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
E/flutter ( 4145): #11 GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:222:20)
E/flutter ( 4145): #12 GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:198:22)
E/flutter ( 4145): #13 GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:156:7)
E/flutter ( 4145): #14 GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:102:7)
E/flutter ( 4145): #15 GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:86:7)
E/flutter ( 4145): #16 _rootRunUnary (dart:async/zone.dart:1138:13)
E/flutter ( 4145): #17 _CustomZone.runUnary (dart:async/zone.dart:1031:19)
E/flutter ( 4145): #18 _CustomZone.runUnaryGuarded (dart:async/zone.dart:933:7)
E/flutter ( 4145): #19 _invoke1 (dart:ui/hooks.dart:273:10)
E/flutter ( 4145): #20 _dispatchPointerDataPacket (dart:ui/hooks.dart:182:5)
E/flutter ( 4145):

@pipiaha pipiaha changed the title 模拟器出现异常 使用模拟器打开文件时出现异常 Jul 22, 2020
@aliyoge
Copy link
Owner

aliyoge commented Aug 22, 2020

@pipiaha 请尝试一下新版本

@aliyoge aliyoge closed this as completed Aug 22, 2020
@burakcbdn
Copy link

Same issue

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

3 participants