写了个AIDL的东西,结果一直编译不通过:
Error:Execution failed for task ‘:app:compileDebugAidl‘. > java.io.IOException: com.android.ide.common.process.ProcessException: Error while executing process C:\fastwork\android_sdk\sdk\build-tools\26.0.2\aidl.exe with arguments {-pC:\fastwork\android_sdk\sdk\platforms\android-26\framework.aidl -oC:\fastwork\Projects\ASProject\AndroidBookDevArt\app\build\generated\source\aidl\debug -IC:\fastwork\Projects\ASProject\AndroidBookDevArt\app\src\debug\aidl -IC:\fastwork\Projects\ASProject\AndroidBookDevArt\app\src\main\aidl -IC:\Users\jooy\.gradle\caches\transforms-1\files-1.1\support-media-compat-26.1.0.aar\dbb220271c609c50e11ff4ac0814826c\aidl -IC:\Users\jooy\.gradle\caches\transforms-1\files-1.1\support-compat-26.1.0.aar\315bfb18be57df8ebfcf8069ee6eb62b\aidl -dC:\Users\jooy\AppData\Local\Temp\aidl760372675612571241.d C:\fastwork\Projects\ASProject\AndroidBookDevArt\app\src\main\aidl\com\jooy\aidl\ISumAIDL.aidl}
解决方式:删掉aidl全部文件,重新编译,通过后,再新建或是拷贝回来。。。
原文地址:https://www.cnblogs.com/jooy/p/8832181.html
时间: 2024-10-21 03:40:06