Pangolin icon indicating copy to clipboard operation
Pangolin copied to clipboard

tag:0.2.7 无法运行debug包

Open songqii opened this issue 5 years ago • 2 comments

我是从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

songqii avatar Jan 27 '21 17:01 songqii

解决了吗兄弟,我也遇到

wengxianxun avatar Jul 08 '21 00:07 wengxianxun

解决了吗兄弟,我也遇到

没,依然在用0.2.3

songqii avatar Jul 12 '21 02:07 songqii