anandmeher / robotium

Automatically exported from code.google.com/p/robotium
0 stars 0 forks source link

Unable start new Recording #665

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create New Robotium test
2.add .apk file
3.Click on Start recording

What is the expected output? What do you see instead?
Should start an AVD and start recording 

What version of the product are you using? On what operating system?
Trial version 
OS: Windows 7.

Please provide any additional information below.
Recording was working fine earlier, Once I changed the AVD's Configuration 
unable record new test and Run the existing tests

I get following error when I start new recording
"[2015-03-03 15:54:50 - DeviceMonitor] Adb connection Error:An existing 
connection was forcibly closed by the remote host
[2015-03-03 15:54:51 - DeviceMonitor] Connection attempts: 1
[2015-03-03 15:57:25 - DeviceMonitor] Adb connection Error:An existing 
connection was forcibly closed by the remote host
[2015-03-03 15:57:26 - DeviceMonitor] Connection attempts: 1
"

I get below error when I run the existing test
"[2015-02-24 12:00:24 - MyAppExecutor] ------------------------------
[2015-02-24 12:00:24 - MyAppExecutor] Android Launch!
[2015-02-24 12:00:24 - MyAppExecutor] adb is running normally.
[2015-02-24 12:00:24 - MyAppExecutor] Performing 
android.test.InstrumentationTestRunner JUnit launch
[2015-02-24 12:00:24 - MyAppExecutor] Automatic Target Mode: using device 
'FA44GWM06469'
[2015-02-24 12:00:24 - MyAppExecutor] Uploading MyAppExecutor.apk onto device 
'FA44GWM06469'
[2015-02-24 12:00:24 - MyAppExecutor] Installing MyAppExecutor.apk...
[2015-02-24 12:00:25 - MyAppExecutor] Success!
[2015-02-24 12:00:25 - MyAppExecutor] Launching instrumentation 
android.test.InstrumentationTestRunner on FA44GWM06469
[2015-02-24 12:00:34 - MyAppExecutor] Test run failed: Instrumentation run 
failed due to 'java.lang.IncompatibleClassChangeError'
"

Original issue reported on code.google.com by chitrash...@gmail.com on 3 Mar 2015 at 10:33

GoogleCodeExporter commented 9 years ago
What happens if you delete the current AVD and create a new one?

Original comment by renasr...@gmail.com on 4 Mar 2015 at 12:58

GoogleCodeExporter commented 9 years ago
Recording doesn't happen . It just shows "starting.." message and hangs the 
recorder.

Original comment by chitrash...@gmail.com on 4 Mar 2015 at 9:52

GoogleCodeExporter commented 9 years ago
Something is wrong with your environment. What you could try is in the command 
prompt write: "adb kill-server" and then "adb start-server". If that doesnt 
help you can delete all your AVDs and Robotium Recorder willl automatically 
create a new for you. 

Original comment by renasr...@gmail.com on 4 Mar 2015 at 5:56