解决--Error:Execution failed for task ':xxxx:compileTestDebugAidl'.

来源:互联网 发布:软件与电子信息工程师 编辑:程序博客网 时间:2024/06/07 20:08

编写AIDL文件时,在编译阶段报了这个异常。原因就是在定义ITest.aidl接口时使用到了一个自定义的aidl外部类,而没有显式import该类。


Error:Execution failed for task ‘:xxxx:compileTestDebugAidl’.

java.lang.RuntimeException: com.android.ide.common.process.ProcessException: Error while executing ‘/home/Android/Sdk/build-tools/23.0.2/aidl’ with arguments {-p/home/Android/Sdk/platforms/android-21/framework.aidl -/home/AndroidStudioProjects/xxxx/src/main/aidl/com/test/ITest.aidl}

阅读全文
0 0
原创粉丝点击