问题描述
我在Windows 7上安装Appcelerator Studio时遇到问题.尝试创建新的移动项目(合金项目)并在android设备上运行该项目时遇到以下错误.在移动网络上可以正常工作.
I have trouble installing Appcelerator studio on windows 7. I am getting the following error when trying to create a new mobile project (Alloy project) and run the same on an android device. Works fine on mobile web.
[错误]:请下载Android SDK目标API级别23或更高版本 从Android SDK Manager中下载,然后重试.
[ERROR] : Please download an Android SDK target API level 23 or newer from the Android SDK Manager and try again.
android SDK已经存在并且已经正确引用了它.那里还是没有运气.
The android SDK is already in place and have properly referenced it. Still no luck there.
请找到平台的详细信息
Appcelerator Studio版本:4.5
Appcelerator Studio version : 4.5
Titanium SDK:5.2.0GA
Titanium SDK : 5.2.0GA
操作系统:Windows 7(64位)
OS : Windows 7 (64 bit)
任何帮助将不胜感激.
Any help will be much appreciated.
推荐答案
要确定问题,请执行以下操作:
1.验证android SDK路径 $ appc ti info -t android
To identify the problem:
1. Verify android SDK path $appc ti info -t android
Android SDK
Android Executable = /Users/kk/Library/android-sdk-macosx/tools/android
ADB Executable = /Users/kk/Library/android-sdk-macosx/platform-tools/adb
SDK Path = /Users/kk/Library/android-sdk-macosx
这是您想参考的吗?
- 从以上命令输出中,是否已安装
- 验证API级别23(Android SDK 6.0)是否已安装.
- Verify API Level 23(Android SDK 6.0) is installed or not from the above command output.
android-23 Name = Android 6.0 API Level = 23 Revision = 1 Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in, AndroidWearRound, AndroidWearRound360x360, AndroidWearRound400x400, AndroidWearRound480x480, AndroidWearRoundChin320x290, AndroidWearRoundChin360x325, AndroidWearRoundChin360x330, AndroidWearSquare, AndroidWearSquare320x320 ABIs = armeabi-v7a, x86, x86_64 Path = /Users/kk/Library/android-sdk-macosx/platforms/android-23
android-23 Name = Android 6.0 API Level = 23 Revision = 1 Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in, AndroidWearRound, AndroidWearRound360x360, AndroidWearRound400x400, AndroidWearRound480x480, AndroidWearRoundChin320x290, AndroidWearRoundChin360x325, AndroidWearRoundChin360x330, AndroidWearSquare, AndroidWearSquare320x320 ABIs = armeabi-v7a, x86, x86_64 Path = /Users/kk/Library/android-sdk-macosx/platforms/android-23
- 在工作室中验证Android SDK路径,它是否指向同一路径?
您可以从Appcelerator Studio中检查->首选项"->平台"->"Android"
检查"Android SDK主页"路径.
That you can check from, Appcelerator Studio ->Preferences->Platforms ->Android
Check "Android SDK Home" path.
还可以通过单击安装SDK ..."来查看已安装的Android SDK,这将打开对话框.是否在此处选择了"Android 6.0"?
And also see installed android SDK's from, by clicking on "Install SDKs...", this will open up the dialog. Is "Android 6.0" selected here?
这篇关于无法在Windows 7上为Appcelerator Studio安装Android SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!