- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I got this error in build log after adding a fb plugin
All input files are considered out-of-date for incremental task ':CordovaLib:transformNative_libsWithMergeJniLibsForDebug'. :CordovaLib:transformNative_libsWithMergeJniLibsForDebug (Thread[main,5,main]) completed. Took 0.003 secs. :CordovaLib:transformNative_libsWithSyncJniLibsForDebug (Thread[main,5,main]) started. :CordovaLib:transformNative_libsWithSyncJniLibsForDebug Executing task ':CordovaLib:transformNative_libsWithSyncJniLibsForDebug' (up-to-date check took 0.0 secs) due to: No history is available. Merging activity#com.facebook.FacebookActivity with lower [com.facebook.android:facebook-android-sdk:4.14.1] AndroidManifest.xml:29:9-32:75 Merging result:ERROR .../cordova_project/platforms/android/AndroidManifest.xml:16:5-74 Error: uses-sdk:minSdkVersion 14 cannot be smaller than version 15 declared in library [com.facebook.android:facebook-android-sdk:4.14.1] .../cordova_project/platforms/android/build/intermediates/exploded-aar/com.facebook.android/facebook-android-sdk/4.14.1/AndroidManifest.xml Suggestion: use tools:overrideLibrary="com.facebook" to force usage See http://g.co/androidstudio/manifest-merger for more information about the manifest merger. :processArmv7ReleaseManifest FAILED :processArmv7ReleaseManifest (Thread[main,5,main]) completed. Took 0.104 secs. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':processArmv7ReleaseManifest'. > Manifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version 15 declared in library [com.facebook.android:facebook-android-sdk:4.14.1] .../cordova_project/platforms/android/build/intermediates/exploded-aar/com.facebook.android/facebook-android-sdk/4.14.1/AndroidManifest.xml Suggestion: use tools:overrideLibrary="com.facebook" to force usage
Please help me out.
- Tags:
- HTML5
- Intel® XDK
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The answer is right there, in the error log you posted:
uses-sdk:minSdkVersion 14 cannot be smaller than version 15 declared in library
You need to set the "Minimum Android API" to 15. See image below:
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page