How can I create and Android project that links to complete android source code, including classes in "android.annotation" ?
More precisely:
- Create a new android project in Android Studio 1.5.1, Minimum SDK = API 23. Template: Add no activity.
- Add this fix to resolve junit dependency: https://stackoverflow.com/a/32566057/4182868
- gradle sync, make project
- open class android.app.Activity
Result: a number of import statements are not resolved: