Error: Falló la captura de Logcat: spawn ENOENT

Starting Node Server info: Welcome to Appium v1.2.0 (REV e53f49c706a25242e66d36685c268b599cc18da5) debug: Non-default server args: {"address":"127.0.0.1","logNoColors":true,"platformName":"Android","platformVersion":"19","automationName":"Appium"} info: Appium REST http interface listener started on 127.0.0.1:4723 info: LogLevel: debug info: --> POST /wd/hub/session {"desiredCapabilities":{"automationName":"Appium","platform":"Android","platformVersion":"19","app":"C:\\Users\\qadeer\\Documents\\NetBeansProjects\\convoTest\\app\\Convo.apk","platformName":"Android","deviceName":"01899dd5c94c237a","browserName":"","app-package":"com.convo.android","app-activity":".ConvoMain","version":"4.4.2"}} debug: Appium request initiated at /wd/hub/session debug: Request received with params: {"desiredCapabilities":{"automationName":"Appium","platform":"Android","platformVersion":"19","app":"C:\\Users\\qadeer\\Documents\\NetBeansProjects\\convoTest\\app\\Convo.apk","platformName":"Android","deviceName":"01899dd5c94c237a","browserName":"","app-package":"com.convo.android","app-activity":".ConvoMain","version":"4.4.2"}} info: Starting android appium debug: The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : platform, app-package, app-activity, version debug: No appActivity desired capability or server param. Parsing from apk. debug: No appPackage desired capability or server param. Parsing from apk. debug: Using local app from desired caps: C:\Users\qadeer\Documents\NetBeansProjects\convoTest\app\Convo.apk debug: Creating new appium session baf82af5-dfab-4837-8fa0-a56da25fa1ec debug: Using fast reset? true debug: Preparing device for session debug: Checking whether app is actually present debug: Checking whether adb is present debug: Using adb from D:\Soft backup\adt-bundle-windows-x86_64-20131030\sdk\platform-tools\adb.exe info: Retrieving device debug: Trying to find a connected android device debug: Getting connected devices... debug: executing: "D:\Soft backup\adt-bundle-windows-x86_64-20131030\sdk\platform-tools\adb.exe" devices debug: 1 device(s) connected info: Found device 01899dd5c94c237a debug: Setting device id to 01899dd5c94c237a debug: Waiting for device to be ready and to respond to shell commands (timeout = 5) debug: executing: "D:\Soft backup\adt-bundle-windows-x86_64-20131030\sdk\platform-tools\adb.exe" -s 01899dd5c94c237a wait-for-device debug: executing: "D:\Soft backup\adt-bundle-windows-x86_64-20131030\sdk\platform-tools\adb.exe" -s 01899dd5c94c237a shell "echo 'ready'" debug: Starting logcat capture error: Logcat capture failed: spawn ENOENT debug: Stopping logcat capture 

Esto es appium servidor de aplicaciones de registro que estoy recibiendo este error

 error: Logcat capture failed: spawn ENOENT debug 

: Detener la captura logcat

Y mi aplicación se ahorca aquí es mi capacidad

  File app = new File( "app/Sat.apk"); if(app.exists()) System.out.println("exsist"); DesiredCapabilities capabilities = new DesiredCapabilities(); capabilities.setCapability(CapabilityType.BROWSER_NAME, ""); capabilities.setCapability(CapabilityType.PLATFORM, "Android"); capabilities.setCapability(CapabilityType.VERSION, "4.4.2"); capabilities.setCapability("automationName","Appium"); capabilities.setCapability("platformName","Android"); capabilities.setCapability("platformVersion", "19"); //capabilities.setCapability("deviceName", "emulator-5554"); capabilities.setCapability("deviceName", "01899dd5c94c237a"); //capabilities.setCapability("device-orientation", "portrait"); capabilities.setCapability("app", app.getAbsolutePath()); capabilities.setCapability("app-package", "com.sat.android"); capabilities.setCapability("app-activity", ".SatMain"); try { driver = new RemoteWebDriver(new URL("http://127.0.0.1:4723/wd/hub"), capabilities); } catch (MalformedURLException e) { // TODO Auto-generated catch block e.printStackTrace(); } driver.manage().timeouts().implicitlyWait(80, TimeUnit.SECONDS); driver.quit(); 

