accessibility - No resource identifier found for attribute 'accessibilityEventTypes' in package 'android' -
I am trying to work with accessibility with jellybean. I used it to work with Android 2 but I think that Jelly Bean has changed something. I found something here to fix it and this is:
In the manifest:
& lt; Service Android: name = ". MyAccessibilityEventClass" Android: permission = "android .permission.BIND_ACCESSIBILITY_SERVICE" & gt; & Lt; Intent-Filter & gt; & Lt; Action Android: name = "android.accessibilityservice.AccessibilityService" /> & Lt; / Intent-Filter & gt; & Lt; Meta-Data Android: name = "android.accessibilityservice" Android: resource = "@ XML / Accessibility Service" /> & Lt; / Services & gt; And then they sent me a fire reception / XML / Accessibility Service. XML:
& lt ;? Xml version = "1.0" encoding = "utf-8" & gt; & Lt; Accessibility-service xmlns: Android = "http://schemas.android.com/apk/res/android" Android: Accessibility Document Type: "TypeNotationStat Changed" Android: AccessibilityFeedback = "FeedbackSpace" Android: Notification Timeout = "100" /> But I receive these errors while accepting errors : No resource identifiers found for the attribute ' There is no resource identifier for the 'Access Type' Android in the package. 'Accessibility Feedback Type' package contains 'Android' for any resource identifier feature 'Notification', not in the package 'Android' < P> Any hint? Thanks in advance
I had this problem when my project build target was set too low. When I set it to 17 the error went away and I still want to be backward-compatible with earlier versions of Android. :
You can still build your app to support older versions, but by setting up build targets for the latest version, you can enable new features and your device Can customize for a great user experience on the latest devices. .
You can set your project build target to Property-> Android
Comments
Post a Comment