Android Studio 1.3.1和Google Glass-创建新项目|目标Android设备|未安装玻璃 [英] Android Studio 1.3.1 and Google Glass -- Create New Project | Target Android Devices | Glass Not Installed

查看:107
本文介绍了Android Studio 1.3.1和Google Glass-创建新项目|目标Android设备|未安装玻璃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试在Android Studio 1.3.1(Win 8.1)中创建新项目时,我无法在"目标Android设备"上选择"玻璃" "屏幕. Glass SDK无法选择(禁用),并显示"Glass(未安装)".

When attempting to create a new project in Android Studio 1.3.1 (Win 8.1), I am not able to select "Glass" on the "Target Android Devices" screen. The Glass SDK is not selectable (disabled) and shows "Glass (Not Installed)".

但是,当我检查SDK Manager时,它显示已安装的Android 4.4(KitKat)下列出的"Glass Development Kit Preview,Android 19,Rev 11".在新的默认设置|我都将其视为已安装.外观行为|系统设置| Android SDK和旧的独立SDK Manager中.

However, when I examine the SDK Manager, it shows the "Glass Development Kit Preview, Android 19, Rev 11" listed under Android 4.4 (KitKat) as installed. I see it as Installed in both the new Default Settings | Appearance & Behavior | System Settings | Android SDK and in the old standalone SDK Manager.

我已经尝试删除Glass开发工具包预览版并重新安装它,但这并没有帮助.此外,我所有的旧Glass项目仍然可以正常构建和运行.

I have already tried deleting the Glass Development Kit Preview and re-installing it, but that has not helped. Additionally, all my old Glass projects still build and run just fine.

根据 Google Glass(未安装)中的建议,我已确认自己拥有安装了最新最出色的Android SDK工具,Android SDK平台工具和Android SDK生成工具(适用于20至23的所有发行版).我还通过默认设置" |外观和行为" |系统设置" |"Android SDK"屏幕)和文件" |验证"中进行了验证.项目结构我的Android SDK处于正确且预期的位置(即,与Android Studio不在同一文件夹中)的SDK位置.

Per the advice in Google Glass (Not installed), I have verified that I have installed the latest and greatest Android SDK Tools, Android SDK Platform-tools, and Android SDK Build-tools (for all Releases from 20-23). I have also verified (via the Default Settings | Appearance & Behavior | System Settings | Android SDK screen) and in File | Project Structure | SDK Location that my Android SDK is in the correct and expected location (i.e., not in the same folder as Android Studio).

是否安装了有关如何使Android Studio识别Glass SDK的任何想法?

Any ideas on how to get Android Studio to recognize the Glass SDK is installed?

推荐答案

直到昨天我才遇到这个确切的问题.最终修复是将Android Studio 1.3.1降级到1.2.1.1

I had this exact problem until yesterday. The ultimate fix was a downgrade from Android Studio 1.3.1 to 1.2.1.1

假定Glass所需的某些文件不再包含在最新版本中.在安装较旧版本的Android Studio时,您会遇到的另一个问题是,当您首次运行Android Studio时会出现错误列表.只需在第一次打开Wi-Fi时将其关闭,您就会大开眼界.您可以在应用程序打开后打开wifi,并且不会再次收到错误消息.

Supposedly some of the files that Glass requires are no longer included in the newest version. Another issue that you will run into when installing the older version of Android Studio is that a list of errors appears when you run it for the first time. Simply turn off your wifi for the first time that you open it and you will be golden. You can turn on your wifi after the application opens and will not receive the errors again.

令人沮丧的修复程序,我知道.祝你好运!如果这样不起作用,请随时留下答复.

Frustrating fix, I know. Good luck! Feel free to leave a reply if this does not work.

这篇关于Android Studio 1.3.1和Google Glass-创建新项目|目标Android设备|未安装玻璃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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