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

你可能感兴趣的:(Android Studio aidl问题)