<interface declaration>, <parcelable declaration>, AidlTokenType.import or AidlTokenType.package ...
简介:
<interface declaration>, <parcelable declaration>, AidlTokenType.import or AidlTokenType.package ...
<interface
declaration>, <parcelable
declaration>, AidlTokenType.import or AidlTokenType.package expected, got ‘com’
如上所示,当我在编写fragment布局文件的时候,出现了如上的错误
解决办法
Android Studio -> Settings -> Editor -> Language Injections
将最后一个删除即可。
经验证,虽然有报错,但是APP依然可以运行~however,我们还是要把它干掉~