tag:blogger.com,1999:blog-25456655.post5162530208365145176..comments2024-03-23T07:01:55.848-04:00Comments on Diego Torres Milano's blog: Android Continuos Integration: Build with mavenDiego Torres Milanohttp://www.blogger.com/profile/12030778501784140349noreply@blogger.comBlogger17125tag:blogger.com,1999:blog-25456655.post-78214084858481014452012-01-19T01:59:17.634-05:002012-01-19T01:59:17.634-05:00Thanks for the afflatus I was fatigued by appointm...Thanks for the afflatus I was fatigued by appointment but i learn that action is about alive to the fullest and able every moment.<br /><br /><a href="http://www.android-developers.in/" rel="nofollow">Android developer</a>Android app developershttps://www.blogger.com/profile/03195450239741585376noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-71461712302150003692011-12-13T09:07:38.142-05:002011-12-13T09:07:38.142-05:00Hi!
I have an android library project, and its rel...Hi!<br />I have an android library project, and its related instrumentation test project. Both projects are built using maven, and under CI within Hudson. I'm looking for a way to include emma coverage report to my CI job, but didn't find the way to generate emma coverage report from maven build yet...<br />Do you have any advice?<br /><br />Thanks,<br />Lorie.Loriehttps://www.blogger.com/profile/15959421897533890651noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-78377386089507987702011-11-16T17:37:09.568-05:002011-11-16T17:37:09.568-05:00Have you run code coverage using hudson and emma p...Have you run code coverage using hudson and emma plugin using the set up written in this post (source code in APP and android JUNIT test in APPTest ). If you can share the pom file it will be great. Thanks!shwetyhttps://www.blogger.com/profile/03331889679299754351noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-50045279209065629352010-12-22T04:47:09.182-05:002010-12-22T04:47:09.182-05:00This comment has been removed by the author.Unknownhttps://www.blogger.com/profile/12335697368760467972noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-41113453935712889832010-07-13T04:30:39.010-04:002010-07-13T04:30:39.010-04:00sorry for not following up quickly enough -- actua...sorry for not following up quickly enough -- actually we found out that it's not the -no-window flag, it must be something related to the emulator itself.<br /><br />After hours of fumbling around, we found that whenever the build server starts a new emulator instance (using android:emulator-start), the build will fail because of the broken event injection permissions. However, if an emulator is already running, the build succeeds.<br /><br />Still, on our dev machines, the build ALWAYS succeeds, regardless whether an emulator has to be started first or not.<br /><br />Do you know what could actually be causing these permission problems? I have posted a more detailed description of the errors that pop up in the device logs here:<br /><br />http://stackoverflow.com/questions/3214531/how-to-send-key-events-to-a-headless-emulator-in-an-instrumentation-testMatthiashttps://www.blogger.com/profile/11991040271336510502noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-76889776250841345392010-07-12T16:44:55.995-04:002010-07-12T16:44:55.995-04:00Do your tests send the events normally if the emul...Do your tests send the events normally if the emulator is not headless ?Diego Torres Milanohttps://www.blogger.com/profile/12030778501784140349noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-30685119116949857342010-07-12T03:39:55.316-04:002010-07-12T03:39:55.316-04:00Hi Diego,
we have a similar setup (Android/Maven/...Hi Diego,<br /><br />we have a similar setup (Android/Maven/Hudson), but whenever we try to send key events to a headless emulator in an instrumentation test, the test will fail.<br /><br />The logs say it's a permission problem with key event injection. The build works when run on an emulator that does have a window, so it must be related to the -no-window flag.<br /><br />Does InstrumentationTestCase.sendKeys() work for you on a headless emulator?Matthiashttps://www.blogger.com/profile/11991040271336510502noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-29058559280579483752010-03-28T19:28:17.486-04:002010-03-28T19:28:17.486-04:00Hi Ricardo,
Thanks for the info. I will be testing...Hi Ricardo,<br />Thanks for the info. I will be testing the plugin soon.Diego Torres Milanohttps://www.blogger.com/profile/12030778501784140349noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-18835857275579195922010-03-28T09:05:14.430-04:002010-03-28T09:05:14.430-04:00Hi Guys,
If you're interested, I've been ...Hi Guys,<br /><br />If you're interested, I've been working on a plug-in for better Eclipse-ADT-Maven integration which also resolves the issue of dependency management:<br /><br />http://code.google.com/p/m2eclipse-android-integration/<br /><br />Let me know what you think.<br /><br />-- RicardoRicardohttps://www.blogger.com/profile/14634420499207397879noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-41855044501965953122010-02-26T12:20:25.132-05:002010-02-26T12:20:25.132-05:00You can also do this using the unpack goal for the...You can also do this using the unpack goal for the maven-dependency-plugin. Here's an example I used for my project: <br />http://github.com/hugojosefson/maven-android-plugin-assets-dependency/blob/master/assets-dependency-app/pom.xml<br /><br />Cheers!Danielhttps://www.blogger.com/profile/03931851886368259656noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-80752401930643563722010-02-26T09:18:52.636-05:002010-02-26T09:18:52.636-05:00I've added some description of how to add exte...I've added some description of how to add external libraries to the online version of the document because some screenshots were also included and will look much better there.<br />See it at http://docs.google.com/View?id=ddwc44gs_226ds4kfpffDiego Torres Milanohttps://www.blogger.com/profile/12030778501784140349noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-21006887026940190912010-02-25T13:49:55.089-05:002010-02-25T13:49:55.089-05:00Hey Diego, thanks for your comments.
Question: Ho...Hey Diego, thanks for your comments.<br /><br />Question: How can I add an external jar to my apk package using the maven-android-plugin? <br /><br />Thanks,<br />DanielDanielhttps://www.blogger.com/profile/03931851886368259656noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-84876576373130867642010-02-25T13:28:18.943-05:002010-02-25T13:28:18.943-05:00That's right !
Additionally you may want to ad...That's right !<br />Additionally you may want to add some extra parameters to have something like <b>$ emulator -avd 2.1 -no-window -no-audio -qemu -vnc :2</b> to avoid audio and to have a vnc console however the commands accessible through it might not what you expect.Diego Torres Milanohttps://www.blogger.com/profile/12030778501784140349noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-76544780929380664582010-02-25T12:53:59.748-05:002010-02-25T12:53:59.748-05:00heh, just found it.
emulator -avd myavd -no-window...heh, just found it.<br />emulator -avd myavd -no-window.Danielhttps://www.blogger.com/profile/03931851886368259656noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-31015764609751022662010-02-24T16:16:09.478-05:002010-02-24T16:16:09.478-05:00Hey Diego,
I haven't found how to run a headle...Hey Diego,<br />I haven't found how to run a headless emulator. Can you show me the command to run to do this ?<br /> <br />Thanks,<br />DanielDanielhttps://www.blogger.com/profile/03931851886368259656noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-64338263490679503372010-02-24T11:04:28.639-05:002010-02-24T11:04:28.639-05:00Hi Daniel,
Yes, I'm running some headless emul...Hi Daniel,<br />Yes, I'm running some headless emulators on the continuous integration server. Hudson run the tests.<br />What's the problem ?<br />Please give me some details so I can help you.Diego Torres Milanohttps://www.blogger.com/profile/12030778501784140349noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-72208907477661392942010-02-23T19:41:22.660-05:002010-02-23T19:41:22.660-05:00Hi Diego,
Have you been able to run the emula...Hi Diego, <br /> Have you been able to run the emulator headless ?? I'm currently setting up a scenario very similar to what you are working on, but I would like hudson to run our instrumentation tests. I would appreciate any help on this.<br />Thanks,<br /><br />Daniel.Danielhttps://www.blogger.com/profile/03931851886368259656noreply@blogger.com