Software Archive
Read-only legacy content
17061 Discussions

Error on trying to debug app with Facebook plugin recommended by XDK

Oleg_A_2
Beginner
302 Views

Dears, I've just add recommended facebook plugin (with 4th sdk), started XDK debuging and got this error, please help

  • Building a Cordova 5.4.1 Project Preview application with Crosswalk 15.
  • Using platform cordova-android 5.0.0.
  • The application name is "AP Debug x15 events_xdk"
  • The package name is "com.intel.appx.events_xdk.xwalk15"
  • Plugin "cordova-plugin-crosswalk-webview" (1.5.0) installed.
  • Plugin "cordova-plugin-apx-webview" (1.0.0) installed.
  • Plugin "cordova-plugin-app-analyzer" (1.0.0) installed.
  • Plugin "cordova-plugin-app-analyzer23" (1.0.0) installed.
  • Plugin "cordova-plugin-cdt-xwalk15" (1.0.0) installed.
  • Plugin "cordova-plugin-statusbar" (2.1.0) installed.
  • Plugin "cordova-plugin-device" (1.1.1) installed.
  • Plugin "cordova-plugin-splashscreen" (3.2.0) installed.
  • Plugin "cordova-plugin-geolocation" (2.1.0) installed.
  • Plugin "cordova-plugin-facebook4" (1.7.1) installed.
  • Plugin "cordova-plugin-legacy-whitelist" (1.1.1) installed.
  • Plugin "com.intel.xdk.ppfa" (1.0) installed.
  • App name updated to [AP Debug x15 events_xdk]
  • Updated "minSdkVersion" with "14"
  • Updated "targetSdkVersion" with "21"
  • Updated "installLocation" to "auto"
  • Updated "versionCode" to "1"
  • Updated "versionName" to "0.0.1"
  • Error: A build error occurred. Check the build log.

 

0 Kudos
2 Replies
PaulF_IntelCorp
Employee
302 Views

See these lines near the end of your attached log file:

:processDebugManifest.../cordova_project/platforms/android/AndroidManifest.xml:18:5 Error:
	uses-sdk:minSdkVersion 14 cannot be smaller than version 15 declared in library .../cordova_project/platforms/android/build/intermediates/exploded-aar/com.facebook.android/facebook-android-sdk/4.8.2/AndroidManifest.xml
	Suggestion: use tools:overrideLibrary="com.facebook" to force usage
 FAILED

And see the description of that plugin in the Plugin Management tool:

Screen Shot 2016-07-24 at 3.28.05 PM.png

0 Kudos
Oleg_A_2
Beginner
302 Views

Thank you! It was my mistake.

0 Kudos
Reply