java.lang.RuntimeException: io.selendroid.exceptions.SelendroidException: > Environment variable 'ANDROID_HOME' was not found! > at > io.selendroid.server.model.SelendroidStandaloneDriver.initApplicationsUnderTest(SelendroidStandaloneDriver.java:146) > at > io.selendroid.server.model.SelendroidStandaloneDriver.<init>(SelendroidStandaloneDriver.java:84) > at > io.selendroid.server.SelendroidStandaloneServer.initializeSelendroidServer(SelendroidStandaloneServer.java:61) > at > io.selendroid.server.SelendroidStandaloneServer.<init>(SelendroidStandaloneServer.java:50) > at > io.selendroid.SelendroidLauncher.launchServer(SelendroidLauncher.java:64) > at io.selendroid.SelendroidLauncher.main(SelendroidLauncher.java:112)

Google Groups | Erando89 | 2 years ago
  1. 0

    SelendroidException: Environment variable 'ANDROID_HOME' was not found!

    Google Groups | 2 years ago | Erando89
    java.lang.RuntimeException: io.selendroid.exceptions.SelendroidException: > Environment variable 'ANDROID_HOME' was not found! > at > io.selendroid.server.model.SelendroidStandaloneDriver.initApplicationsUnderTest(SelendroidStandaloneDriver.java:146) > at > io.selendroid.server.model.SelendroidStandaloneDriver.<init>(SelendroidStandaloneDriver.java:84) > at > io.selendroid.server.SelendroidStandaloneServer.initializeSelendroidServer(SelendroidStandaloneServer.java:61) > at > io.selendroid.server.SelendroidStandaloneServer.<init>(SelendroidStandaloneServer.java:50) > at > io.selendroid.SelendroidLauncher.launchServer(SelendroidLauncher.java:64) > at io.selendroid.SelendroidLauncher.main(SelendroidLauncher.java:112)
  2. 0

    NullPointerException when launching selendroid server using testng ant task

    Google Groups | 3 years ago | Chris Padgett
    java.lang.RuntimeException: java.lang.NullPointerException at io.selendroid.server.model.SelendroidStandaloneDriver.initApplicationsUnderTest(SelendroidStandaloneD river.java:159) at io.selendroid.server.model.SelendroidStandaloneDriver.<init>(SelendroidStandaloneDriver.java:93) at io.selendroid.server.SelendroidStandaloneServer.initializeSelendroidServer(SelendroidStandaloneServer .java:87) at io.selendroid.server.SelendroidStandaloneServer.<init>(SelendroidStandaloneServer.java:61) at io.selendroid.SelendroidLauncher.lauchServer(SelendroidLauncher.java:67) at io.selendroid.SelendroidLauncher.lauchSelendroid(SelendroidLauncher.java:90) at io.selendroid.SelendroidLauncher$lauchSelendroid.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at com.digidata.mwsdriver.browserfactory.BrowserFactory.startSelendroidSever(BrowserFactory.groovy:84) at com.digidata.mwsdriver.browserfactory.BrowserFactory$startSelendroidSever.call(Unknown Source)
  3. 0

    Getting shell command exception after running selendroid standalone from cmd

    Stack Overflow | 7 months ago | Cloudravi
    java.lang.RuntimeException: io.selendroid.exceptions. ShellCommandException: An error occured while executing shell command: C:\Progra m Files\Java\jdk1.8.0_45\jre\bin\jarsigner.exe -sigalg MD5withRSA -digestalg SHA 1 -signedjar C:\Users\RaviGiri\AppData\Local\Temp\resigned-android-driver8539332 759581554392.apk -storepass android -keystore C:\Users\RaviGiri\.android\debug.k eystore C:\Users\RaviGiri\AppData\Local\Temp\android-driver8539332759581554392.a pk androiddebugkey at io.selendroid.server.model.SelendroidStandaloneDriver.initApplication sUnderTest(SelendroidStandaloneDriver.java:144) at io.selendroid.server.model.SelendroidStandaloneDriver.<init>(Selendro idStandaloneDriver.java:82) at io.selendroid.server.SelendroidStandaloneServer.initializeSelendroidS erver(SelendroidStandaloneServer.java:61) at io.selendroid.server.SelendroidStandaloneServer.<init>(SelendroidStan daloneServer.java:50) at io.selendroid.SelendroidLauncher.launchServer(SelendroidLauncher.java :49)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Getting shell command exception after running selendroid standalone from cmd

    Stack Overflow | 7 months ago | Cloudravi
    java.lang.RuntimeException: io.selendroid.exceptions.ShellCommandException: An e rror occured while executing shell command: C:\Program Files\Java\jdk1.8.0_45\jr e\bin\jarsigner.exe -sigalg MD5withRSA -digestalg SHA1 -signedjar C:\Users\RaviG iri\AppData\Local\Temp\resigned-android-driver8539332759581554392.apk -storepass android -keystore C:\Users\RaviGiri\.android\debug.keystore C:\Users\RaviGiri\A ppData\Local\Temp\android-driver8539332759581554392.apk androiddebugkey at io.selendroid.server.model.SelendroidStandaloneDriver.initApplication sUnderTest(SelendroidStandaloneDriver.java:144) at io.selendroid.server.model.SelendroidStandaloneDriver.<init>(Selendro idStandaloneDriver.java:82) at io.selendroid.server.SelendroidStandaloneServer.initializeSelendroidS erver(SelendroidStandaloneServer.java:61) at io.selendroid.server.SelendroidStandaloneServer.<init>(SelendroidStan daloneServer.java:50) at io.selendroid.SelendroidLauncher.launchServer(SelendroidLauncher.java :49)
  6. 0

    SelendroidDriver cannot be resolved to a type

    Stack Overflow | 2 years ago | Poras Bhardwaj
    java.lang.RuntimeException: io.selendroid.exceptions. ShellCommandException: An error occured while executing shell command: C:\Progra m Files\Java\jre7\bin\jarsigner.exe -sigalg MD5withRSA -digestalg SHA1 -signedja r C:\Users\user\AppData\Local\Temp\resigned-android-driver6507564983638345758.ap k -storepass android -keystore C:\Users\user\.android\debug.keystore C:\Users\us er\AppData\Local\Temp\android-driver6507564983638345758.apk androiddebugkey at io.selendroid.server.model.SelendroidStandaloneDriver.initApplication sUnderTest(SelendroidStandaloneDriver.java:146) at io.selendroid.server.model.SelendroidStandaloneDriver.&lt;init&gt;(Selendro idStandaloneDriver.java:84) at io.selendroid.server.SelendroidStandaloneServer.initializeSelendroidS erver(SelendroidStandaloneServer.java:61) at io.selendroid.server.SelendroidStandaloneServer.&lt;init&gt;(SelendroidStan daloneServer.java:50)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      io.selendroid.exceptions.SelendroidException: > Environment variable 'ANDROID_HOME' was not found! > at > io.selendroid.server.model.SelendroidStandaloneDriver.initApplicationsUnderTest(SelendroidStandaloneDriver.java:146) > at > io.selendroid.server.model.SelendroidStandaloneDriver.<init>(SelendroidStandaloneDriver.java:84) > at > io.selendroid.server.SelendroidStandaloneServer.initializeSelendroidServer(SelendroidStandaloneServer.java:61) > at > io.selendroid.server.SelendroidStandaloneServer.<init>(SelendroidStandaloneServer.java:50) > at > io.selendroid.SelendroidLauncher.launchServer(SelendroidLauncher.java:64) > at io.selendroid.SelendroidLauncher.main(SelendroidLauncher.java:112)

      at io.selendroid.android.AndroidSdk.androidHome()
    2. io.selendroid.android
      AndroidSdk.androidHome
      1. io.selendroid.android.AndroidSdk.androidHome(AndroidSdk.java:97)
      1 frame