安装此Facebook API插件后,我的构建过程中断: https://github.com/jeduan/cordova-plugin-facebook4
BUILD FAILED
Total time: 57.962 secs
(node:39464) UnhandledPromiseRejectionWarning: Error: [project path]/platforms/android/gradlew: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
AAPT err(Facade for 1908269710) : No Delegate set : lost message:[project path]/platforms/android/build/intermediates/exploded-aar/com.android.support/appcompat-v7/27.0.2/res/drawable-xxhdpi-v4/abc_ic_menu_paste_mtrl_am_alpha.png ERROR: Unable to open PNG file
AAPT err(Facade for 1925445286) : No Delegate set : lost message:[project path]/platforms/android/build/intermediates/exploded-aar/com.android.support/appcompat-v7/27.0.2/res/drawable-mdpi-v4/abc_scrubber_control_to_pressed_mtrl_005.png ERROR: Unable to open PNG file
AAPT err(Facade for 704271137) : No Delegate set : lost message:[project path]/platforms/android/build/intermediates/exploded-aar/com.android.support/appcompat-v7/27.0.2/res/drawable-mdpi-v4/abc_scrubber_control_to_pressed_mtrl_000.png ERROR: Unable to open PNG file
AAPT err(Facade for 16788011) : No Delegate set : lost message:[project path]/platforms/android/build/intermediates/exploded-aar/com.android.support/appcompat-v7/27.0.2/res/drawable-xxhdpi-v4/abc_text_select_handle_left_mtrl_light.png ERROR: Unable to open PNG file
AAPT err(Facade for 1925445286) : No Delegate set : lost message:[project path]/platforms/android/res/drawable-port-ldpi/screen.png ERROR: Unable to open PNG file
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':mergeReleaseResources'.
> Error: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:
PNG在该路径上。删除后,一切恢复正常。