Facebook native plugin is not working with ionic 4 beta-15


#1

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app:processDebugResources’.

Failed to execute aapt

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

  • Get more help at https://help.gradle.org

BUILD FAILED in 31s
[ERROR] An error occurred while running subprocess cordova.

    cordova build android exited with exit code 1.

    Re-running this command with the --verbose flag may provide more information.

My project info:
Ionic:

ionic (Ionic CLI) : 4.3.1 (C:\Users\shafi\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.0.0-beta.15
@angular-devkit/build-angular : 0.8.7
@angular-devkit/schematics : 0.8.7
@angular/cli : 6.2.7
@ionic/angular-toolkit : 1.1.0

Cordova:

cordova (Cordova CLI) : not installed
Cordova Platforms : android 7.1.2
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.2.3, (and 8 other plugins)

System:

Android SDK Tools : 26.1.1 (C:\Users\shafi\AppData\Local\Android\Sdk)
NodeJS : v8.11.3 (C:\Program Files\nodejs\node.exe)
npm : 5.6.0
OS : Windows 10


#2

Avez vous ajouté /ngx a l’import?


#3

i have imported from /ngx in ionic-native


#4

J’avais eu ce probleme sur ionic V3 et j’avais supprimer puis reinstaller android platform et ça avait fonctioné