-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Closed
Copy link
Labels
p: pigeonrelated to pigeon messaging codegen toolrelated to pigeon messaging codegen toolp: webviewThe WebView pluginThe WebView pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallyteam-ecosystemOwned by Ecosystem teamOwned by Ecosystem team
Description
What package does this bug report belong to?
webview_flutter
What target platforms are you seeing this bug on?
Android
Have you already upgraded your packages?
Yes
Dependency versions
pubspec.lock
[Paste file content here]
Steps to reproduce
- Run
flutter pub geton a project usingwebview_flutterand using Kotlin 1.8.x. - Attempt to build for android
Expected results
App builds
Actual results
Compiler error from Android:
e: file:///Users/jeff.ward/.pub-cache/hosted/pub.dev/webview_flutter_android-4.10.6/android/src/main/java/io/flutter/plugins/webviewflutter/AndroidWebkitLibrary.g.kt:222:71 Type argument is not within its bounds: should be subtype of 'Any'
Code sample
Code sample
None
Screenshots or Videos
No response
Logs
No response
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.38.1, on macOS 15.7.1 24G231 darwin-arm64, locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 36.0.0)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[✓] Xcode - develop for iOS and macOS (Xcode 16.4)
[✓] Chrome - develop for the web
[✓] Connected device (4 available)
! Error: Browsing on the local area network for Jeff’s iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resourcesMetadata
Metadata
Assignees
Labels
p: pigeonrelated to pigeon messaging codegen toolrelated to pigeon messaging codegen toolp: webviewThe WebView pluginThe WebView pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallyteam-ecosystemOwned by Ecosystem teamOwned by Ecosystem team