【发布时间】:2018-02-24 10:35:37
【问题描述】:
我已经在mac High Sierra上安装并配置了Appcelerator和android SDK,我可以通过命令看到我的设备
adb devices
但在 Appcelerator Studio 中,设备没有显示部署,我只有 Android 设备和 Android 模拟器选项,而没有设备名称。当我选择 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
【问题讨论】:
-
我可以使用 appc run -p android -T device 命令部署到设备,但该设备仍然没有显示在工作室的运行下拉列表中
标签: android macos appcelerator