Two questions: 1. are you giving the full path to the apk? 2. can you perform any other device function? such as 'device.getProperty("build.model")'
On Sep 21, 8:48 pm, "mandeepa...@gmail.com" <mandeepa...@gmail.com> wrote: > First time, I am trying to run Monkeyrunner script on a device. I have > been getting the JavaNullPointer error when device.installpackage(..) > method is called. > > I could not figure if I have received an invalid "device" object OR > the parameter (test.apk) passed in the device.installpackage(..) > method has any problem. Apparently, I get 0x1 deviceID when I print it > on the interative shell > > I appreciate any pointers in effectively resolving the issue > > Thanks, > Mandeep -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en