当我创建一个新项目时,选择Android Studio .2.5中新项目的所有默认值,它现在正在给予 以下反馈
Frameworks detected: Android framework is detected in the project Configure
配置是可单击的,并显示带有清单文件的弹出窗口。即使在那之后项目也没有正确创建。继承人截图
现在收到以下错误
10:19:50 PM IllegalStateException: @NotNull method com/android/tools/idea/rendering/ManifestInfo.getActivityThemes must not return null: @NotNull method com/android/tools/idea/rendering/ManifestInfo.getActivityThemes must not return null
10:20:39 PM IllegalStateException: update failed for ActionGroup: null (Theme to render layout with)[null]: @NotNull method com/android/tools/idea/rendering/ManifestInfo.getActivityThemes must not return null
10:20:46 PM IllegalStateException: update failed for ActionGroup: null (Theme to render layout with)[null]: @NotNull method com/android/tools/idea/rendering/ManifestInfo.getActivityThemes must not return null
10:22:11 PM IllegalStateException: update failed for ActionGroup: null (Theme to render layout with)[null]: @NotNull method com/android/tools/idea/rendering/ManifestInfo.getActivityThemes must not return null
10:22:23 PM IllegalStateException: update failed for ActionGroup: null (Theme to render layout with)[null]: @NotNull method com/android/tools/idea/rendering/ManifestInfo.getActivityThemes must not return null
10:22:30 PM IllegalStateException: update failed for ActionGroup: null (Theme to render layout with)[null]: @NotNull method com/android/tools/idea/rendering/ManifestInfo.getActivityThemes must not return null
10:22:43 PM IllegalStateException: update failed for ActionGroup: null (Theme to render layout with)[null]: @NotNull method com/android/tools/idea/rendering/ManifestInfo.getActivityThemes must not return null
10:22:45 PM IllegalStateException: update failed for ActionGroup: null (Theme to render layout with)[null]: @NotNull method com/android/tools/idea/rendering/ManifestInfo.getActivityThemes must not return null
10:22:47 PM IllegalStateException: update failed for ActionGroup: null (Theme to render layout with)[null]: @NotNull method com/android/tools/idea/rendering/ManifestInfo.getActivityThemes must not return null
10:23:07 PM IllegalStateException: update failed for ActionGroup: null (Theme to render layout with)[null]: @NotNull method com/android/tools/idea/rendering/ManifestInfo.getActivityThemes must not return null
10:23:09 PM IllegalStateException: update failed for ActionGroup: null (Theme to render layout with)[null]: @NotNull method com/android/tools/idea/rendering/ManifestInfo.getActivityThemes must not return null
10:23:12 PM IllegalStateException: update failed for ActionGroup: null (Theme to render layout with)[null]: @NotNull method com/android/tools/idea/rendering/ManifestInfo.getActivityThemes must not return null
10:23:13 PM IllegalStateException: update failed for ActionGroup: null (Theme to render layout with)[null]: @NotNull method com/android/tools/idea/rendering/ManifestInfo.getActivityThemes must not return null
答案 0 :(得分:4)
从SDK Manager安装较新版本时,我没有选择“Android Support Repository”。现在安装完成后,项目就会正常创建。