googlearchive / tango-examples-java

Example projects for Project Tango [deprecated] Java API
https://developers.google.com/ar
503 stars 300 forks source link

Can't run the Java floorplan reconstruction example on the Tango Dev Kit #106

Open toni-anders opened 7 years ago

toni-anders commented 7 years ago

I've downloaded the latest version of your code and want to run it on my Dev Kit. The folowing exception is thrown:

09-29 15:20:58.831 22796-22818/com.projecttango.experiments.javafloorplanreconstructionexample E/art: dlopen("/data/app-lib/com.projecttango.experiments.javafloorplanreconstructionexample-1/libtango_java_3d_reconstruction_api.so", RTLD_LAZY) failed: dlopen failed: could not load library "libtango_3d_reconstruction.so" needed by "libtango_java_3d_reconstruction_api.so"; caused by cannot locate symbol "rand" referenced by "libtango_3d_reconstruction.so"... 09-29 15:20:58.833 22796-22818/com.projecttango.experiments.javafloorplanreconstructionexample E/AndroidRuntime: FATAL EXCEPTION: Thread-967 Process: com.projecttango.experiments.javafloorplanreconstructionexample, PID: 22796 java.lang.UnsatisfiedLinkError: dlopen failed: could not load library "libtango_3d_reconstruction.so" needed by "libtango_java_3d_reconstruction_api.so"; caused by cannot locate symbol "rand" referenced by "libtango_3d_reconstruction.so"... at java.lang.Runtime.loadLibrary(Runtime.java:364) at java.lang.System.loadLibrary(System.java:526) at com.google.atap.tango.reconstruction.Tango3dReconstructionConfig.<clinit>(Tango3dReconstructionConfig.java:67) at com.projecttango.examples.java.floorplanreconstruction.TangoFloorplanner.<init>(TangoFloorplanner.java:66) at com.projecttango.examples.java.floorplanreconstruction.FloorPlanReconstructionActivity.startupTango(FloorPlanReconstructionActivity.java:222) at com.projecttango.examples.java.floorplanreconstruction.FloorPlanReconstructionActivity.access$400(FloorPlanReconstructionActivity.java:64) at com.projecttango.examples.java.floorplanreconstruction.FloorPlanReconstructionActivity$2.run(FloorPlanReconstructionActivity.java:175) at java.lang.Thread.run(Thread.java:811)

Please help me.