ionic build error
Opened this issue · 5 comments
Hey, how did you solve the problem? Can you please share?
Execution failed for task ':processDebugManifest'.
Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 18 declared in library [com.github.ergovia-mobile:android-transcoder:v0.1.10R_ergovia] F:\ionic\mytest\platforms\android\build\intermediates\expl
oded-aar\com.github.ergovia-mobile\android-transcoder\v0.1.10R_ergovia\AndroidManifest.xml
Suggestion: use tools:overrideLibrary="net.ypresto.androidtranscoder" to force usage
Just open your config.xml and change the min android version param. This should work.
Hello!
I have the same problem, and have already set the right values in config.xml:
<preference name="android-minSdkVersion" value="19" />
<preference name="android-targetSdkVersion" value="25" />
Which results in an android manifest that has the following tag:
<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="25"/>
I have cleaned, rebuilt, removed and re-added the platforms, removed and re-added the plugin, updated all plugins. What can I try now?
Thanks work for me
Hey, this might be possible that none of the solutions worked. So in that case, I suggest go each plugin which you install. For example platforms/android/Cordova-plugin-browsertab/xyz.browsertab.gradle, and then change this min SDK value to 19 or your min SDK version. I hope the problem will be solved .
Is is compatible with android 29 ? As playstore allows only latest target SDK.