由于错误的类路径,使用React Native FBSDK构建Android APK时出错

时间:2017-12-11 12:21:16

标签: java android react-native react-native-android

当我尝试签名APK时,我收到此错误。

我只能假设这是问题,但我似乎无法找到解决方案。

Task ':react-native-fbsdk:verifyReleaseResources' class path has changed from 80125a25037a2373acdb7ca1870ee5ef to d977e14451869fdc62403ddedc7f963d

> Task :react-native-fbsdk:verifyReleaseResources FAILED
Putting task artifact state for task ':react-native-fbsdk:verifyReleaseResources' into context took 0.0 secs.
Up-to-date check for task ':react-native-fbsdk:verifyReleaseResources' took 0.001 secs. It is not up-to-date because:
Task ':react-native-fbsdk:verifyReleaseResources' class path has changed from 80125a25037a2373acdb7ca1870ee5ef to d977e14451869fdc62403ddedc7f963d.
All input files are considered out-of-date for incremental task ':react-native-fbsdk:verifyReleaseResources'.
Unable do incremental execution: full task run
QueuedCruncher is using /Users/karl/Library/Android/sdk/build-tools/27.0.1/aapt

Shutdown finished in 0ms

:react-native-fbsdk:verifyReleaseResources (Thread[Task worker for ':' Thread 6,5,main]) completed. Took 0.309 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-fbsdk:verifyReleaseResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt

我可以在手机上构建设备绝对没问题。只是无法建立一个APK。

我尝试取消链接和卸载,然后安装并重新链接react-native-fbsdk,但没有运气。

非常感谢任何帮助。

0 个答案:

没有答案