我在mac High Sierra上安装并配置了Appcelerator和android SDK,我可以通过命令看到我的设备
adb devices
但是在Appcelerator Studio中,该设备无法展示部署,我只有Android设备和Android Emulator选项,而不是设备名称。当我选择Android设备时,Studio会返回错误,表示没有连接Android设备。
以下是appc info命令的相关部分
Appcelerator Command-Line Interface, version 7.0.2
Copyright (c) 2014-2018, Appcelerator, Inc. All Rights Reserved.
Operating System
Name = Mac OS X
Version = 10.13.3
Architecture = 64bit
# CPUs = 4
Memory = 8.0GB
Node.js
Node.js Version = 8.9.1
npm Version = 5.5.1
Appcelerator CLI
Installer = 4.2.12
Core Package = 7.0.2
Titanium CLI
CLI Version = 5.0.14
node-appc Version = 0.2.41
Titanium SDKs
7.0.2.GA
Version = 7.0.2
Install Location = /Users/rodrigofelga/Library/Application Support/Titanium/mobilesdk/osx/7.0.2.GA
Platforms = iphone, android
git Hash = 5ef0c56
git Timestamp = 2/9/2018 19:05
node-appc Version = 0.2.43
6.3.0.GA
Version = 6.3.0
Install Location = /Users/rodrigofelga/Library/Application Support/Titanium/mobilesdk/osx/6.3.0.GA
Platforms = iphone, android, mobileweb
git Hash = 3620088
git Timestamp = 11/1/2017 01:20
node-appc Version = 0.2.43
Mac OS X
Command Line Tools = installed
Intel® Hardware Accelerated Execution Manager (HAXM)
Not installed
Java Development Kit
Version = 1.8.0_131
Java Home = /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home
Genymotion
Path = not found
Genymotion Executable = not found
Genymotion Player = not found
Home = not found
VirtualBox
Executable = not found
Version = unknown
Android SDK
Android Executable = not found
ADB Executable = /Users/rodrigofelga/Library/android-sdk-macosx/platform-tools/adb
SDK Path = /Users/rodrigofelga/Library/android-sdk-macosx
Android NDK
0NDK Path = not found
NDK Version = not found
Android Platforms
1) android-23
Name = Android 6.0
API Level = 23
Revision = 3
Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in
ABIs =
Path = /Users/rodrigofelga/Library/android-sdk-macosx/platforms/android-23
2) android-26
Name = Android 8.0.0 (not supported by Titanium SDK 7.0.2.GA, but may work)
API Level = 26
Revision = 1
Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in
ABIs =
Path = /Users/rodrigofelga/Library/android-sdk-macosx/platforms/android-26
Android Add-Ons
None
Android Emulators
None
Genymotion Emulators
None
Connected Android Devices
SM-T116BU
ID = 3004086317342300
State = device
SDK Version = 4.4.4 (android-19)
ABIs = armeabi, armeabi-v7a
答案 0 :(得分:0)
我认为这应该有所帮助:
Preferences
> Studio
> Platforms
> Android
> Manage AVDs
。答案 1 :(得分:0)
我通过安装API 25和SDK 6.2.2来解决了这个问题,并且该设备出现在Appcelerator Studio
上