8000 minSDK version error · Issue #11 · flutter-webrtc/flutter-webrtc · GitHub
[go: up one dir, main page]

Skip to content
< 8000 div class="clearfix new-discussion-timeline js-check-all-container container-xl px-3 px-md-4 px-lg-5 mt-4" data-pjax="" data-turbo-frame="">

minSDK version error #11

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

Closed
mliitfall opened this issue Sep 19, 2018 · 2 comments
Closed

minSDK version error #11

mliitfall opened this issue Sep 19, 2018 · 2 comments

Comments

@mliitfall
Copy link
mliitfall commented Sep 19, 2018

After I add flutter webrtc plugin to pubspec.yaml

dependencies:
  flutter:
    sdk: flutter
    flutter_webrtc: ^0.0.1

I'm getting error

uses-sdk:minSdkVersion 16 cannot be smaller than version 21 declared in library [:flutter_webrtc] 
/Users/user/Documents/Test/my_first_app/build/flutter_webrtc/intermediates/manifests/full/
debug/AndroidManifest.xml 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 21,
		or use tools:overrideLibrary="com.cloudwebrtc.webrtc" to force usage
                (may lead to runtime failures)

FAILURE: Build failed with an exception.

It is build on Android Emulator. Not tested on Ios yet.
How to change minSdk on flutter?
Can somebody help me solve this?

@cloudwebrtc
Copy link
Member
cloudwebrtc commented Sep 19, 2018

you can edit android/build.gradle

android {
compileSdkVersion 23

defaultConfig {
    minSdkVersion 21 // change here, default version is  16

@mliitfall
Copy link
Author
mliitfall commented Sep 20, 2018

ok found it out,
it is on android/app/build.gradle
thanks you!

evdokimovs pushed a commit to evdokimovs/flutter-webrtc that referenced this issue Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0