Android的NDK Eclipse构建错误:无法重命名文件。原因:文件已存在 [英] Android NDK Eclipse Build Error: Unable to rename file. Reason: File exists
问题描述
我建立使用Eclipse和本地code的Android项目。的95%的时间能正常工作,但每一个现在,然后决定给我下面的错误:
I am building an Android project using Eclipse and native code. 95% of the time this works fine, but every now and then it decides to give me the following error:
请:[库/ armeabi / libnative.so]错误1
make: [libs/armeabi/libnative.so] Error 1
请:删除文件'库/ armeabi / libnative.so
make: Deleting file `libs/armeabi/libnative.so'
Libnative是我创建的本地库。有时运行构建再正常工作,其他时候它只是一次又一次的失败。其他时候,它适用于天。
Libnative being the native library I am creating. Sometimes running the build again works fine, other times it just fails again and again. OTHER times it works for days.
这是什么?如何阻止发生呢?
What is this and how do I stop it from happening?
推荐答案
如果任何人有同样的问题,请删除您的存储库中的.so文件并提交该更改。我不知道为什么,但它为我工作。
If anyone has the same problem try deleting the .so file from your repository and commit that change. I do not know why, but it worked for me.
这篇关于Android的NDK Eclipse构建错误:无法重命名文件。原因:文件已存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!