隨手創(chuàng)建了AIDL Demo,出現(xiàn)了如下問題:
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 -
....
最后發(fā)現(xiàn),在interface定義的接口中,Parcelable對象沒有標(biāo)識in