cordova-plugin-video-editor icon indicating copy to clipboard operation
cordova-plugin-video-editor copied to clipboard

ionic build error

Open ifoe opened this issue 7 years ago • 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

ifoe avatar Jul 17 '17 02:07 ifoe

Just open your config.xml and change the min android version param. This should work.

erikramalho avatar Jul 17 '17 03:07 erikramalho

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?

barthy-koeln avatar Jul 31 '17 16:07 barthy-koeln

Thanks work for me

manojbhardwaj avatar Sep 06 '17 11:09 manojbhardwaj

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 .

chiranjitkuiry avatar Dec 30 '18 05:12 chiranjitkuiry

Is is compatible with android 29 ? As playstore allows only latest target SDK.

ghost avatar Nov 03 '20 04:11 ghost