-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Android fails with Error: uses-sdk:minSdkVersion 16 cannot be smaller than version 17 declared in library [:flutter_inappbrowser] #14
Comments
The |
@pichillilorenzo many thanks for your quick reply - I'm sure it is, however that was the error I got when adding the package and then trying to run it in my Android VM running Pie - I didn't do anything else and I haven't made any manual changes to the Android build files etc. Any ideas on how to fix this? Many thanks (super keen to get this plugin working as looks like it does exactly what we need 👍) |
Oh hang on - I need to update my AndroidManifest file don't I - so that has the higher version as requested by this plugin? Let me check... |
Yep, sorry - that was the problem. Thanks. Any chance the iOS build issue as a similar easy issue? |
@alsocalledchris Thanks |
@velsa try change file sorry! I can not speak English |
…x_webview_context_menu_malfunction_in_android TWECACAPP-698 Fix webview context menu malfunction in Android
Hi! The library description says that minSdk = 17, but the library manifest specifies 20. What is the current minimum version of the Sdk for the library? |
Hi! I've been this problem and got it. You need to change some configs in the build.gradle, inside the (android/app/build.gradle). Then, you put:
I hope helped. ;) |
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 and a minimal reproduction of the issue. |
After adding the plugin to my project (using Flutter 0.11.3) Android builds fail with:
AndroidManifest.xml Error: uses-sdk:minSdkVersion 16 cannot be smaller than version 17 declared in library [:flutter_inappbrowser] ...
.. as the library might be using APIs not available in 16
Suggestion: use a compatible library with a minSdk of at most 16,
or increase this project's minSdk version to at least 17,
or use tools:overrideLibrary="com.pichillilorenzo.flutter_inappbrowser" to force usage (may lead to runtime failures)
The text was updated successfully, but these errors were encountered: