[arquillian-issues] [JBoss JIRA] (ARQ-1505) Wrong handling of Android Debug Bridge initialization

Stefan Miklosovic (JIRA) jira-events at lists.jboss.org
Mon Sep 30 09:22:03 EDT 2013


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

Stefan Miklosovic edited comment on ARQ-1505 at 9/30/13 9:21 AM:
-----------------------------------------------------------------

There are

consolePort https://github.com/arquillian/arquillian-droidium/tree/master/droidium-container#consoleport
adbPort https://github.com/arquillian/arquillian-droidium/tree/master/droidium-container#adbport

I guess this is the third kind of port, right?

This need to be investigated, if there is some switch for the port for adb console command.
                
      was (Author: smikloso):
    There are

consolePort https://github.com/arquillian/arquillian-droidium/tree/master/droidium-container#consoleport
adbPort https://github.com/arquillian/arquillian-droidium/tree/master/droidium-container#adbport

This need to be investigated, if there is some switch for the port for adb console command.
                  
> Wrong handling of Android Debug Bridge initialization
> -----------------------------------------------------
>
>                 Key: ARQ-1505
>                 URL: https://issues.jboss.org/browse/ARQ-1505
>             Project: Arquillian
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Extension - Droidium
>    Affects Versions: droidium_1.0.0.Alpha1
>            Reporter: Karel Piwko
>
> When ADB is started, but the port is already occupied by a different tooling, it logs an E/ddms message, however it continues with the execution. 
> This is indeed faulty behaviour. The port should be configurable, if the port is occupied - it should fail with Unable to start container or unable to connect to the running container exception - similar to behavior you experience with other remote / managed containers. 
> {code}
>  org.arquillian.droidium.container.impl.AndroidBridgeImpl connect
> INFO: Connecting to the Android Debug Bridge at /home/kpiwko/apps/android-sdk-linux_x86/platform-tools/adb forceNewBridge = true
> 10:01:23 E/ddms: Could not open Selected VM debug port (8700). Make sure you do not have another instance of DDMS or of the eclipse plugin running. If it's being used by 
> something else, choose a new port number in the preferences.
> Sep 27, 2013 10:01:23 PM org.arquillian.droidium.container.impl.AndroidBridgeConnector initAndroidDebugBridge
> INFO: Android Debug Bridge was initialized in 350ms.
> {code}

--
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