Thursday, November 3, 2011

[android-developers] Re: Android 4.0 Emma Code Coverage

when I run my test with the args "-e coverage True", I got an
exception: "java.lang.ArrayIndexOutOfBoundsException".

After checking the exception detail, I found that an array in my app
code was change, which raise this exception. However the app without
the emma compiled work normally!

Could you help me or offer some suggestion!:)

On 11月2日, 上午6时57分, Xavier Ducrohet <x...@android.com> wrote:
> we changed the ant target names. Look athttp://developer.android.com/guide/developing/building/building-cmdli...
>
>
>
>
>
>
>
>
>
> On Tue, Nov 1, 2011 at 3:48 AM, Tony Lee <phoenixlw...@gmail.com> wrote:
> > I used the emma to generate the code coverage on theandroidphone.
>
> > Everything goes well when I used theandroidsdk 3.0 and before.
> > However, after I update the sdk to4.0, the report can't be  generated
> > by running "ant coverage". I have update the build.xml before I run
> > the command!
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "AndroidDevelopers" group.
> > To post to this group, send email toandroid-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> >android-developers+unsubscribe@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Xavier DucrohetAndroidSDK Tech Lead
> Google Inc.http://developer.android.com|http://tools.android.com
>
> Please do not send me questions directly. Thanks!

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment