首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >重建.aidl文件失败

重建.aidl文件失败
EN

Stack Overflow用户
提问于 2017-06-20 02:54:55
回答 1查看 433关注 0票数 0

我下载最新的Android,打开我现有的项目,然后在方法的.aidl文件参数中更改数据类型之一。我现在已经清理和重建了这个项目20次了,但是我仍然不能重建.aidl并继续抛出:

错误:任务执行失败:播放屏幕_lib:编译程序‘。com.android.ide.common.process.ProcessException::使用参数{-pC:\Users\ELDORA\AppData\Local\Android\Sdk\platforms\android-25\framework.aidl -oC:\Users\ELDORA\Documents\Projects\Git\playscreen-v.4\playscreen_lib\build\generated\source\aidl\release -IC:\Users\ELDORA\Documents执行进程{-pC:\Users\ELDORA\AppData\Local\Android\Sdk\platforms\android-25\framework.aidl-oC:\Users\ELDORA\Documents\Projects\Git\playscreen-v.4\playscreen_lib\build\generated\source\aidl\release-IC:\Users\ELDORA\Documents时的java.lang.RuntimeException错误\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\3503095fd81bf51424a6fea93fe733665b5c415d\output\aidl -IC:\Users\ELDORA.android\build-cache\99cfcf1b0afa3f6f8a1f5d9370f6652fdb2c5389\output\aidl -IC:\User\ELDORA.android\build\d1ed5c0d7925ed8a6207daac53ed47479f327d99\output\aidl -IC:\Users\ELDORA.android\build-cache\b9622378266364961621530394898c10ca07e005\output\aidl -IC:\Users\ELDORA.android\build-cache\ca13b86cac67c820cfadd74657b557d7be41708b\output\aidl -IC:\Users\ELDORA.android\build-cache\1f1034b41fe39b7f222731a1eca43fe985a0c5bf\output\aidl -IC:\Users\ELDORA.android\build-cache\20197f9cb41b0dcfa24d2af19b2f08410bafad05\output\aidl -IC:\Users\ELDORA.android\build-cache\8054d2ad3e9d7b18475122292b9a71c4fd97ce5d\output\aidl -dC:\Users\ELDORA\AppData\Local\Temp\aidl6443722849833229853.d C:\Users\ELDORA\Documents\Projects\Git\playscreen-v.4\playscreen_lib\src\main\aidl\com\playscreen\library\IPlayscreenAPI.aidl}

我以前从未经历过这样的经历,它曾经是一个重建的过程,改变后的.aidl上的依赖问题将得到解决。

有什么想法吗?

谢谢。

EN

回答 1

Stack Overflow用户

发布于 2017-06-20 03:10:21

我刚刚找到了答案,我想我不能使用Long这样的java对象作为方法参数,我改回long,一切都很好。

我不知道为什么,但是他们让我传递字符串对象,而不是Long。:P

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/44643051

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档