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

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

问题描述

当我创建一个新项目选择所有默认设置为Android的一个新的项目工作室.2.5现在是给 下面反馈

 框架检测:Android框架在项目配置检测
 

该配置是可以点击的,显示了manifest文件弹出。即使该项目不产生正确。继承人截图

现在得到以下错误

 下午10时19分50秒IllegalStateException异常:@NotNull方法COM /安卓/工具/主意/渲染/ ManifestInfo.getActivityThemes不能返回null:@NotNull方法COM /安卓/工具/思想/渲染/ ManifestInfo.getActivityThemes不能返回null
下午10时20分39秒IllegalStateException异常:更新失败的行动小组:空(主题来呈现与布局)[空]:@NotNull方法COM /安卓/工具/主意/渲染/ ManifestInfo.getActivityThemes不能返回null
下午10时20分46秒IllegalStateException异常:更新失败的行动小组:空(主题来呈现与布局)[空]:@NotNull方法COM /安卓/工具/主意/渲染/ ManifestInfo.getActivityThemes不能返回null
下午10时22分11秒IllegalStateException异常:更新失败的行动小组:空(主题来呈现与布局)[空]:@NotNull方法COM /安卓/工具/主意/渲染/ ManifestInfo.getActivityThemes不能返回null
下午10时22分23秒IllegalStateException异常:更新失败的行动小组:空(主题来呈现与布局)[空]:@NotNull方法COM /安卓/工具/主意/渲染/ ManifestInfo.getActivityThemes不能返回null
下午10点22分三十○秒IllegalStateException异常:更新失败的行动小组:空(主题来呈现与布局)[空]:@NotNull方法COM /安卓/工具/主意/渲染/ ManifestInfo.getActivityThemes不能返回null
下午10点22分43秒IllegalStateException异常:更新失败的行动小组:空(主题来呈现与布局)[空]:@NotNull方法COM /安卓/工具/主意/渲染/ ManifestInfo.getActivityThemes不能返回null
下午10时22分45秒IllegalStateException异常:更新失败的行动小组:空(主题来呈现与布局)[空]:@NotNull方法COM /安卓/工具/主意/渲染/ ManifestInfo.getActivityThemes不能返回null
下午10时22分47秒IllegalStateException异常:更新失败的行动小组:空(主题来呈现与布局)[空]:@NotNull方法COM /安卓/工具/主意/渲染/ ManifestInfo.getActivityThemes不能返回null
下午10点23分07秒IllegalStateException异常:更新失败的行动小组:空(主题来呈现与布局)[空]:@NotNull方法COM /安卓/工具/主意/渲染/ ManifestInfo.getActivityThemes不能返回null
下午10点23分09秒IllegalStateException异常:更新失败的行动小组:空(主题来呈现与布局)[空]:@NotNull方法COM /安卓/工具/主意/渲染/ ManifestInfo.getActivityThemes不能返回null
下午10时23分12秒IllegalStateException异常:更新失败的行动小组:空(主题来呈现与布局)[空]:@NotNull方法COM /安卓/工具/主意/渲染/ ManifestInfo.getActivityThemes不能返回null
下午10时23分13秒IllegalStateException异常:更新失败的行动小组:空(主题来呈现与布局)[空]:@NotNull方法COM /安卓/工具/主意/渲染/ ManifestInfo.getActivityThemes不能返回null
 

解决方案

在安装本SDK管理器新版本我没有选择Android的支持库。现在安装它的项目后得到正常创建。

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

Now getting following errors

    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

解决方案

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天全站免登陆