新年快乐,我非常感激有人能帮助或澄清这个问题。
我刚刚在MAC OS High塞拉利昂v 10.13.2上设置了appium 1.7.2服务器,通过命令运行appium。appium -a 127.0.0.1 -p 4723 --log-level=debug
下面是我的 .bash_profile
n.nadarajah@EGHJ-MACRDV01 ~ $ cat ~/.bash_profile
# Setting PATH for Python 2.7
# The original version is saved in .bash_profile.pysave
ANDROID_HOME
长时间阅读第一次海报。
我正在尝试在Mac OS 10.9.5上设置Appium。我已经将.profile中的ANDROID_HOME设置为:
export ANDROID_HOME=/Users/jfish/Documents/android-sdk-macosx
当尝试启动Appium时,我收到以下错误:
error: Failed to start an Appium session, err was: Error: Could not find aapt. Please set the ANDROID_HOME environment variable with the Android
我是一个初学者,正在学习appium工具。
尝试启动appium会话时出现错误
An unknown server-side error occurred while processing the command. Original error: Neither ANDROID_HOME nor ANDROID_SDK_ROOT environment variable was exported
使用Window 10。
目前,我正试图在带有appium的android仿真器设备上运行测试,一切都进行得很好,appium解锁了设备的屏幕,但是我有以下错误:
[ADB] Error: Could not find aapt Please set the ANDROID_HOME environment variable with the Android SDK root directory path
我将ANDROID_HOME varaibale im我的bash文件设置为:
export ANDROID_HOME=/home/tar/android/android-sdk-linux/
我还将其他变量设置为
我的配置可能有问题,但我找不到哪里出了问题。我正在尝试在Mac上设置appium以进行自动化测试。
我正在运行这个命令:
./reset.sh --android --verbose
我在这一步总是失败:
* Building Android bootstrap
Running "buildAndroidBootstrap" task
Fatal error: Error finding ant binary, is it on your path?
---- FAILURE: reset.sh exited with status 1 ----
我的路径如下:
# Andro
我正在尝试使用桌面应用程序创建一个会话,并得到了以下错误:
An unknown server-side error occurred while processing the command. Original error: Could not find 'adb.exe' in PATH. Please set the ANDROID_HOME or ANDROID_SDK_ROOT environment variables to the correct Android SDK root directory path.
现在我可以在我的终端没有问题的情况下使用亚行,因为我
当手动启动appium服务器时,不会出现此问题。 错误日志 org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Could not find 'adb' in PATH
我正在尝试使用Mac版Appium Desktop中的检查器。在我添加了我想要的功能后,我得到以下错误: An unknown server-side error occurred while processing the command. Original error: Could not find 'adb' in ["/$HOME/Android/Sdk/platform-tools/adb","/$HOME/Android/Sdk/emulator/adb","/$HOME/Android/Sdk/tools/adb",
代码:
public class AppDAta {
public static URL url;
public static DesiredCapabilities capabilities;
public static AndroidDriver driver;
//1
@Test
public void setupAppium() throws MalformedURLException {
//2
final String URL_STRING = "http://127.0.
我确实在ubuntu上安装了android studio,并尝试在设备上部署一个Ionic 3应用程序。
如果没有找到ANDROID_HOME,它将失败:
Failed to find 'ANDROID_HOME' environment variable. Try setting it manually.
Failed to find 'android' command in your 'PATH'. Try update your 'PATH' to include path to valid SDK directory.
如
我正在尝试使用calabash和android进行测试。所以它只是一个启动并安装的calabash。当我尝试在运行时执行第一个测试时,问题出现了:
calabash-android run myAPP.apk
我得到了一个响应:
`raise_if_android_home_not_set': Please set the ANDROID_HOME environment variable (RuntimeError)
如何设置ANDROID_HOME?在哪里设置ANDROID_HOME?根据您的经验,您是否推荐使用calabash?谢谢
我正在使用Appium 1.3.7。几天前,.it在windows上正常工作,但是今天我访问它时,它给了我错误。
Unhandled error: Error: ENOENT, no such file or directory。
我在谷歌上搜索了一下,发现这可能是因为环境因素。但我正确地设置了ANDROID_HOME和PATH。我还升级了1.4.0。但还是同样的错误。
日志:
Starting Node Server
info: Welcome to Appium v1.3.7 (REV 72fbfaa116d3d9f6a862600ee99cf02f6d0e2182)
info: Appi
这是我在mac应用商店的截图: ? 您可以清楚地看到我安装了xcode。 但是当我运行appium-doctor时: ➜ ~ appium-doctor
info AppiumDoctor Appium Doctor v.1.13.0
info AppiumDoctor ### Diagnostic for necessary dependencies starting ###
info AppiumDoctor ✔ The Node.js binary was found at: /usr/local/bin/node
info AppiumDoctor ✔ Node ver
我收到以下错误消息:
An unknown server-side error occurred while processing the command.
Original error: Could not find adb Please set the ANDROID_HOME
environment variable with the Android SDK root directory path.
(Selenium::WebDriver::Error::UnknownError)
我已经设置了以下所有内容:
info AppiumDoctor Appium Doctor v.1
我正在尝试运行一个用python编写的测试,该测试使用appium通过安装在物理android设备上的chrome应用程序浏览到给定的URL。
我在Mac上使用Pycharm作为我的IDE。
我得到的问题似乎很容易解决,我认为我已经解决了它,但它仍然突然出现。
当我尝试运行我的脚本时,错误是:
WebDriverException: Message: u'A new session could not be created. (Original error: Could not find adb. Please set the ANDROID_HOME environment vari
我已经进入并检查了该文件是否存在,但我不熟悉无法验证签名错误:
下面是完整的错误:
Original error: Cannot verify the signature of '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.15.0.apk'. Original error: Could not find 'apksigner.ja