Update 2: Now (2013-09-19T17:00:00Z) there's an ADT 22.2.1 and Tools 22.2.1 updates available that fix this issue:
- Use Eclipse > Help > Check for Updates to get ADT 22.2.1
- Use SDK Manager to get Tools 22.2.1
You need both parts to fix the issue. The ADT bundle and the installer package on http://developer.android.com/sdk/index.html have been updated too.
Update: The bug report now has a response with fixed template files attached and the following comments:
This one is my bad. I was in the middle of changing the dependency system used by the templates and a transient state got picked up into this tools build. The templates have settled in the AOSP master branch.
I've attached a snapshot of the current Activities templates. Replacing your sdk/tools/templates/activities folder with the contents of this zip should resolve this issue.
I apologize for the inconvenience.
My older workaround below.
Workaround to the bug:
For Blank Activity:
Comment out the dependency:
For Master/Detail Flow:
Comment out the dependencies:
If needed, copy
/extras/support/v4 to your