Android AllJoyn: Connection with second machine gives error of BusAttachement
问题 I have developed application for two different sensors. They are working fine separately but when I try to use them togather and create two diffent buses than Alljoyn gives this exception. org.alljoyn.services.common.BusAlreadyExistException: The object has been set previously with a BusAttachment. Below is my source code for connection. Can anyone tell me why I'm having this issue. private void connect() { org.alljoyn.bus.alljoyn.DaemonInit.PrepareDaemon(getApplicationContext()); bus = new