【发布时间】:2017-11-22 09:46:08
【问题描述】:
我下载了最新的 Android Studio,打开了我现有的项目,然后我更改了 .aidl 文件的方法参数中的一种数据类型。 我现在清理和重建项目 20 次,但我仍然无法重建 .aidl 并继续抛出:
错误:任务 ':playscreen_lib:compileReleaseAidl' 执行失败。 java.lang.RuntimeException: com.android.ide.common.process.ProcessException: 使用参数执行进程 C:\Users\ELDORA\AppData\Local\Android\Sdk\build-tools\25.0.0\aidl.exe 时出错{-pC:\Users\ELDORA\AppData\Local\Android\Sdk\platforms\android-25\framework.aidl -oC:\Users\ELDORA\Documents\Projects\Git\playscreen-v.4\playscreen_lib\build\生成\source\aidl\release -IC:\Users\ELDORA\Documents\Projects\Git\playscreen-v.4\playscreen_lib\src\main\aidl -IC:\Users\ELDORA\Documents\Projects\Git\playscreen- v.4\playscreen_lib\src\release\aidl -IC:\Users\ELDORA.android\build-cache\4492d2ed88e39db806ead472857b23dd46473c28\output\aidl -IC:\Users\ELDORA.android\build-cache\3503095fd81bf51424a6fea93fe733665b5c41d IC:\Users\ELDORA.android\build-cache\99cfcf1b0afa3f6f8a1f5d9370f6652fdb2c5389\output\aidl -IC:\Users\ELDORA.android\build-cache\d1ed5c0d7925ed8a6207daac53ed47479f327d99\output\aidl -IC:\Users\ELDORA. \b9622378266364961621530394898c10ca07e005\outp ut\aidl -IC:\Users\ELDORA.android\build-cache\ca13b86cac67c820cfadd74657b557d7be41708b\output\aidl -IC:\Users\ELDORA.android\build-cache\1f1034b41fe39b7f222731a1eca43fe985a0c5bf\output\aidl -IC:\Users\ELDORA.android \积聚缓存\ 20197f9cb41b0dcfa24d2af19b2f08410bafad05 \输出\ AIDL -IC:\用户\ ELDORA.android \积聚缓存\ 8054d2ad3e9d7b18475122292b9a71c4fd97ce5d \输出\ AIDL -dC:\ Users \用户ELDORA \应用程序数据\本地\ TEMP \ aidl6443722849833229853.d C:\用户\ELDORA\Documents\Projects\Git\playscreen-v.4\playscreen_lib\src\main\aidl\com\playscreen\library\IPlayscreenAPI.aidl}
我以前从来没有遇到过这种情况,它曾经是一个重建,并且更改 .aidl 后的依赖问题将得到解决。
有什么想法吗?
谢谢。
【问题讨论】: