Is There Any Legitimate Use For @+android:id?
Solution 1:
No, you should never use @+android:id in your app. The android namespace is reserved for the framework. This has never been safe for an app to use and will now generate a compile error.
For a little background, generating new IDs within the android namespace will put them in the unused space after the existing android namespace IDs. This will work fine until new IDs are added in the framework, at which point your internal ID will overlap with an actual framework ID and cause weird issues.
As for the other instances, those should be generating errors as well. It's possible that there is a bug in AAPT. Regardless, you should remove all instances of @+android from your resources.
Solution 2:
Though my comment is very late. I faced same issue today, when updated my eclipse and tools. Changed @+android:id to @+id and it solved my issue.
Post a Comment for "Is There Any Legitimate Use For @+android:id?"