Android Studio aidl问题

随手创建了AIDL Demo,出现了如下问题:

Error:Execution failed for task ':app:compileDebugAidl'.

> java.lang.RuntimeException: com.android.ide.common.process.ProcessException: Error while executing 'F:\sdk\build-tools\25.0.2\aidl.exe' with arguments {-pF:\sdk\platforms\android-25\framework.aidl -oF:\code\AidlTest\app\build\generated\source\aidl\debug -IF:\code\AidlTest\app\src\main\aidl -IF:\code\AidlTest\app\src\debug\aidl -IF:\code\AidlTest\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\25.3.0\aidl -IF:\code\AidlTest\app\build\intermediates\exploded-aar\com.android.support\support-v4\25.3.0\aidl -IF:\code\AidlTest\app\build\intermediates\exploded-aar\com.android.support\support-fragment\25.3.0\aidl -IF:\code\AidlTest\app\build\intermediates\exploded-aar\com.android.support\support-media-compat\25.3.0\aidl -IF:\code\AidlTest\app\build\intermediates\exploded-aar\com.android.support\support-core-ui\25.3.0\aidl -IF:\code\AidlTest\app\build\intermediates\exploded-aar\com.android.support\support-core-utils\25.3.0\aidl -

....

最后发现,在interface定义的接口中,Parcelable对象没有标识in

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容