Linux下找不到 FlutterTencentadPlugin.kt
zanpen2000 opened this issue · comments
peng commented
The plugin `flutter_tencentad` doesn't have a main class defined in /home/peng/.pub-cache/hosted/pub.dartlang.org/flutter_tencentad-1.2.1/android/src/main/java/com/gstory/flutter_tencentad/FlutterTencentadPlugin.java or /home/peng/.pub-cache/hosted/pub.dartlang.org/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.
实际路径中文件名为FlutterTencentAdPlugin.kt
, 导致报以上错误
gstory commented
查看插件缓存目录是否存在该文件
或者flutter clean ,flutter pub get 重新拉取插件尝试
peng commented
我确定是和Linux系统大小写有关系