Skip to content

Commit

Permalink
doc: remove old minSdkVersion 14 common error
Browse files Browse the repository at this point in the history
  • Loading branch information
erisu committed Oct 22, 2020
1 parent 8548eb9 commit ea066a9
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions docs/INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
- [Co-existing with Facebook Plugin](#co-existing-with-facebook-plugin)
- [Co-existing with plugins that use Firebase](#co-existing-with-plugins-that-use-firebase)
- [Common errors](#common-errors)
- [minSdkVersion === 14](#minsdkversion--14)
- [Multidex](#multidex)
- [More than one library with package name 'com.google.android.gms'](#more-than-one-library-with-package-name-comgoogleandroidgms)
- [Browser details](#browser-details)
Expand Down Expand Up @@ -134,33 +133,6 @@ _Note:_ The `FCM_VERSION` must be greater than or equal to 17.1.0 and less than

### Common errors

#### minSdkVersion === 14

If you have an issue compiling the app and you are getting an error similar to this:

```
* What went wrong:
Execution failed for task ':processDebugManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version 15 declared in library .../platforms/android/build/intermediates/exploded-aar/com.facebook.android/facebook-android-sdk/4.6.0/AndroidManifest.xml
Suggestion: use tools:overrideLibrary="com.facebook" to force usage
```

Then you can add the following entry into your config.xml file in the android platform tag:

```xml
<platform name="android">
<preference name="android-minSdkVersion" value="15"/>
</platform>
```

or compile your project using the following command, if the solution above doesn't work for you. Basically add `-- --minSdkVersion=15` to the end of the command line (mind the extra `--`, it's needed):

```bash
cordova compile android -- --minSdkVersion=15
cordova build android -- --minSdkVersion=15
cordova run android -- --minSdkVersion=15
```

#### Multidex

If you have an issue compiling the app and you're getting an error similar to this (`com.android.dex.DexException: Multiple dex files define`):
Expand Down

0 comments on commit ea066a9

Please sign in to comment.