jeduan / cordova-plugin-facebook4

Use the latest Facebook SDK in your Cordova and Ionic projects
Other
765 stars 510 forks source link

android-minSdkVersion conflict #840

Closed newbie78 closed 4 years ago

newbie78 commented 4 years ago

i'm describe my problem here: https://github.com/apache/cordova-android/issues/588

how to change AndroidManifest.xml minSdkVersion? i'm add

    <platform name="android">
        <preference name="android-minSdkVersion" value="15" />
        <preference name="android-targetSdkVersion" value="19" />

in config.xml rm & add platform then build an get error in /home/alpine/project/src-cordova/platforms/android/CordovaLib/build/intermediates/library_manifest/debug/AndroidManifest.xml i'm get

<uses-sdk android:minSdkVersion="19" />

then install ordova plugin add cordova-android-support-gradle-release --variable ANDROID_SUPPORT_VERSION=15

error when build still here

need help thanx

peterpeterparker commented 4 years ago

plz use other channels for support request.

that being said, put your preference at the root

<widget...

    <preference name="android-minSdkVersion" value="21" />
    <preference name="android-targetSdkVersion" value="26" />
    <platform name="android">
      ....