[arquillian-issues] [JBoss JIRA] (ARQ-1534) There is no way how to set server port of Android Debug Bridge

Karel Piwko (JIRA) jira-events at lists.jboss.org
Tue Oct 29 05:01:03 EDT 2013


    [ https://issues.jboss.org/browse/ARQ-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12825433#comment-12825433 ] 

Karel Piwko commented on ARQ-1534:
----------------------------------

{quote}
In addition, that environment property is read from System.getenv and if we wanted to be able to change that port from arquillian.xml, there would have to be kind of ugly hack to modify environment property map after JVM has read that since it can not be modified once created (by default, but it can be hacked afterwards and the result of this is rather questionable).
{quote}

That should be avoided. AndroidDebugBridge can be run in a separate process instead.
                
> There is no way how to set server port of Android Debug Bridge
> --------------------------------------------------------------
>
>                 Key: ARQ-1534
>                 URL: https://issues.jboss.org/browse/ARQ-1534
>             Project: Arquillian
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Extension - Droidium
>    Affects Versions: droidium_1.0.0.Alpha2
>            Reporter: Karel Piwko
>            Assignee: Stefan Miklosovic
>
> *Given*:
> I have Android tooling installed in Eclipse/JBDS.
> *When:*
> I use Droidium in tests fro IDE.
> *Expect*:
> No having any errors in DDMS output in IDE.
> *Additional information*:
> It looks like that the problem is that Droidium does not allow to set android bridge server port and hence DDMS is already connected to given port. This leads to various errors logged, as DDMS is not prepared to handle external process changing it's environment on the fly.
> See AndroidDebugBridge.determineAndValidateAdbPort() method for more details. While Drodium allows you to change adbPort for running emulator, it always runs the bridge on default port 5037.
> We need a way how to change this server port in Droidium configuration.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the arquillian-issues mailing list