gstory0404 / flutter_tencentad

腾讯优量汇(广点通)广告 Flutter版本

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The plugin `flutter_tencentad` doesn't have a main class defined...

zanpen2000 opened this issue · comments

commented
The plugin `flutter_tencentad` doesn't have a main class defined in /home/peng/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.2.1/android/src/main/java/com/gstory/flutter_tencentad/FlutterTencentadPlugin.java or
/home/peng/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.2.1/android/src/main/kotlin/com/gstory/flutter_tencentad/FlutterTencentadPlugin.kt. This is likely to due to an incorrect `androidPackage: com.gstory.flutter_tencentad`
or `mainClass` entry in the plugin's pubspec.yaml.
If you are the author of this plugin, fix the `androidPackage` entry or move the main class to any of locations used above. Otherwise, please contact the author of this plugin and consider using a different plugin in the meanwhile.
$ flutter doctor                        
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel unknown, 2.10.5, on Manjaro Linux 5.15.49-1-MANJARO, locale zh_CN.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] Android Studio
[✓] IntelliJ IDEA Ultimate Edition (version 2021.2)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

• No issues found!

清理本地缓存 重新拉去试一下