Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

cannot run my app (gradle error) #97

Closed
endianvoid opened this issue Jul 19, 2019 · 3 comments
Closed

cannot run my app (gradle error) #97

endianvoid opened this issue Jul 19, 2019 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@endianvoid
Copy link

endianvoid commented Jul 19, 2019

i have installed react native ffmpeg and i ran my project using command react-native run-android and i get this gradle error

`* What went wrong:
Execution failed for task ':app:processDebugManifest'.

Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 24 declared in library [:react-native-ffmpeg] C:\Users\3bodyZZ\node_modules\react-native-ffmpeg\android\build\intermediates\library_manifest\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 24,
or use tools:overrideLibrary="com.arthenica.reactnative" to force usage (may lead to runtime failures)`

what should i do ?

@tanersener
Copy link
Owner

uses-sdk:minSdkVersion 16 cannot be smaller than version 24 declared in library [:react-native-ffmpeg]

Can you try to understand what this log message says?

@tanersener tanersener added the question Further information is requested label Jul 19, 2019
@tanersener tanersener self-assigned this Jul 19, 2019
@endianvoid
Copy link
Author

uses-sdk:minSdkVersion 16 cannot be smaller than version 24 declared in library [:react-native-ffmpeg]

Can you try to understand what this log message says?

i don't understand it , I'm fairly new to react native

@endianvoid
Copy link
Author

uses-sdk:minSdkVersion 16 cannot be smaller than version 24 declared in library [:react-native-ffmpeg]

Can you try to understand what this log message says?

i have found a fix after one hour of searching , open build.gradle and change minsdk to 24

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants