项目中检测到Android框架 [英] Android framework is detected in the project

查看:46
本文介绍了项目中检测到Android框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我创建一个新项目时,在 Android Studio .2.5 中为一个新项目选择所有默认值,它现在给出关注反馈

When I create a new project selecting all defaults for a new project in Android Studio .2.5 it is now giving following feedback

Frameworks detected: Android framework is detected in the project Configure

配置是可点击的,并显示一个带有清单文件的弹出窗口.即使在那之后,项目也没有正确创建.这是截图

The Configure is clickable and shows a popup with manifest file. Even after that the project is not creating correctly. Heres a screenshot

现在出现以下错误

    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

推荐答案

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

When installing newer versions from SDK Manager I did not select "Android Support Repository". Now after installing it the projects are getting created normally.

这篇关于项目中检测到Android框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