Giter Club home page Giter Club logo

Comments (8)

tiagosito avatar tiagosito commented on July 22, 2024 1

I have the same problem,
but this happens only when you install the app, when it is already installed and you are only updating / developing ... this does not happen to me or when you run the flutter clean

Launching lib/main.dart on ASUS Z00AD in debug mode...
Initializing gradle...
Resolving dependencies...
Gradle task 'assembleDebug'...
Note: /Users/tiagosito/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.2.1+2/android/src/main/java/com/flutter_webview_plugin/WebviewManager.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/tiagosito/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.2.1+2/android/src/main/java/com/flutter_webview_plugin/WebviewManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
flutter doctor -v
[✓] Flutter (Channel dev, v0.10.2, on Mac OS X 10.13.6 17G3025, locale pt-BR)
    • Flutter version 0.10.2 at /Users/tiagosito/flutter
    • Framework revision d8cbb80206 (13 days ago), 2018-10-26 01:30:21 -0400
    • Engine revision 6c2ade9fa2
    • Dart version 2.1.0-dev.8.0.flutter-bf26f760b1

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /Users/tiagosito/Library/Android/sdk
    • Android NDK at /Users/tiagosito/Library/Android/sdk/ndk-bundle
    • Platform android-28, build-tools 28.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_152-release-1136-b06)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.2

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 29.1.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] Connected device (3 available)
    • ASUS Z00AD    • 12T456020764MYV                          • android-x86 • Android 5.0 (API 21)
    • Devs iPhone   • 615g7af4e12h3b2f1400n2132a1927634c08afe • ios         • iOS 12.0.1
    • iPhone XS Max • 5F946CFA-53EE-7283-9A94-36C2FFHE70AA     • ios         • iOS 12.1 (simulator)

• No issues found!

from flutter_webview_plugin.

lejard-h avatar lejard-h commented on July 22, 2024

need investigation, I get the error at compile time but not in Android studio

from flutter_webview_plugin.

mrbm avatar mrbm commented on July 22, 2024

I am on Studio 3.1.1 on a mac high sierra with:

Flutter 0.2.5 • channel unknown • unknown source Framework • revision bffae21571 (3 weeks ago) • 2018-03-28 12:07:12 -0700 Engine • revision dd6f46c485 Tools • Dart 2.0.0-dev.41.0.flutter-2f68e82526

And I get that same message.

from flutter_webview_plugin.

jparound30 avatar jparound30 commented on July 22, 2024

maybe about this line.

https://github.com/dart-flitter/flutter_webview_plugin/blob/c9033c4181a8564921703f8a7a69e2e6bb4c5889/android/src/main/java/com/flutter_webview_plugin/WebviewManager.java#L62

This API was deprecated at API level 21.
But if it is above API level 21, it is already implemented that uses another API.

I think, there is no problem.

from flutter_webview_plugin.

deju avatar deju commented on July 22, 2024

@jparound30
so upgrade flutter_webview_plugin to new version?

from flutter_webview_plugin.

samgithub-duplicate avatar samgithub-duplicate commented on July 22, 2024

I'm not quite sure what the solution to this problem is. I just upgraded to Flutter Preview Release 2 (which also installs DART 2) -- That's when the problem started:

I have the latest version of the plugin. (flutter_webview_plugin: ^0.2.1+2)
Flutter Doctor has no issues found. Should I just ignore the error?

from flutter_webview_plugin.

muhammadmateen027 avatar muhammadmateen027 commented on July 22, 2024

Hi Guys,

Facing this issue, don't know how to resolve. Tried a lot of techniques:

Note: /Users/muhammadmateen/Library/flutter-sdk/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.3.8/android/src/main/java/com/flutter_webview_plugin/WebviewManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 106.2s
Gradle task assembleRelease failed with exit code 1

from flutter_webview_plugin.

yourshinsuke avatar yourshinsuke commented on July 22, 2024

@fluttercommunity is not google employment?

from flutter_webview_plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.