-
Notifications
You must be signed in to change notification settings - Fork 27.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
url_launcher 5.1.2 warning on build #37616
Comments
I have the same issue
|
I am experiencing the same issue, however the project still runs and the package does function for me despite the build error. |
Same issue. Is there any solution? |
Same issue. My guess is because that file here overrides this:
and as said here from API 24 to now you should use
but since flutter wants to support both before and after API 24, they use both overrides, so... |
Same issue here:
|
Same issue.
@kjeremy maybe edit this issue with default issues template? Steps to reproduce, logs, doctor, etc |
Same issue with
|
I'm having the same issue. |
flutter tech team on vacation i guess ) |
Same issue |
1 similar comment
Same issue |
same issue |
Same issue |
Same here |
Same issue. Maybe flutter team should be looking at this?? |
Same issue |
1 similar comment
Same issue |
is there any solution for this or I also have to write "the SAME ISSUE" |
same issue |
1 similar comment
same issue |
Use url_launcher: ^5.1.3 |
|
In the app level build.gradle update your androidX dependencies, for me worked changing to this versions
My minSdkVersion is 19 so don't know if needed to update to 23 |
@jsgalarraga this did not resolve it for me. |
same issue |
Poxa, até hoje... Estou com problemas na 5.5.0. |
Aqui também.. aguardando atualização... |
still persists.... |
updating to 5.5.0 fixed the issue for me |
Same issue here with version 5.5.0... any news regarding a possible fix? |
Same issue for me with version 5.5.0. |
@angelocapone
|
Same issue for me with version 5.5.0. |
same issue with version |
Hi, I just Explore this issue, I have issue when running or release with flutter build apk command.
Delete and change with this code :
|
.pub-cache/hosted/pub.dartlang.org/url_launcher-5.5.2/android/src/main/java/io/flutter/plugins/urllauncher/WebViewActivity.java |
|
I facing this issue few days ago. I got error
I keep looking on this error and try to fix but to no avail. Then I look for another error line which is
After I upgraded the connectivity plugin to the latest version, the error gone. I would suggest you to look again the error, maybe the error is caused by other issue? |
flutter\plugins\urllauncher\WebViewActivity.java uses or overrides a deprecated API. |
No not yet,but it just warning,nothing much,i have been using this package in my 3 projects for 6+ months still no problems,it works perfectly fine @faisalmushtaq007 |
It is not just a warning. My build fails:
Possibly an issue with Kotlin? https://stackoverflow.com/questions/52567791/use-annotation-processor-in-kotlin line 14 in GeneratedPluginRegistrant.java is a simple "@ Keep" comment
This solved it for me https://stackoverflow.com/questions/56621169/android-error-annotations-are-not-supported-in-source-1-3 |
Hi @mvanbeusekom @amirh Edit: Just tried it myself and I can confirm that the issue does not exist on the latest version of the package.
For anyone facing a similar issue, please file a new issue by providing the information requested in the template. |
@pedromassangocode I can also confirm. The error reported by @giorgio79 was unrelated. Interesting to note is that after pr flutter/plugins#3008 was merged, pr flutter/plugins#2991 landed which reintroduced the deprecation warning which was fixed again in flutter/plugins#3132. So in the end the issue is fixed ;) |
This fixed the error for me, my minSdkVersion is 21 |
I am using 'url_launcher: ^5.7.10' still launcher is not working |
@sohanoor, this issue was related to a warning showing in the output when compiling the Flutter app. Normally this doesn't cause any problems, however some development teams treat warnings as errors and therefore cannot compile their application. If you are getting an error while using the |
In your |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
The text was updated successfully, but these errors were encountered: