问题
I updated my sdk yesterday and I encountered a problem. Google Play Library seems to be broken. I couldn't understand the error and I couldn't find how to solve this problem. Any idea how to solve this problem without waiting Google?
aidl.exe E 3628 7164 io_delegate.cpp:102] Error while creating directories: Invalid argument
Screenshot of bug
Edit: As I see, this is a bug on 24.0.0 but still I can't understand how to solve this?
Edit2: My codes worked before the update.
https://code.google.com/p/android/issues/detail?id=202972
回答1:
Today ,Use Eclipse import Project
Error while creating directories: Invalid argument
Search Google
solve this problem:
- remove android/sdk/build-tools/24.0.0-preview
- Restart the Eclispe
- The project is build sucess;
回答2:
I solve a problem using very easy way. Go ...\sdk\build-tools and remove 24.0.0. This solves the problem.
Solution
回答3:
This seems to be error in aidl tool (or some change that is incompatible with build process). I have replaced aidl in 24.0.0 build tools with aidl from 23.0.0 and was able to compile correctly.
回答4:
I had to add the following code in my android{}
section of my project's gradle.
sourceSets {
main {
aidl.srcDirs = ['src/main/aidl']
}
}
来源:https://stackoverflow.com/questions/36498503/aidl-exe-error-while-creating-directories-invalid-argument