dtmilano / AndroidViewClient

Android ViewServer and ADB client
Apache License 2.0
1.63k stars 347 forks source link

alarm not implemented on this platform error on windows #49

Closed asabhijitshelar closed 11 years ago

asabhijitshelar commented 11 years ago

Hi,

i have take latest master branch and run it. It will give alarm not implemented on this platform error. I need to use monkeyrunner dump --force-view-server-use

dtmilano commented 11 years ago

monkeyrunner has been deprecated for AndroidViewClient > 4.0, so if this is the case as I understand from your message, you should run:

python dump --force-view-server-use
asabhijitshelar commented 11 years ago

I just need actual ids of view when i am using command monkeyrunner dump -Vx --force-view-server-use

AndroidViewClient-dump-verbose works fine but do not have --force-view-server-use option.

I do not want user to install python and monkeyrunner works fine is there any way so that I can implement --force-view-server-use option for monkeyrunner

dtmilano commented 11 years ago

The reason why monkeyrunner was replaced by python is, among others, because same scripts run hundreds of times faster.

python dump -Vx --force-view-server-use works as expected.

I don't know what you mean by "AndroidViewClient-dump-verbose works fine ...", but if you, for any reason want to stick to monkeyrunner use AndroidViewClient < 4.0.0.

On Tue, Sep 24, 2013 at 12:16 AM, asabhijitshelar notifications@github.comwrote:

I just need actual ids of view when i am using command monkeyrunner dump -Vx --force-view-server-use

AndroidViewClient-dump-verbose works fine but do not have --force-view-server-use option.

I do not want user to install python and monkeyrunner works fine is there any way so that I can implement --force-view-server-use option for monkeyrunner

— Reply to this email directly or view it on GitHubhttps://github.com/dtmilano/AndroidViewClient/issues/49#issuecomment-24973680 .

Have you read my blog ? http://dtmilano.blogspot.com android junit tests ui linux cult thin clients