我正在使用Gradle构建一个包含Facebook库的Android应用程序:
gradle build --debug
但我收到此错误输出:
无法运行命令:
aapt package -v -f --no-crunch -I
/etc/android/platforms/android-19/android.jar -M
/facebook-android-sdk-3.16/build/intermediates/bundles/release/AndroidManifest.xml -S
/facebook-android-sdk-3.16/build/intermediates/bundles/release/res -A
/facebook-android-sdk-3.16/build/intermediates/bundles/release/assets -m -J
/facebook-android-sdk-3.16/build/generated/source/r/release --custom-package com.facebook.android --non-constant-id -0 apk --output-text-symbols
/facebook-android-sdk-3.16/build/intermediates/bundles/release
Error Code:
2
Output:
/build-tools/19.1.0/aapt: �������!8__PAGEZERO__TEXT: not found
/build-tools/19.1.0/aapt: �: not found
/build-tools/19.1.0/aapt: �: not found
/build-tools/19.1.0/aapt: �__stub_helper__TEXT$�: not found
/build-tools/19.1.0/aapt: $�: not found
/build-tools/19.1.0/aapt: �__cstring__TEXT��: not found
/build-tools/19.1.0/aapt: �: not found
/build-tools/19.1.0/aapt: Syntax error: "(" unexpected
/build-tools/19.1.0/aapt: �: not found
/build-tools/19.1.0/aapt: ��__symbol_stub__TEXT: not found
可能导致此类错误的原因是什么?