Log in or register to post comments

Problem when I compiled my work. - (AR videoplayback)

November 20, 2012 - 7:09am #1

After I compiled my AR Videoplayback with the other AR 3D model i have,
I clicked on the button to view my AR videoplayback and this error appear. 
Any Ideas how to solve? 

 

Problem when I compiled my work. - (AR videoplayback)

November 21, 2012 - 6:26am #9

Hi,

I would suggest trying an incremental approach:

- first copy the VideoPlayback sample into a new project (by just doing copy-paste in Eclipse directly on the project, and choosing a name for the new project)

- for ease of reference, let's call this for instance "MyVideoPlayback"

- then compile and run it and verify the copy is all good

- then try to add a few files from the other project (the 3D model project) into the "MyVideoPlayback", if possible and try to build and run, and see if you get any problems

 

Problem when I compiled my work. - (AR videoplayback)

November 20, 2012 - 12:29pm #8

Error:

[2012-11-21 04:28:14 - ddmlib] An established connection was aborted by the software in your host machine

java.io.IOException: An established connection was aborted by the software in your host machine

at sun.nio.ch.SocketDispatcher.write0(Native Method)

at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:51)

at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:89)

at sun.nio.ch.IOUtil.write(IOUtil.java:60)

at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:450)

at com.android.ddmlib.JdwpPacket.writeAndConsume(JdwpPacket.java:213)

at com.android.ddmlib.Client.sendAndConsume(Client.java:575)

at com.android.ddmlib.HandleHeap.sendREAQ(HandleHeap.java:348)

at com.android.ddmlib.Client.requestAllocationStatus(Client.java:421)

at com.android.ddmlib.DeviceMonitor.createClient(DeviceMonitor.java:837)

at com.android.ddmlib.DeviceMonitor.openClient(DeviceMonitor.java:805)

at com.android.ddmlib.DeviceMonitor.processIncomingJdwpData(DeviceMonitor.java:765)

at com.android.ddmlib.DeviceMonitor.deviceClientMonitorLoop(DeviceMonitor.java:652)

at com.android.ddmlib.DeviceMonitor.access$100(DeviceMonitor.java:44)

at com.android.ddmlib.DeviceMonitor$3.run(DeviceMonitor.java:580)

Problem when I compiled my work. - (AR videoplayback)

November 20, 2012 - 10:08am #7

Yup, that is right. Because I want both in a project instead of 2 separate project. So, whichever one I copied over, that project file about the augmented reality(either video or 3D model) wouldnt be able to run and would prompt out that error. :)

Problem when I compiled my work. - (AR videoplayback)

November 20, 2012 - 9:25am #6

So, you have two projects that run OK when in isolation;

then you have copied some classes from one project to the other; which project have you copied from (i.e. did you copy files from "3D models" project into "VideoPlayback" project, or vice versa?

 

Problem when I compiled my work. - (AR videoplayback)

November 20, 2012 - 9:12am #5

Is actually 2 different samples project, one is the Augmented Reality VideoPlayback in vuforia, the other is an Augmented Reality 3D models.
These 2 projects is able to run perfectly, but only when I copied either one into the other project. (classes, images, layout) & edit the manifest,
I have these errors when I want to enter the VideoPlayback Augmented Reality.  

Problem when I compiled my work. - (AR videoplayback)

November 20, 2012 - 9:06am #4

Hi, the error looks very much like an Eclipse import error when creating a new project from an existing one (the VideoPlayback sample);

How did you create your project ?

Problem when I compiled my work. - (AR videoplayback)

November 20, 2012 - 8:30am #3

It should be android native. I doing it on an eclipse software with android plug in. :) 
Is this what you want? :) 

Problem when I compiled my work. - (AR videoplayback)

November 20, 2012 - 8:20am #2

Hi, are you building in Unity or Android native?

Log in or register to post comments