Android的API 21只允许创建空活动 [英] Android API 21 only allows creation of empty activity

查看:167
本文介绍了Android的API 21只允许创建空活动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

升级到API 21我不能在任何项目中创建新的空白activitys和后,当我创建一个新的,让我创建是空单的唯一活动,否则,它创建src和资源文件夹为空。 我使用的Eclipse。我试过这里的解决方案 http://developer.android.com/ SDK /安装/安装-adt.html#下载,但它已经被安装。

After upgrading to API 21 i can't create new blank activitys in any project and when i create a new one the only activity that allows me to create is an empty one, otherwise it creates the src and res folders empty. I'm using eclipse. i've tried the solution here http://developer.android.com/sdk/installing/installing-adt.html#Download, but it is already installed.

请,帮助。

推荐答案

在ADT和SDK工具必须兼容。 例如, 如果最新的ADT版本是ADT 23.0.4。和相应的SDK工具的版本是23.0.5。你更新你的SDK工具版本为24.0.1,但目前还没有ADT的版本可以支持。所以,你应该的roolback的SDK工具版本23.0.5。 这里是链接

The ADT and SDK Tools must be compatible. For example, If the latest ADT version is "ADT 23.0.4". And the corresponding SDK Tools version is 23.0.5. You updated your SDK Tools version to 24.0.1, but there are no ADT version can support. So you should roolback to the SDK Tool version 23.0.5. Here is the link.

它可以帮助你。

这篇关于Android的API 21只允许创建空活动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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