3

当我创建一个新项目时,在 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
4

1 回答 1

4

从 SDK Manager 安装较新版本时,我没有选择“Android Support Repository”。现在安装它后,项目正在正常创建。

于 2013-08-23T03:34:48.493 回答