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

/Users/xxx/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-1.0.1/android/src/main/java/io/flutter/plugins/videoplayer/VideoPlayerPlugin.java:10: 错误: 找不到符号 import io.flutter.FlutterInjector; #85

Closed
a943999733 opened this issue Feb 8, 2021 · 1 comment
Labels
i: read document The author of the issue didn't read the document. s: invalid This doesn't seem right.

Comments

@a943999733
Copy link

安装完编译就报错
/Users/xxx/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-1.0.1/android/src/main/java/io/flutter/plugins/videoplayer/VideoPlayerPlugin.java:10: 错误: 找不到符号
import io.flutter.FlutterInjector;
安装完编译就报错

How to reproduce (如何复现)
environment:
sdk: ">=2.7.0"

wechat_assets_picker: ^4.2.2

android {
compileSdkVersion 28

sourceSets {
    main.java.srcDirs += 'src/main/kotlin'
}

lintOptions {
    disable 'InvalidPackage'
}

defaultConfig {
    // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
    applicationId "com.provide.flutter_app"
    minSdkVersion 16
    targetSdkVersion 28
    versionCode flutterVersionCode.toInteger()
    versionName flutterVersionName
}

请提供一个最小化的demo用于复现,而不要提供整个项目或者不完整的页面,否则我们有权拒绝你的请求。

Steps to reproduce the behavior (描述复现步骤):
集成进来编译就报错

hannel stable, 1.20.2, on Mac OS X 10.15.7 19H114, locale
zh-Hans-CN)

@a943999733 a943999733 added the await investigate The issue is waiting for further investigation. label Feb 8, 2021
@a943999733 a943999733 changed the title /Users/liukun/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-1.0.1/android/src/main/java/io/flutter/plugins/videoplayer/VideoPlayerPlugin.java:10: 错误: 找不到符号 import io.flutter.FlutterInjector; /Users/xxx/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-1.0.1/android/src/main/java/io/flutter/plugins/videoplayer/VideoPlayerPlugin.java:10: 错误: 找不到符号 import io.flutter.FlutterInjector; Feb 8, 2021
@github-actions github-actions bot added the await triage The issue is waiting for triage. label Feb 8, 2021
@AlexV525
Copy link
Member

AlexV525 commented Feb 8, 2021

References: #73 , #28 .

@AlexV525 AlexV525 closed this as completed Feb 8, 2021
@AlexV525 AlexV525 added i: read document The author of the issue didn't read the document. s: invalid This doesn't seem right. and removed await investigate The issue is waiting for further investigation. await triage The issue is waiting for triage. labels Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i: read document The author of the issue didn't read the document. s: invalid This doesn't seem right.
Projects
None yet
Development

No branches or pull requests

2 participants