Hasta ahora no puedo entender cuál es el problema por qué logcat no es mostrar la respuesta

Amablemente ayudarle será apreciado gracias 🙂

4 Solutions collect form web for “Error: Falló la captura de Logcat: spawn ENOENT”

Tuve un problema similar y lo resolví mediante la eliminación de los espacios en la ruta a mi carpeta sdk. En su caso, intente cambiar el nombre de su ruta a

"D: \ Softbackup \ adt-bundle-windows-x86_64-20131030 \ sdk \" en lugar de

"D: \ Copia de seguridad suave \ adt-bundle-windows-x86_64-20131030 \ sdk \"

En Mac, al actualizar al nuevo SDK de Android incluido con IntelliJ Android Studio, la ruta sdk cambió a algo como /Applications/Android Studio.app/sdk . El espacio en blanco también está haciendo que mi sesión de appium falle. Sorprendentemente, los appium-doctor del appium-doctor no dieron ningún consejo.

Lo solucioné así

 ln -s /Applications/Android\ Studio.app/sdk /Users/sergio/Software/android_sdk export ANDROID_HOME=/Users/sergio/Software/android_sdk 

Está poniendo el nivel API en la capacidad platformVersion y Appium no sabe cuál es la capacidad de la version (que estableció en 4.4.2 ), por lo que lo ignora.

 debug: The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : platform, app-package, app-activity, version 

Debe quitar CapabilityType.VERSION, "4.4.2" y utilizar platformVersion lugar.

Tratar:

  DesiredCapabilities capabilities = new DesiredCapabilities(); capabilities.setCapability(CapabilityType.PLATFORM, "Android"); capabilities.setCapability("automationName","Appium"); capabilities.setCapability("platformName","Android"); capabilities.setCapability("platformVersion", "4.4.2"); //capabilities.setCapability("deviceName", "emulator-5554"); capabilities.setCapability("deviceName", "01899dd5c94c237a"); //capabilities.setCapability("device-orientation", "portrait"); capabilities.setCapability("app", app.getAbsolutePath()); 

Problema con sus capacidades es que en DeviceName usted tiene que mencionar "Android"

Tienes que usar capacidades como esta:

  capabilities.SetCapability("appium-version", "1.2.0"); capabilities.SetCapability("platformName", "Android"); capabilities.SetCapability("platformVersion", "4.3"); capabilities.SetCapability("deviceName", "Android"); capabilities.SetCapability("app","--" ); capabilities.SetCapability("app-package","--" ); capabilities.SetCapability("app-activity", "--"); 
  • ¿El método IOAcknowledge no funciona para SocketIO en Android?
  • Envío de solicitud de publicación HTTP con Android
  • Cómo maximizar la eficiencia en este complejo escenario de transferencia de datos
  • Característica no implementada nodejs xmpp android
  • Android: Transmitir datos de la cámara y escribirlos en el servidor
  • Cifrar con Node.js módulo Crypto y descifrar con Java (en la aplicación de Android)
  • URL de Firebase de Google Cloud Function Node.js
  • ¿Cómo dar acceso a los datos de CouchDB a los visitantes de un sitio web móvil?
  • Encriptación y descifrado entre Android, PHP y node.js
  • Mensajería en la nube de Google (fake_message_id)
  • Emulando ubicación geográfica en Chrome con movimiento
  • FlipAndroid es un fan de Google para Android, Todo sobre Android Phones, Android Wear, Android Dev y Aplicaciones para Android Aplicaciones.