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

tag:0.2.7 无法运行debug包 #51

Open
songqii opened this issue Jan 27, 2021 · 2 comments
Open

tag:0.2.7 无法运行debug包 #51

songqii opened this issue Jan 27, 2021 · 2 comments

Comments

@songqii
Copy link

songqii commented Jan 27, 2021

我是从0.2.3升到0.2.7的
然后直接运行报错:

/Users/xxx/code/flutter/.pub-cache/hosted/pub.flutter-io.cn/pangolin-0.2.7/android/src/main/java/com/tongyangsheng/pangolin/RewardVideo.java:130: error: <anonymous com.tongyangsheng.pangolin.RewardVideo$1$1> is not abstract and does not override abstract method onRewardVerify(boolean,int,String) in RewardAdInteractionListener
mttRewardVideoAd.setRewardAdInteractionListener(new TTRewardVideoAd.RewardAdInteractionListener() {
^
/Users/xxx/code/flutter/.pub-cache/hosted/pub.flutter-io.cn/pangolin-0.2.7/android/src/main/java/com/tongyangsheng/pangolin/RewardVideo.java:179: error: method does not override or implement a method from a supertype
@OverRide
^
Note: /Users/xxx/code/flutter/.pub-cache/hosted/pub.flutter-io.cn/pangolin-0.2.7/android/src/main/java/com/tongyangsheng/pangolin/UIUtils.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':pangolin:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 20s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 21.0s
Exception: Gradle task assembleDebug failed with exit code 1


本级环境:
[✓] Flutter (Channel stable, 1.22.5, on Mac OS X 10.15.7 19H2 darwin-x64, locale en-CN)
• Flutter version 1.22.5 at /Users/xxx/code/flutter
• Framework revision 7891006299 (7 weeks ago), 2020-12-10 11:54:40 -0800
• Engine revision ae90085a84
• Dart version 2.10.4
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Users/xxx/Library/Android/sdk
• Platform android-29, build-tools 29.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.4)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.4, Build version 12D4e
• CocoaPods version 1.8.4

[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin installed
• Dart plugin version 201.9002
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.52.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.18.1

[✓] Proxy Configuration
• HTTP_PROXY is set
• NO_PROXY is localhost,127.0.0.1
• NO_PROXY contains 127.0.0.1
• NO_PROXY contains localhost

@wengxianxun
Copy link

解决了吗兄弟,我也遇到

@songqii
Copy link
Author

songqii commented Jul 12, 2021

解决了吗兄弟,我也遇到

没,依然在用0.2.3

@OpenFlutter OpenFlutter deleted a comment from BytesZero Aug 28, 2021
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

2 participants