<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’

20160315100033138.png

如上所示,当我在编写fragment布局文件的时候,出现了如上的错误


解决办法


20160315100136482.png


Android Studio -> Settings -> Editor -> Language Injections

将最后一个删除即可。

经验证,虽然有报错,但是APP依然可以运行~however,我们还是要把它干掉~


相关文章
|
Java Maven Spring
Unable to interpret the implicit parameter configuration with dataType: , dataTypeClass: class java.
Unable to interpret the implicit parameter configuration with dataType: , dataTypeClass: class java.
586 0
java.lang.Error: Unresolved compilation problem: The type List is not generic; it cannot be parame
java.lang.Error: Unresolved compilation problem: The type List is not generic; it cannot be parame
|
Java
Java Error: The public type HelloWorld must be defined in its own file
Java Error: The public type HelloWorld must be defined in its own file
182 0
|
消息中间件 Java RocketMQ
【Java】Error creating bean with name ‘functionBindingRegistrar‘ defined in class path resource的一种解决方式
【Java】Error creating bean with name ‘functionBindingRegistrar‘ defined in class path resource的一种解决方式
157 0
JavaFX报错:Class FIFinderSyncExtensionHost is implemented in both
JavaFX报错:Class FIFinderSyncExtensionHost is implemented in both
83 0
|
存储 Android开发 索引
resource.arsc解析之 Dynamic package reference
加载Theme出错 这是一篇补充文章,在做动态替换resId的过程中,我发现bag类型的ResTable_entry在使用过程中存在问题。比如style,其parent解析一直有问题
296 0
|
开发工具 Android开发
解决Error:Could not determine the class-path for interface com.android.builder.model.AndroidProject.
解决Error:Could not determine the class-path for interface com.android.builder.model.AndroidProject.
219 0
解决Error:Could not determine the class-path for interface com.android.builder.model.AndroidProject.
|
C#
艾伟:C# Design Patterns (1) - Factory Method
Simple Factory Pattern (简单工厂模式) 特性: 把类的实例化工作,集中到一个「工厂类」去处理,亦即将 new instance 的工作,都交给一个「工厂」去处理,而不要分散写在各个类中。
892 0

热门文章

最新文章