phonegap本地运行android adb设备错误 [英] phonegap local run android adb devices error

查看:52
本文介绍了phonegap本地运行android adb设备错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我正在运行以下

Hi all im running the following

M:\LocalDevelopment\PhoneGap\HelloWorldW>phonegap local build android
[phonegap] compiling Android...
[phonegap] successfully compiled Android app

运行正常,但是,当我运行以下命令时,我得到一个错误

which runs fine, however, when I run the following I get an error

M:\LocalDevelopment\PhoneGap\HelloWorldW>phonegap local run android
[phonegap] compiling Android...
[phonegap] successfully compiled Android app
[phonegap] trying to install app onto device
[phonegap] no device was found
[phonegap] trying to install app onto emulator
   [error] An error occurred while emulating/deploying the android project.
M:\LocalDevelopment\PhoneGap\HelloWorldW\platforms\android\cordova\node_modules\q\q.js:126
            throw e;
              ^
Error executing "adb devices": 'adb' is not recognized as an internal or external command,

operable program or batch file.

我已添加此

C:\Users\me\Downloads\adt-bundle-windows-x86_64-20131030\sdk\tools

作为环境变量,但仍然相同.

as an Enviromental variable but still the same.

任何人都可以帮忙,或者有其他方法可以预览我创建的内容吗?

can anyone help or is there another way to get to preview what I have created?

谢谢

推荐答案

您的路径中也可能没有platform-tools文件夹.

It's probable that you don't have the platform-tools folder located in your path as well.

您的路径应包括:

C:\Users\me\Downloads\adt-bundle-windows-x86_64-20131030\sdk\platform-tools;C:\Users\me\Downloads\adt-bundle-windows-x86_64-20131030\sdk\tools

这篇关于phonegap本地运行android adb设备错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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