Skip to content

Instantly share code, notes, and snippets.

View priyankshah217's full-sized avatar
🎯
Focusing

Priyank Shah priyankshah217

🎯
Focusing
View GitHub Profile
08-05 17:52:11.015: W/ActivityManager(427): Crash of app com.test.app.android running instrumentation ComponentInfo{com.test.app.android.selendroid/io.selendroid.ServerInstrumentation}
08-05 17:52:13.918: I/SELENDROID(21263): io.selendroid.ServerInstrumentation#onCreate:121 - Instrumentation initialized with main activity: com.test.app.android.gui.WelcomeActivity
08-05 17:52:13.928: E/SELENDROID(21263): io.selendroid.ServerInstrumentation#onStart:139 - Error
08-05 17:52:16.451: I/SELENDROID(21263): io.selendroid.ServerInstrumentation$HttpdThread#startServer:319 - Started selendroid http server on port 8080
08-05 17:52:16.551: I/SELENDROID(21263): io.selendroid.server.handler.NewSession#handle:35 - new session command
08-05 17:52:16.561: I/SELENDROID(21263): io.selendroid.server.model.DefaultSelendroidDriver#initializeSession:388 - new s: ea2154af-3a85-ed67-2142-d7093b1f4a7b
08-05 17:52:16.791: I/SELENDROID(21263): io.selendroid.server.handler.GetCapabilities#handle:36 - get capabilities command
08-05 17:52:16
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.test.app.android"
android:installLocation="preferExternal"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="15"
android:targetSdkVersion="17" />
Aug 18, 2014 4:41:52 PM io.selendroid.SelendroidLauncher launchServer
INFO: Starting selendroid-server port 4444
Aug 18, 2014 4:41:52 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/build-tools/19.1.0/aapt remove /home/adminuser/Java_Projects/testappAutomationSelendroid/./src/test/resources/en-android.apk META-INF/MANIFEST.MF
Aug 18, 2014 4:41:52 PM io.selendroid.io.ShellCommand$PritingLogOutputStream processLine
FINE: OUTPUT FROM PROCESS: 'META-INF/MANIFEST.MF' NOT FOUND
Aug 18, 2014 4:41:52 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/build-tools/19.1.0/aapt remove /home/adminuser/Java_Projects/testappAutomationSelendroid/./src/test/resources/en-android.apk META-INF/CERT.RSA
Aug 18, 2014 4:41:52 PM io.selendroid.io.ShellCommand$PritingLogOutputStream processLine
FINE: OUTPUT FROM PROCESS: 'META-INF/CERT.RSA' NOT FOUND
08-21 16:00:49.041: I/PackageManager(770): Running dexopt on: com.test.app.android
08-21 16:00:51.671: I/ActivityManager(770): Force stopping com.test.app.android appid=10172 user=-1: update pkg
08-21 16:00:51.791: W/PackageManager(770): Unknown permission android.permission.CONFIGURE_SIP in package com.test.app.android
08-21 16:00:51.791: W/PackageManager(770): Unknown permission android.permission.NETWORK in package com.test.app.android
08-21 16:00:51.971: D/BackupManagerService(770): Received broadcast Intent { act=android.intent.action.PACKAGE_ADDED dat=package:com.test.app.android flg=0x4000010 (has extras) }
08-21 16:00:52.271: D/PackageBroadcastService(6497): Received broadcast action=android.intent.action.PACKAGE_ADDED and uri=com.test.app.android
08-21 16:00:52.291: I/IcingCorporaProvider(1360): Updating corpora: APPS=com.test.app.android, CONTACTS=MAYBE
08-21 16:00:52.311: I/InstallReceiver(30602): INSTALLED: com.test.app.android
08-21 16:00:53.071: I/AppCategory(2940): com.test.app.android: unknown
~/Java_Projects/Appium/appium$node .
info: Welcome to Appium v1.2.3 (REV 90d746b373f55e8653a251d2ce8c62df37941919)
info: Appium REST http interface listener started on 0.0.0.0:4723
info: Console LogLevel: debug
info: --> POST /wd/hub/session {"desiredCapabilities":{"automationName":"Selendroid","platformVersion":"4.4.2","platformName":"Android","deviceName":"Android","browserName":"Chrome"}}
info: [debug] No appActivity desired capability or server param. Parsing from apk.
info: [debug] No appPackage desired capability or server param. Parsing from apk.
error: No app set; either start appium with --app or pass in an 'app' value in desired capabilities, or set androidPackage to launch pre-existing app on device
info: [debug] Got configuration error, not starting session
info: [debug] Cleaning up appium session
java -jar selendroid-standalone-0.12.0-with-dependencies.jar -aut en-testapp.apk -forceReinstall
################# Selendroid #################
################# Configuration in use #################
io.selendroid.SelendroidConfiguration@316c171f[
port=4444
timeoutEmulatorStart=300000
supportedApps=[en-testapp.apk]
verbose=false
emulatorPort=5560
deviceScreenshot=false
node .
info: Welcome to Appium v1.2.4 (REV 71584425ecf777349e3215f0f18e71e7782acfb6)
info: Appium REST http interface listener started on 0.0.0.0:4723
info: Console LogLevel: debug
info: --> POST /wd/hub/session {"desiredCapabilities":{"newCommandTimeout":"300","automationName":"Appium","app":"/home/adminuser/Java_Projects/AppiumTestAutomation/target/test-classes/selendroid-test-app.apk","platformVersion":"4.4.2","deviceName":"Android","platformName":"Android","appActivity":".HomeScreenActivity","browserName":"","deviceReadyTimeout":"300","appPackage":"io.selendroid.testapp"}}
info: [debug] Using local app from desired caps: /home/adminuser/Java_Projects/AppiumTestAutomation/target/test-classes/selendroid-test-app.apk
info: [debug] Creating new appium session 109a2476-0907-4d28-8c26-185dc2312026
info: Starting android appium
info: [debug] Using fast reset? true
info: [debug] Preparing device for session
info: Welcome to Appium v1.2.4 (REV 14b66c94d012c1e4bf58794361e37631352d19ef)
info: Appium REST http interface listener started on 0.0.0.0:4723
info: Console LogLevel: debug
info: --> POST /wd/hub/session {"desiredCapabilities":{"newCommandTimeout":"300","automationName":"Appium","app":"/home/adminuser/Java_Projects/AppiumTestAutomation/target/test-classes/employee-directory.apk","platformVersion":"4.4.2","deviceName":"Android","platformName":"Android","appActivity":".EmployeeDirectory","browserName":"","deviceReadyTimeout":"300","appPackage":"io.selendroid.directory"}}
info: Client User-Agent string: Apache-HttpClient/4.4-beta1 (Java 1.5 minimum; Java/1.7.0_67)
info: [debug] Using local app from desired caps: /home/adminuser/Java_Projects/AppiumTestAutomation/target/test-classes/employee-directory.apk
info: [debug] Creating new appium session fb2eb385-ceb1-4ace-a2f1-75c5e82d06d0
info: Starting android appium
info: [debug] Using fast reset? true
info: [debug] Preparing device for session
2015-01-19 12:23:15:444 - info: Welcome to Appium v1.3.4 (REV 96dc94037c3f5747d173f6bc6e3abe249026090d)
2015-01-19 12:23:15:447 - info: Appium REST http interface listener started on 0.0.0.0:6001
2015-01-19 12:23:15:454 - info: [debug] Non-default server args: {"udid":"HT26HW300907","port":6001,"bootstrapPort":4001,"sessionOverride":true,"log":"/home/adminuser/Java_Projects/PhantomAutomationMaster/alice.log","selendroidPort":9001}
2015-01-19 12:23:15:455 - info: Console LogLevel: debug
2015-01-19 12:23:15:455 - info: File LogLevel: debug
2015-01-19 12:23:25:872 - info: --> POST /wd/hub/session {"desiredCapabilities":{"automationName":"Appium","newCommandTimeout":"3600","platformVersion":"4.4.2","app":"/home/adminuser/Java_Projects/alice/target/test-classes/en-android.apk","platformName":"Android","deviceName":"Android","browserName":"","appActivity":".gui.SplashActivity","deviceReadyTimeout":"3600","appPackage":"com.test.app"}}
2015-01-19 12:23:25:876 - info: Client User-Agent string: Apache-HttpClient/4.4-be
@priyankshah217
priyankshah217 / BuildError.log
Created January 22, 2015 11:38
Appium 1.3.5 Error
---- Resetting / Initializing Appium ----
RESETTING NPM
* Installing new or updated NPM modules (including devDeps)
RESETTING GENERAL
* Setting git revision data
Running "setGitRev" task
Config file exists, updating it
{"git-sha":"20f565a2f218cc6b5c9120756950421ed993d423","ios":{"version":"1.3.4"},"android":{"version":"1.3.4"},"built":"2015-01-19T05:55:40.942Z","selendroid":{"version":"1.3.4"}}
Done, without errors.
RESETTING ANDROID