Open GoogleCodeExporter opened 9 years ago
Update. this issue was solved.
root cause is that I'm using eclipse, and after add external jar, eclipse did
not actually include this jar, need to also select on this server jar in "Java
Build Path" -> "Order and Export"
Original comment by irahan...@gmail.com
on 18 May 2012 at 1:24
After selecting server jar file from java build path -> Order and Export.
I am getting the same error "java.lang.RuntimeException: Unable to instantiate
instrumentation
ComponentInfo{com.google.android.testing.nativedriver.simplelayouts/com.google.a
ndroid.testing.nativedriver.server.ServerInstrumentation}:
java.lang.ClassNotFoundException:
com.google.android.testing.nativedriver.server.ServerInstrumentation in loader
dalvik.system.PathClassLoader[/data/app/com.google.android.testing.nativedriver.
simplelayouts-1.apk:/data/app/com.google.android.testing.nativedriver.simplelayo
uts-1.apk]"
Original comment by arunImun...@gmail.com
on 13 Jul 2012 at 7:53
Please execute the following command
adb shell am instrument
com.google.android.testing.nativedriver.simplelayouts/com.google.android.testing
.nativedriver.server.ServerInstrumentation
after navigating to "drive:\nativedriver\android\sample-aut\simplelayouts\src"
at the command prompt.
It is working fine for me.
Original comment by sunilkum...@gmail.com
on 27 Aug 2012 at 1:09
Hello guys....
am facing this issue....
angeService.java:1249)
E/StrictMode( 627): at com.android.exchange.ExchangeService$7.run(ExchangeSe
rvice.java:1856)
E/StrictMode( 627): at com.android.emailcommon.utility.Utility$2.doInBackgro
und(Utility.java:551)
E/StrictMode( 627): at com.android.emailcommon.utility.Utility$2.doInBackgro
und(Utility.java:549)
E/StrictMode( 627): at android.os.AsyncTask$2.call(AsyncTask.java:287)
E/StrictMode( 627): at java.util.concurrent.FutureTask.run(FutureTask.java:2
34)
E/StrictMode( 627): at java.util.concurrent.ThreadPoolExecutor.runWorker(Thr
eadPoolExecutor.java:1080)
E/StrictMode( 627): at java.util.concurrent.ThreadPoolExecutor$Worker.run(Th
readPoolExecutor.java:573)
E/StrictMode( 627): at java.lang.Thread.run(Thread.java:856)
W/ActivityManager( 288): Unbind failed: could not find connection for android.o
s.BinderProxy@40fa0c40
E/ActivityThread( 627): Service com.android.exchange.ExchangeService has leaked
ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@
40d19198 that was originally bound here
E/ActivityThread( 627): android.app.ServiceConnectionLeaked: Service com.androi
d.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.
service.ServiceProxy$ProxyConnection@40d19198 that was originally bound here
E/ActivityThread( 627): at android.app.LoadedApk$ServiceDispatcher.<init
>(LoadedApk.java:969)
E/ActivityThread( 627): at android.app.LoadedApk.getServiceDispatcher(Lo
adedApk.java:863)
E/ActivityThread( 627): at android.app.ContextImpl.bindService(ContextIm
pl.java:1418)
E/ActivityThread( 627): at android.app.ContextImpl.bindService(ContextIm
pl.java:1407)
E/ActivityThread( 627): at android.content.ContextWrapper.bindService(Co
ntextWrapper.java:473)
E/ActivityThread( 627): at com.android.emailcommon.service.ServiceProxy.
setTask(ServiceProxy.java:157)
E/ActivityThread( 627): at com.android.emailcommon.service.ServiceProxy.
setTask(ServiceProxy.java:145)
E/ActivityThread( 627): at com.android.emailcommon.service.ServiceProxy.
test(ServiceProxy.java:191)
E/ActivityThread( 627): at com.android.exchange.ExchangeService$7.run(Ex
changeService.java:1850)
E/ActivityThread( 627): at com.android.emailcommon.utility.Utility$2.doI
nBackground(Utility.java:551)
E/ActivityThread( 627): at com.android.emailcommon.utility.Utility$2.doI
nBackground(Utility.java:549)
E/ActivityThread( 627): at android.os.AsyncTask$2.call(AsyncTask.java:28
7)
E/ActivityThread( 627): at java.util.concurrent.FutureTask.run(FutureTas
k.java:234)
E/ActivityThread( 627): at java.util.concurrent.ThreadPoolExecutor.runWo
rker(ThreadPoolExecutor.java:1080)
E/ActivityThread( 627): at java.util.concurrent.ThreadPoolExecutor$Worke
r.run(ThreadPoolExecutor.java:573)
E/ActivityThread( 627): at java.lang.Thread.run(Thread.java:856)
E/StrictMode( 627): null
E/StrictMode( 627): android.app.ServiceConnectionLeaked: Service com.android.ex
change.ExchangeService has leaked ServiceConnection com.android.emailcommon.serv
ice.ServiceProxy$ProxyConnection@40d19198 that was originally bound here
E/StrictMode( 627): at android.app.LoadedApk$ServiceDispatcher.<init>(Loaded
Apk.java:969)
E/StrictMode( 627): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.
java:863)
E/StrictMode( 627): at android.app.ContextImpl.bindService(ContextImpl.java:
1418)
E/StrictMode( 627): at android.app.ContextImpl.bindService(ContextImpl.java:
1407)
E/StrictMode( 627): at android.content.ContextWrapper.bindService(ContextWra
pper.java:473)
E/StrictMode( 627): at com.android.emailcommon.service.ServiceProxy.setTask(
ServiceProxy.java:157)
E/StrictMode( 627): at com.android.emailcommon.service.ServiceProxy.setTask(
ServiceProxy.java:145)
E/StrictMode( 627): at com.android.emailcommon.service.ServiceProxy.test(Ser
viceProxy.java:191)
E/StrictMode( 627): at com.android.exchange.ExchangeService$7.run(ExchangeSe
rvice.java:1850)
E/StrictMode( 627): at com.android.emailcommon.utility.Utility$2.doInBackgro
und(Utility.java:551)
E/StrictMode( 627): at com.android.emailcommon.utility.Utility$2.doInBackgro
und(Utility.java:549)
E/StrictMode( 627): at android.os.AsyncTask$2.call(AsyncTask.java:287)
E/StrictMode( 627): at java.util.concurrent.FutureTask.run(FutureTask.java:2
34)
E/StrictMode( 627): at java.util.concurrent.ThreadPoolExecutor.runWorker(Thr
eadPoolExecutor.java:1080)
E/StrictMode( 627): at java.util.concurrent.ThreadPoolExecutor$Worker.run(Th
readPoolExecutor.java:573)
E/StrictMode( 627): at java.lang.Thread.run(Thread.java:856)
W/ActivityManager( 288): Unbind failed: could not find connection for android.o
s.BinderProxy@410a5b80
D/dalvikvm( 627): GC_CONCURRENT freed 475K, 21% free 2470K/3092K, paused 75ms+8
ms, total 258ms
W/Trace ( 288): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 288): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 288): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 288): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 407): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 407): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 407): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 407): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 676): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 407): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 407): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 391): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 391): Unexpected value from nativeGetEnabledTags: 0
D/ExchangeService( 627): Received deviceId from Email app: null
D/ExchangeService( 627): !!! deviceId unknown; stopping self and retrying
W/Trace ( 627): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 627): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 627): Unexpected value from nativeGetEnabledTags: 0
D/ExchangeService( 627): !!! EAS ExchangeService, onStartCommand, startingUp =
false, running = false
W/ActivityManager( 288): Unable to start service Intent { act=com.android.email
.ACCOUNT_INTENT } U=0: not found
D/ExchangeService( 627): !!! Email application not found; stopping self
W/ActivityManager( 288): Unable to start service Intent { act=com.android.email
.ACCOUNT_INTENT } U=0: not found
W/Trace ( 627): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 627): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 627): Unexpected value from nativeGetEnabledTags: 0
E/ActivityThread( 627): Service com.android.exchange.ExchangeService has leaked
ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@
40d381f8 that was originally bound here
E/ActivityThread( 627): android.app.ServiceConnectionLeaked: Service com.androi
d.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.
service.ServiceProxy$ProxyConnection@40d381f8 that was originally bound here
E/ActivityThread( 627): at android.app.LoadedApk$ServiceDispatcher.<init
>(LoadedApk.java:969)
E/ActivityThread( 627): at android.app.LoadedApk.getServiceDispatcher(Lo
adedApk.java:863)
E/ActivityThread( 627): at android.app.ContextImpl.bindService(ContextIm
pl.java:1418)
E/ActivityThread( 627): at android.app.ContextImpl.bindService(ContextIm
pl.java:1407)
E/ActivityThread( 627): at android.content.ContextWrapper.bindService(Co
ntextWrapper.java:473)
E/ActivityThread( 627): at com.android.emailcommon.service.ServiceProxy.
setTask(ServiceProxy.java:157)
E/ActivityThread( 627): at com.android.emailcommon.service.ServiceProxy.
setTask(ServiceProxy.java:145)
E/ActivityThread( 627): at com.android.emailcommon.service.AccountServic
eProxy.getDeviceId(AccountServiceProxy.java:116)
E/ActivityThread( 627): at com.android.exchange.ExchangeService.getDevic
eId(ExchangeService.java:1249)
E/ActivityThread( 627): at com.android.exchange.ExchangeService$7.run(Ex
changeService.java:1856)
E/ActivityThread( 627): at com.android.emailcommon.utility.Utility$2.doI
nBackground(Utility.java:551)
E/ActivityThread( 627): at com.android.emailcommon.utility.Utility$2.doI
nBackground(Utility.java:549)
E/ActivityThread( 627): at android.os.AsyncTask$2.call(AsyncTask.java:28
7)
E/ActivityThread( 627): at java.util.concurrent.FutureTask.run(FutureTas
k.java:234)
E/ActivityThread( 627): at java.util.concurrent.ThreadPoolExecutor.runWo
rker(ThreadPoolExecutor.java:1080)
E/ActivityThread( 627): at java.util.concurrent.ThreadPoolExecutor$Worke
r.run(ThreadPoolExecutor.java:573)
E/ActivityThread( 627): at java.lang.Thread.run(Thread.java:856)
E/StrictMode( 627): null
E/StrictMode( 627): android.app.ServiceConnectionLeaked: Service com.android.ex
change.ExchangeService has leaked ServiceConnection com.android.emailcommon.serv
ice.ServiceProxy$ProxyConnection@40d381f8 that was originally bound here
E/StrictMode( 627): at android.app.LoadedApk$ServiceDispatcher.<init>(Loaded
Apk.java:969)
E/StrictMode( 627): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.
java:863)
E/StrictMode( 627): at android.app.ContextImpl.bindService(ContextImpl.java:
1418)
E/StrictMode( 627): at android.app.ContextImpl.bindService(ContextImpl.java:
1407)
E/StrictMode( 627): at android.content.ContextWrapper.bindService(ContextWra
pper.java:473)
E/StrictMode( 627): at com.android.emailcommon.service.ServiceProxy.setTask(
ServiceProxy.java:157)
E/StrictMode( 627): at com.android.emailcommon.service.ServiceProxy.setTask(
ServiceProxy.java:145)
E/StrictMode( 627): at com.android.emailcommon.service.AccountServiceProxy.g
etDeviceId(AccountServiceProxy.java:116)
E/StrictMode( 627): at com.android.exchange.ExchangeService.getDeviceId(Exch
angeService.java:1249)
E/StrictMode( 627): at com.android.exchange.ExchangeService$7.run(ExchangeSe
rvice.java:1856)
E/StrictMode( 627): at com.android.emailcommon.utility.Utility$2.doInBackgro
und(Utility.java:551)
E/StrictMode( 627): at com.android.emailcommon.utility.Utility$2.doInBackgro
und(Utility.java:549)
E/StrictMode( 627): at android.os.AsyncTask$2.call(AsyncTask.java:287)
E/StrictMode( 627): at java.util.concurrent.FutureTask.run(FutureTask.java:2
34)
E/StrictMode( 627): at java.util.concurrent.ThreadPoolExecutor.runWorker(Thr
eadPoolExecutor.java:1080)
E/StrictMode( 627): at java.util.concurrent.ThreadPoolExecutor$Worker.run(Th
readPoolExecutor.java:573)
E/StrictMode( 627): at java.lang.Thread.run(Thread.java:856)
W/ActivityManager( 288): Unbind failed: could not find connection for android.o
s.BinderProxy@4136a3d8
E/ActivityThread( 627): Service com.android.exchange.ExchangeService has leaked
ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@
40d37ec8 that was originally bound here
E/ActivityThread( 627): android.app.ServiceConnectionLeaked: Service com.androi
d.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.
service.ServiceProxy$ProxyConnection@40d37ec8 that was originally bound here
E/ActivityThread( 627): at android.app.LoadedApk$ServiceDispatcher.<init
>(LoadedApk.java:969)
E/ActivityThread( 627): at android.app.LoadedApk.getServiceDispatcher(Lo
adedApk.java:863)
E/ActivityThread( 627): at android.app.ContextImpl.bindService(ContextIm
pl.java:1418)
E/ActivityThread( 627): at android.app.ContextImpl.bindService(ContextIm
pl.java:1407)
E/ActivityThread( 627): at android.content.ContextWrapper.bindService(Co
ntextWrapper.java:473)
E/ActivityThread( 627): at com.android.emailcommon.service.ServiceProxy.
setTask(ServiceProxy.java:157)
E/ActivityThread( 627): at com.android.emailcommon.service.ServiceProxy.
setTask(ServiceProxy.java:145)
E/ActivityThread( 627): at com.android.emailcommon.service.ServiceProxy.
test(ServiceProxy.java:191)
E/ActivityThread( 627): at com.android.exchange.ExchangeService$7.run(Ex
changeService.java:1850)
E/ActivityThread( 627): at com.android.emailcommon.utility.Utility$2.doI
nBackground(Utility.java:551)
E/ActivityThread( 627): at com.android.emailcommon.utility.Utility$2.doI
nBackground(Utility.java:549)
E/ActivityThread( 627): at android.os.AsyncTask$2.call(AsyncTask.java:28
7)
E/ActivityThread( 627): at java.util.concurrent.FutureTask.run(FutureTas
k.java:234)
E/ActivityThread( 627): at java.util.concurrent.ThreadPoolExecutor.runWo
rker(ThreadPoolExecutor.java:1080)
E/ActivityThread( 627): at java.util.concurrent.ThreadPoolExecutor$Worke
r.run(ThreadPoolExecutor.java:573)
E/ActivityThread( 627): at java.lang.Thread.run(Thread.java:856)
E/StrictMode( 627): null
E/StrictMode( 627): android.app.ServiceConnectionLeaked: Service com.android.ex
change.ExchangeService has leaked ServiceConnection com.android.emailcommon.serv
ice.ServiceProxy$ProxyConnection@40d37ec8 that was originally bound here
E/StrictMode( 627): at android.app.LoadedApk$ServiceDispatcher.<init>(Loaded
Apk.java:969)
E/StrictMode( 627): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.
java:863)
E/StrictMode( 627): at android.app.ContextImpl.bindService(ContextImpl.java:
1418)
E/StrictMode( 627): at android.app.ContextImpl.bindService(ContextImpl.java:
1407)
E/StrictMode( 627): at android.content.ContextWrapper.bindService(ContextWra
pper.java:473)
E/StrictMode( 627): at com.android.emailcommon.service.ServiceProxy.setTask(
ServiceProxy.java:157)
E/StrictMode( 627): at com.android.emailcommon.service.ServiceProxy.setTask(
ServiceProxy.java:145)
E/StrictMode( 627): at com.android.emailcommon.service.ServiceProxy.test(Ser
viceProxy.java:191)
E/StrictMode( 627): at com.android.exchange.ExchangeService$7.run(ExchangeSe
rvice.java:1850)
E/StrictMode( 627): at com.android.emailcommon.utility.Utility$2.doInBackgro
und(Utility.java:551)
E/StrictMode( 627): at com.android.emailcommon.utility.Utility$2.doInBackgro
und(Utility.java:549)
E/StrictMode( 627): at android.os.AsyncTask$2.call(AsyncTask.java:287)
E/StrictMode( 627): at java.util.concurrent.FutureTask.run(FutureTask.java:2
34)
E/StrictMode( 627): at java.util.concurrent.ThreadPoolExecutor.runWorker(Thr
eadPoolExecutor.java:1080)
E/StrictMode( 627): at java.util.concurrent.ThreadPoolExecutor$Worker.run(Th
readPoolExecutor.java:573)
E/StrictMode( 627): at java.lang.Thread.run(Thread.java:856)
W/ActivityManager( 288): Unbind failed: could not find connection for android.o
s.BinderProxy@413638e8
plz plz help me.......
i need to submit this project .....
i follow all the steps still not able to run this project ....
Original comment by amol.sur...@gmail.com
on 21 Feb 2013 at 12:42
I am also getting the same exception "ClassNotFoundException".
I have tried Order and Export also,but still its not working.
I am using eclipse 3.7 indigo.
Please help me on this.
Original comment by sachin.g...@gmail.com
on 12 Jun 2013 at 10:59
How to get that serverstandalone.jar file
Original comment by akashdee...@gmail.com
on 28 Jul 2014 at 12:32
Original issue reported on code.google.com by
irahan...@gmail.com
on 17 May 2012 at 7:02