Closed lukeis closed 8 years ago
Reported by barancev
on 2011-12-26 06:55:55
encounter the same problem, searching for the answer now
Reported by Yajun0601
on 2012-04-11 01:19:29
same problem as well. i can see the AndroidDriver class in the selenium-java-2.21.0.jar...
Reported by rebecca@zattoo.com
on 2012-04-20 18:56:31
I am using the second method: Using the Android Test Framework
I am also getting the following error at run time:-
java.lang.NoClassDefFoundError: org.openqa.selenium.android.AndroidWebDriver
at simple.app.test.SimpleGoogleTest.setUp(SimpleGoogleTest.java:21)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:545)
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1551)
Reported by dholeanagha
on 2012-04-27 07:06:17
Even i faced this same issue. I am using SDK which is pre installed. I just gone through
the steps of setting up the android webdriver project followed as in WIKI: http://code.google.com/p/selenium/wiki/AndroidDriver.
Im using Android 4.0, selenium-server-standalone-2.21.0.jar, android_webdriver_library.jar.
Can someone please suggest on this?
Using the Android Test Framework
Reported by nitin.ch170584
on 2012-05-10 12:32:23
I've the same problem... Someone have a solution ?
I'm looking for, I come back to send my feeds back
05-15 07:49:45.209: I/TestRunner(498): ----- begin exception -----
05-15 07:49:45.209: I/TestRunner(498): java.lang.NoClassDefFoundError: org.openqa.selenium.android.AndroidWebDriver
05-15 07:49:45.209: I/TestRunner(498): at site.agoda.test.Connection_Test.setUp(Connection_Test.java:26)
05-15 07:49:45.209: I/TestRunner(498): at junit.framework.TestCase.runBare(TestCase.java:125)
05-15 07:49:45.209: I/TestRunner(498): at junit.framework.TestResult$1.protect(TestResult.java:106)
05-15 07:49:45.209: I/TestRunner(498): at junit.framework.TestResult.runProtected(TestResult.java:124)
05-15 07:49:45.209: I/TestRunner(498): at junit.framework.TestResult.run(TestResult.java:109)
05-15 07:49:45.209: I/TestRunner(498): at junit.framework.TestCase.run(TestCase.java:118)
05-15 07:49:45.209: I/TestRunner(498): at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
05-15 07:49:45.209: I/TestRunner(498): at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
05-15 07:49:45.209: I/TestRunner(498): at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:529)
05-15 07:49:45.209: I/TestRunner(498): at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1448)
05-15 07:49:45.209: I/TestRunner(498): ----- end exception -----
Reported by vivien.crumiere
on 2012-05-15 07:59:46
I am also using android web driver and facing same issue(Android Driver not found).
Someone please provide the solution.
Reported by sack112007
on 2012-06-30 05:23:53
Even i am also facing the same issue.Please some one from the team can help all of us
on this issue.
Reported by anand09.u
on 2012-07-05 09:58:33
Still no workaround for this bug?
Reported by Joel.lafaille
on 2012-08-09 09:52:26
Got the same problem
Reported by steph82
on 2012-09-05 18:33:00
I also faced the same problem :(
Reported by banu4logic
on 2012-09-25 10:04:43
Facing the same issue with AndroidTestFramework. Please suggest a solution
Reported by reenajadav19
on 2013-01-19 10:15:40
I am also Facing the same same issue..can any one has solution?? please share..its very
need full..
Reported by murty.tvln
on 2013-04-02 06:44:39
I am also facing the same issue. I am using following combination:
Android API 4.2
selenium-java-2.31.0.jar
selenium-java-2.31.0-srcs.jar
Any help on this is appreciable .
-Amit
Reported by linkin.amit
on 2013-04-02 14:12:35
I am also facing the same issue.
When I add jars externally, I get the following error:
java.lang.NoClassDefFoundError: org.openqa.selenium.android.*
[Avoid adding jars externally]
Whenever "selenium-server-standalone-2.32.0.jar" is placed under "libs" folder, I get
the following error:
Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(bsh.util.AWTConsole$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
How to overcome this? Any help! please let us know.....
-Prashanth Sams
Reported by sams.prashanth
on 2013-04-23 12:09:59
Hi Prashanth, I am also facing the same issue as you mention .Kindly guide me if you
got any success with the same.
Thanks
Reported by arushgpt
on 2013-05-15 10:22:35
I am getting the same error "java.lang.NoClassDefFoundError: org.openqa.selenium.android.AndroidDriver"
though the class is present inside the selenium jar.
Reported by vaishali.behere
on 2013-06-24 17:25:17
This issue is open from more than 1 year, is there any work around for this?
Reported by sudheer.test
on 2013-11-21 12:58:34
Running the code in a java project is the workaround or solution for now.
Reported by sudheer.test
on 2013-12-19 09:48:31
Selenium project no longer supports the AndroidDriver.
Please use Selendroid instead:
http://selendroid.io/webview.html
And log any issues against that project:
https://github.com/selendroid/selendroid/issues
Reported by luke.semerau
on 2013-12-26 21:57:35
WontFix
Reported by luke.semerau
on 2015-09-17 18:14:24
Originally reported on Google Code with ID 3077
Reported by
zhouboluo1989
on 2011-12-18 09:22:29