Gavin Henry
Gavin Henry
I see it here too: ``` flutter drive --target=test_driver/app.dart The plugin `flutter_ios_voip_kit` doesn't have a main class defined in /development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_ios_voip_kit-0.0.4+1/android/src/main/java/netkeepingblog/flutter_ios_voip_kit/FlutterIOSVoIPKitPlugin.java or /development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_ios_voip_kit-0.0.4+1/android/src/main/kotlin/netkeepingblog/flutter_ios_voip_kit/FlutterIOSVoIPKitPlugin.kt. This is likely to due to an incorrect...
Thanks. I did that (delete my pub-cache), but still get: ``` rm -rf ~/.pub-cache/ rm -rf ~/development/flutter/.pub-cache/ flutter run Running "flutter pub get" in SureVoIP-Talk... 38.7s The plugin `flutter_ios_voip_kit` doesn't...
Also tried: `flutter pub cache repair`
Found it!!!! Typo: `/home/ghenry/.pub-cache/hosted/pub.dartlang.org/flutter_ios_voip_kit-0.0.4+1/android/src/main/java/netkeepingblog/flutter_ios_voip_kit/FlutterIOSVoIPKitPlugin.java ` should be: `netkeepingblog/flutter_iOS_VoIP_kit` so in your `pubspec.yaml` swap this: ``` flutter: plugin: platforms: android: package: netkeepingblog.flutter_ios_voip_kit pluginClass: FlutterIOSVoIPKitPlugin ios: pluginClass: FlutterIOSVoIPKitPlugin ``` to ``` flutter:...
So simply, change `flutter_ios_voip_kit` to `flutter_iOS_VoIP_kit` in your `pubspec.yaml` and release a new version to https://pub.dev Actually, after doing this edit, `flutter run` fails with: ``` /AndroidStudioProjects/SureVoIP-Talk/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java:27: error: package netkeepingblog.flutter_iOS_VoIP_kit...
The folder rename fixes this issue: `.pub-cache/hosted/pub.dartlang.org/flutter_ios_voip_kit-0.0.4+1/android/src/main/kotlin/netkeepingblog $ mv flutter_iOS_VoIP_kit/ flutter_ios_voip_kit/` Once you do that and publish a new version, we're all good.
I'll I didn't need to do this on macOS, the issue with Case is on Linux.
Any news? Still getting this: ``` The plugin `flutter_ios_voip_kit` doesn't have a main class defined in ~/.pub-cache/hosted/pub.dartlang.org/flutter_ios_voip_kit-0.0.4+1/android/src/main/java/netkeepingblog/flutter_ios_voip_kit/FlutterIOSVoIPKitPlugin.java or ~/.pub-cache/hosted/pub.dartlang.org/flutter_ios_voip_kit-0.0.4+1/android/src/main/kotlin/netkeepingblog/flutter_ios_voip_kit/FlutterIOSVoIPKitPlugin.kt. This is likely to due to an incorrect `androidPackage: netkeepingblog.flutter_ios_voip_kit` or...
Doing this, as explained, resolves the issue https://github.com/masashi-sutou/flutter_ios_voip_kit/issues/11#issuecomment-663613924
On 8 Dec 2015 22:34, "Tomohiro Hosaka" [email protected] wrote: > I also encountered. > > % cat > /usr/ports/www/p5-HTML-FormHandler/files/patch-lib_HTML_FormHandler_Field_Captcha.pm > --- lib/HTML/FormHandler/Field/Captcha.pm.orig 2015-09-17 14:56:43 UTC > +++ lib/HTML/FormHandler/Field/Captcha.pm > @@...