Android_Object 2017-04-01 06:43 采纳率: 0%
浏览 1248

用studio做动画调用动画XMl文件时报一下错误怎么解决

Expected resource of type anim less... (Ctrl+F1)

This inspection looks at Android API calls that have been annotated with various support annotations (such as RequiresPermission or UiThread) and flags any calls that are not using the API correctly as specified by the annotations. Examples of errors flagged by this inspection:
Passing the wrong type of resource integer (such as R.string) to an API that expects a different type (such as R.dimen).
Forgetting to invoke the overridden method (via super) in methods that require it
Calling a method that requires a permission without having declared that permission in the manifest
Passing a resource color reference to a method which expects an RGB integer value.
...and many more. For more information, see the documentation at http://developer.android.com/tools/debugging/annotations.html

  • 写回答

3条回答 默认 最新

  • 夜幕色倾城 2017-04-01 07:00
    关注

    这看不出来,详细错误日志或者代码才能看

    评论

报告相同问题?