Giter Site home page Giter Site logo

arcore-android-sdk's People

Contributors

avirodov avatar bsanjin avatar chaosemer avatar dev-techwriter avatar fredsa avatar jeremyvc avatar jguomoto avatar nvictornvictor avatar shan95008 avatar sumbera avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

arcore-android-sdk's Issues

CPU access to camera frame data

I want to run other image processing on the frame (ideally just the Y plane) and combine it with the ARCore tracking data. I'm happy to let ARCore control all the camera settings, but would just need an API to get a CPU-accessible pointer to the raw frame data.

Alternatively if there's a quick way to read back or access the SurfaceTexture on the CPU, then that would work too - any pointers appreciated. I assume the internal format of the data is some sort of YUV so rendering with OES_EXTERNAL (with implicit RGB conversion) to a framebuffer, and then reading back, feels like a lot of overhead when I just want the Y plane.

I've been after a low overhead synchronous camera->cpu->gpu pipeline for a long time on android:
https://stackoverflow.com/questions/37510487/lowest-overhead-camera-to-cpu-to-gpu-approach-on-android/37513328

It seems like HardwareBuffer added in Android O may be the best way to solve this in general, but as ARCore currently runs on Android 7 I assume you're not using that (or using it as a private API).

On iOS ARKit the ARFrame structure contains access to the YUV camera frame data. In general I've noticed ARCore and ARKit offer very compatible functionality, but this is one area I've found where ARCore is lacking.

Crash at launch

09-05 12:33:35.399 16496-16496/? I/zygote64: Late-enabling -Xcheck:jni
09-05 12:33:35.465 16496-16504/? I/zygote64: Debugger is no longer active
09-05 12:33:35.614 16496-16496/? I/TangoClientLibLoader: Pure Java path, not loading libtango_client_api.so at all.
09-05 12:33:35.615 16496-16496/? E/Tango: Java version of Tango Service not found, falling back to tangoservice_d.
09-05 12:33:35.615 16496-16496/? E/zygote64: No implementation found for int com.google.atap.tango.TangoJNINative.Initialize(android.content.Context) (tried Java_com_google_atap_tango_TangoJNINative_Initialize and Java_com_google_atap_tango_TangoJNINative_Initialize__Landroid_content_Context_2)
09-05 12:33:35.616 16496-16496/? D/AndroidRuntime: Shutting down VM
09-05 12:33:35.619 16496-16496/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.google.ar.core.examples.java.helloar, PID: 16496
java.lang.UnsatisfiedLinkError: No implementation found for int com.google.atap.tango.TangoJNINative.Initialize(android.content.Context) (tried Java_com_google_atap_tango_TangoJNINative_Initialize and Java_com_google_atap_tango_TangoJNINative_Initialize__Landroid_content_Context_2)
at com.google.atap.tango.TangoJNINative.Initialize(Native Method)
at com.google.atap.tangoservice.Tango.(Tango.java:385)
at com.google.ar.core.TangoWrapper.createInstance(TangoWrapper.java:32)
at com.google.ar.core.Session.bindTangoService(Session.java:425)
at com.google.ar.core.Session.resume(Session.java:153)
at com.google.ar.core.examples.java.helloar.HelloArActivity.onResume(HelloArActivity.java:136)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1354)
at android.app.Activity.performResume(Activity.java:7079)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3620)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3685)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2898)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1593)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

Will ARCore support the Tango 3D Reconstruction Library

Tango has a great reconstruction library. Is the point cloud retrieved by ARCore dense enough to support it? Will there be an official integration into ARCore? If not, do you have plans for something similiar or will there "only" be planes?

I receive this message "The device does not support AR":

08-29 17:26:06.576 5397-5397/com.google.ar.core.examples.java.helloar E/SupportedDevices: Device calibration unavailable.

08-29 17:27:05.393 5397-5397/com.google.ar.core.examples.java.helloar E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.google.ar.core.examples.java.helloar, PID: 5397
java.lang.IllegalArgumentException: width must be greater than zero
at com.google.ar.core.Session.setDisplayGeometry(Session.java:631)
at com.google.ar.core.Session$3.onDisplayChanged(Session.java:863)
at android.hardware.display.DisplayManagerGlobal$DisplayListenerDelegate.handleMessage(DisplayManagerGlobal.java:462)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6186)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)

Google Pixel app keeps stopping

Updated Android Studio, downloaded sample files, installed app on Pixel. App HelloAR Java won’t load, keeps stopping. Android version 7.1.2, 5 August security patch.

Device calibration unavailable

I have galaxy s8+(G955F) and i get this message "Device calibration unavailable".
What exactly is lacking from the other s8 devices?

Device not supported Samsung Galaxy S8

I am getting the "This device does not support AR" while running the android sample on Samsung Galaxy S8. I have installed the arcore-preview.apk as mentioned.

If I comment the the config check I get java.lang.RuntimeException: Unable to resume activity {com.google.ar.core.examples.java.helloar/com.google.ar.core.examples.java.helloar.HelloArActivity}: com.google.ar.core.exceptions.UnsupportedConfigurationException error.

I am using Android Studio 2.3.3

glError 1282

Hi guys, I am trying the arcore in one of my apps, and I get stuck at this point, where it gives me a glError 1282.

E/HelloArActivity: Exception on the OpenGL thread
java.lang.RuntimeException: Setting up to draw planes: glError 1282
at ar.rendering.ShaderUtil.checkGLError(ShaderUtil.java:71)
at ar.rendering.PlaneRenderer.drawPlanes(PlaneRenderer.java:359)
at ar.HelloArActivity.onDrawFrame(HelloArActivity.java:291)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1562)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1262)

Any one faced this issue? I am using s8, and have installed the arcore-preview apk. Strangely the app works independently (HelloAr Java), but when I integrated the app in my custom app, it gives me this exception.

ARCore without GL or camera texture

Are there any plans to provide ARCore functionality without a GL context?
It would be nice to use motion tracking without providing a GLSurfaceView.Renderer.
This was possible with Tango.

Frequently occurring black screen

My device is Samsung Galaxy S8 (SM-G950FD) and I've installed the ARCore service app correctly. When it's my first time to launch the sample app, everything worked fine, but after I swiped the app off from recents screen and launched again, it just showed me a black screen and a "Searching for surfaces..." toast. It wouldn't recover if reinstall it or reboot my device.

During this period, I noticed that there are no logs look wrong in Logcat.

helloar sample crash on Pixel XL

I'm attempting to run the HelloAR on a Pixel XL running Android 8.0 (Build: OPR6.170623.012)

This is the stack trace I receive when I open the app (after accepting the Camera permission).

08-29 11:23:29.640 10056-10056/? I/zygote64: Late-enabling -Xcheck:jni 08-29 11:23:29.697 10056-10063/? I/zygote64: Debugger is no longer active 08-29 11:23:29.849 10056-10056/? I/TangoClientLibLoader: Pure Java path, not loading libtango_client_api.so at all. 08-29 11:23:29.851 10056-10056/? E/Tango: Java version of Tango Service not found, falling back to tangoservice_d. 08-29 11:23:29.851 10056-10056/? E/zygote64: No implementation found for int com.google.atap.tango.TangoJNINative.Initialize(android.content.Context) (tried Java_com_google_atap_tango_TangoJNINative_Initialize and Java_com_google_atap_tango_TangoJNINative_Initialize__Landroid_content_Context_2) 08-29 11:23:29.852 10056-10056/? D/AndroidRuntime: Shutting down VM 08-29 11:23:29.855 10056-10056/? E/AndroidRuntime: FATAL EXCEPTION: main Process: com.google.ar.core.examples.java.helloar, PID: 10056 java.lang.UnsatisfiedLinkError: No implementation found for int com.google.atap.tango.TangoJNINative.Initialize(android.content.Context) (tried Java_com_google_atap_tango_TangoJNINative_Initialize and Java_com_google_atap_tango_TangoJNINative_Initialize__Landroid_content_Context_2) at com.google.atap.tango.TangoJNINative.Initialize(Native Method) at com.google.atap.tangoservice.Tango.<init>(Tango.java:385) at com.google.ar.core.TangoWrapper.createInstance(TangoWrapper.java:32) at com.google.ar.core.Session.bindTangoService(Session.java:425) at com.google.ar.core.Session.resume(Session.java:153) at com.google.ar.core.examples.java.helloar.HelloArActivity.onResume(HelloArActivity.java:136) at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1354) at android.app.Activity.performResume(Activity.java:7079) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3620) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3685) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2898) at android.app.ActivityThread.-wrap11(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1593) at android.os.Handler.dispatchMessage(Handler.java:105) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6541) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767) 08-29 11:23:34.799 10056-10063/com.google.ar.core.examples.java.helloar I/zygote64: Waiting for a blocking GC ObjectsAllocated 08-29 11:23:34.822 10056-10063/com.google.ar.core.examples.java.helloar I/zygote64: WaitForGcToComplete blocked for 22.888ms for cause ObjectsAllocated

ARKit Competition

Google better start investing big in getting AR devs on the platform or Apple is going to leave it in the dust.

Crashes on Google Pixel 7.1.2

Everytime I open the sample app I'm getting crash with the following log:

W/System: ClassLoader referenced unknown path: /data/app/com.google.ar.core.examples.java.helloar-1/lib/arm64
08-31 14:14:52.211 17971-17971/? W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
08-31 14:14:52.245 17971-17971/? E/Tango: Java version of Tango Service not found, falling back to tangoservice_d.
08-31 14:14:52.245 17971-17971/? E/art: No implementation found for int com.google.atap.tango.TangoJNINative.Initialize(android.content.Context) (tried Java_com_google_atap_tango_TangoJNINative_Initialize and Java_com_google_atap_tango_TangoJNINative_Initialize__Landroid_content_Context_2)
08-31 14:14:52.246 17971-17971/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.google.ar.core.examples.java.helloar, PID: 17971
java.lang.UnsatisfiedLinkError: No implementation found for int com.google.atap.tango.TangoJNINative.Initialize(android.content.Context) (tried Java_com_google_atap_tango_TangoJNINative_Initialize and Java_com_google_atap_tango_TangoJNINative_Initialize__Landroid_content_Context_2)
at com.google.atap.tango.TangoJNINative.Initialize(Native Method)
at com.google.atap.tangoservice.Tango.(Tango.java:385)
at com.google.ar.core.TangoWrapper.createInstance(TangoWrapper.java:32)
at com.google.ar.core.Session.bindTangoService(Session.java:425)
at com.google.ar.core.Session.resume(Session.java:153)
at com.google.ar.core.examples.java.helloar.HelloArActivity.onResume(HelloArActivity.java:136)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1269)
at android.app.Activity.performResume(Activity.java:6786)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3407)

Pixel XL 7.1.2 failed to load example app

FATAL EXCEPTION: main
Process: com.google.ar.core.examples.java.helloar, PID: 27755
java.lang.UnsatisfiedLinkError: No implementation found for int com.google.atap.tango.TangoJNINative.Initialize(android.content.Context) (tried Java_com_google_atap_tango_TangoJNINative_Initialize and Java_com_google_atap_tango_TangoJNINative_Initialize__Landroid_content_Context_2)
at com.google.atap.tango.TangoJNINative.Initialize(Native Method)
at com.google.atap.tangoservice.Tango.(Tango.java:385)
at com.google.ar.core.TangoWrapper.createInstance(TangoWrapper.java:32)
at com.google.ar.core.Session.bindTangoService(Session.java:425)
at com.google.ar.core.Session.resume(Session.java:153)
at com.google.ar.core.examples.java.helloar.HelloArActivity.onResume(HelloArActivity.java:136)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1269)
at android.app.Activity.performResume(Activity.java:6786)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3407)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3470)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2733)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1478)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6121)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)

Question on S8 support

I'm using a Galaxy S8 (G9500 Snapdragon), which is currently not supported. Do I need to wait for a software update? Or is it a part of Google Play Service that I only need to wait for the service update?

Could you please illustrate the PlaneRender.class?

Hello, I'm get ARCore backgroud by textureID and then using SurfaceTexture. And I found the picture gets from ARCore is rotate and flip. But the plane is right. I was wonder why the plane is right?
And I want to change the shader, but I found the shader is something different.
Why the plane shader use (x, z, alpha)?
I found this code in plane_vertex.shader
attribute vec3 a_XZPositionAlpha; // (x, z, alpha)

This device does not support AR

I check on real device (Android nexus 6p - 8.0) and on Android Pixel XL emulator. Both with the same result - ״This device does not support AR״

Any suggestion ?

Detecting Veritical Surfaces (Walls) using ARCore

Hi,

ARCore can effectively detect horizontal surfaces. I was curious to know whether anyone has found a way to detect vertical surfaces. My app is basically trying to detect various walls and augment objects on walls.

Has anyone found any solution?

Thanks.

Fatal Exception: not loading libtango_client_api

Hey ho,
tried the sample to run on Pixel with Android 8.

Crashes at start, seems it cannot load libtango_client_api which i would expect in the arcore aar.
Here the log, maybe some1 has an idea:

? I/zygote64: Late-enabling -Xcheck:jni
com.google.ar.core.examples.java.helloar I/TangoClientLibLoader: Pure Java path, not loading libtango_client_api.so at all.
com.google.ar.core.examples.java.helloar E/Tango: Java version of Tango Service not found, falling back to tangoservice_d.
com.google.ar.core.examples.java.helloar E/zygote64: No implementation found for int com.google.atap.tango.TangoJNINative.Initialize(android.content.Context) (tried Java_com_google_atap_tango_TangoJNINative_Initialize and Java_com_google_atap_tango_TangoJNINative_Initialize__Landroid_content_Context_2)
com.google.ar.core.examples.java.helloar D/AndroidRuntime: Shutting down VM
com.google.ar.core.examples.java.helloar E/AndroidRuntime: FATAL EXCEPTION: main
                                                           Process: com.google.ar.core.examples.java.helloar, PID: 7772
                                                           java.lang.UnsatisfiedLinkError: No implementation found for int com.google.atap.tango.TangoJNINative.Initialize(android.content.Context) (tried Java_com_google_atap_tango_TangoJNINative_Initialize and Java_com_google_atap_tango_TangoJNINative_Initialize__Landroid_content_Context_2)
                                                               at com.google.atap.tango.TangoJNINative.Initialize(Native Method)
                                                               at com.google.atap.tangoservice.Tango.<init>(Tango.java:385)
                                                               at com.google.ar.core.TangoWrapper.createInstance(TangoWrapper.java:32)
                                                               at com.google.ar.core.Session.bindTangoService(Session.java:425)
                                                               at com.google.ar.core.Session.resume(Session.java:153)
                                                               at com.google.ar.core.examples.java.helloar.HelloArActivity.onResume(HelloArActivity.java:136)
                                                               at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1354)
                                                               at android.app.Activity.performResume(Activity.java:7079)
                                                               at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3620)
                                                               at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3685)
                                                               at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2898)
                                                               at android.app.ActivityThread.-wrap11(Unknown Source:0)
                                                               at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1593)
                                                               at android.os.Handler.dispatchMessage(Handler.java:105)
                                                               at android.os.Looper.loop(Looper.java:164)
                                                               at android.app.ActivityThread.main(ActivityThread.java:6541)
                                                               at java.lang.reflect.Method.invoke(Native Method)
                                                               at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
                                                               at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

how can support common mobile can run this sdk?

i dowload and run this sdk,it toast This device does not support AR.
how can support common mobilephone can run this sdk? thank you very much

mDefaultConfig = Config.createDefaultConfig();
if (!mSession.isSupported(mDefaultConfig)) {
Toast.makeText(this, "This device does not support AR", Toast.LENGTH_LONG).show();
finish();
return;
}

does samsung s8 in China is supported? how to make it support arcore?

Hi all,

I used a Samsung S8 in China, model is SM-G9500(http://www.samsung.com/hk_en/business/business-products/mobile-device/smartphones/SM-G9500ZVDTGY), and updated system to the newest version.

First I install the arcore-preview.apk, and then build this example, then install and run, got the following error:
com.google.ar.core.examples.java.helloar E/SupportedDevices: Device calibration unavailable.

then I found a project which can make it work:
https://github.com/tomthecarrot/arcore-for-all

after changed the library, yes it won't crash again, but still can not work normally, from the logcat I can see the following errors:
08-31 14:34:09.355 25737-25737/? E/Zygote: v2
08-31 14:34:09.356 25737-25737/? E/Zygote: accessInfo : 0
08-31 14:34:09.604 25737-25737/com.google.ar.core.examples.java.helloar E/SupportedDevices: Device calibration unavailable. Just kidding! ;)
08-31 14:34:09.622 25737-25737/com.google.ar.core.examples.java.helloar E/SupportedDevices: Device calibration unavailable. Just kidding! ;)
08-31 14:34:09.636 25737-25737/com.google.ar.core.examples.java.helloar E/ACameraMetadata: getConstEntry: cannot find metadata tag 1310721
08-31 14:34:09.636 25737-25737/com.google.ar.core.examples.java.helloar E/ACameraMetadata: getConstEntry: cannot find metadata tag 1638401
08-31 14:34:09.637 25737-25737/com.google.ar.core.examples.java.helloar E/ACameraMetadata: getConstEntry: cannot find metadata tag 1310721
08-31 14:34:09.637 25737-25737/com.google.ar.core.examples.java.helloar E/ACameraMetadata: getConstEntry: cannot find metadata tag 1638401
08-31 14:34:09.637 25737-25737/com.google.ar.core.examples.java.helloar E/tango_camera_native: 2 is not a valid camera index.
08-31 14:34:09.637 25737-25737/com.google.ar.core.examples.java.helloar E/tango_camera_native: 3 is not a valid camera index.

the full version of logs you can see from https://jpst.it/141kY

So I guess maybe 1)device 2)system has no ability to run arcore normally?
Can anyone tell me is it possible to use this phone to run this arcore demo? What need I do to make it work.

Thanks in advance!

ARCore for Robotics?

Dear @nathanmartz ,

Will ARCore aim anytime Robotics? A c++ Linux API would give all the needed tools for the ROS Community to create the wrappers in every possible language.

Upstream

Add Pixel 2 and Pixel 2 XL in the supported devices list.

What would google have to do to create a a new device calibration.. to support a new device?

There are very few supported devices. And we have no info on when to expect 1.0

How about adding support for devices in increments until the 1.0 launch?

For example:
I would assume there isn't a huge difference in device specs between Samsung S8 and S8+

I bought an S8+ because it had a more powerful processor and someone wrote in an article that ARCore was supported on S8+ (wich was wrong).

I assume it would not take that many hours for an employee at google to setup the device calibrations for S8+ when there already is one for S8. I assume it might have something to do with stuff like lens distortion parameters for the lens in S8+ wich may differ slightly from the S8. Are my assumptions correct or is there much more to it?

Best regards..

Sample app crashing at startup on Pixel XL

Hi! I am trying to run the sample, and after I give the camera permissions, it crashes. This is the LogCat:

java.lang.UnsatisfiedLinkError: No implementation found for int com.google.atap.tango.TangoJNINative.Initialize(android.content.Context) (tried Java_com_google_atap_tango_TangoJNINative_Initialize and Java_com_google_atap_tango_TangoJNINative_Initialize__Landroid_content_Context_2)
  at com.google.atap.tango.TangoJNINative.Initialize(Native Method)
  at com.google.atap.tangoservice.Tango.<init>(Tango.java:385)
  at com.google.ar.core.TangoWrapper.createInstance(TangoWrapper.java:32)
  at com.google.ar.core.Session.bindTangoService(Session.java:425)
  at com.google.ar.core.Session.resume(Session.java:153)
  at com.google.ar.core.examples.java.helloar.HelloArActivity.onResume(HelloArActivity.java:136)
  at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1354)
  at android.app.Activity.performResume(Activity.java:7079)
  at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3620)
  at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3685)
  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2898)
  at android.app.ActivityThread.-wrap11(Unknown Source:0)
  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1593)
  at android.os.Handler.dispatchMessage(Handler.java:105)
  at android.os.Looper.loop(Looper.java:164)
  at android.app.ActivityThread.main(ActivityThread.java:6541)
  at java.lang.reflect.Method.invoke(Native Method)
  at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

Build fingerprint: google/marlin/marlin:8.0.0/OPR6.170623.012/4283428:user/release-keys

I just imported the sample in Android Studio Beta 3 and ran it without any modifications. Any ideas why it might be crashing?

Getting an error when loading the ar sample hello project - "No implementation found for int com.google.atap.tango.TangoJNINative.Initialize(android.content.Context)"

Hello there,
As state above, I'm getting an error when first running the helloAR sample project. I haven't changed anything, am I missing any libraries? I did a standard install of android studio, and cloned the AR SDK using git. Here's full stacktrace:

08-31 19:41:27.323 21296-21296/? I/zygote64: Late-enabling -Xcheck:jni 08-31 19:41:27.612 21296-21296/com.google.ar.core.examples.java.helloar I/InstantRun: starting instant run server: is main process 08-31 19:41:27.613 21296-21296/com.google.ar.core.examples.java.helloar V/InstantRun: Starting server socket listening for package com.google.ar.core.examples.java.helloar on android.net.LocalSocketAddress@3cda3c1 08-31 19:41:27.614 21296-21296/com.google.ar.core.examples.java.helloar V/InstantRun: Started server for package com.google.ar.core.examples.java.helloar 08-31 19:41:27.809 21296-21296/com.google.ar.core.examples.java.helloar I/TangoClientLibLoader: Pure Java path, not loading libtango_client_api.so at all. 08-31 19:41:27.811 21296-21296/com.google.ar.core.examples.java.helloar E/Tango: Java version of Tango Service not found, falling back to tangoservice_d. 08-31 19:41:27.814 21296-21296/com.google.ar.core.examples.java.helloar E/zygote64: No implementation found for int com.google.atap.tango.TangoJNINative.Initialize(android.content.Context) (tried Java_com_google_atap_tango_TangoJNINative_Initialize and Java_com_google_atap_tango_TangoJNINative_Initialize__Landroid_content_Context_2) 08-31 19:41:27.814 21296-21296/com.google.ar.core.examples.java.helloar D/AndroidRuntime: Shutting down VM 08-31 19:41:27.817 21296-21296/com.google.ar.core.examples.java.helloar E/AndroidRuntime: FATAL EXCEPTION: main Process: com.google.ar.core.examples.java.helloar, PID: 21296 java.lang.UnsatisfiedLinkError: No implementation found for int com.google.atap.tango.TangoJNINative.Initialize(android.content.Context) (tried Java_com_google_atap_tango_TangoJNINative_Initialize and Java_com_google_atap_tango_TangoJNINative_Initialize__Landroid_content_Context_2) at com.google.atap.tango.TangoJNINative.Initialize(Native Method) at com.google.atap.tangoservice.Tango.<init>(Tango.java:385) at com.google.ar.core.TangoWrapper.createInstance(TangoWrapper.java:32) at com.google.ar.core.Session.bindTangoService(Session.java:425) at com.google.ar.core.Session.resume(Session.java:153) at com.google.ar.core.examples.java.helloar.HelloArActivity.onResume(HelloArActivity.java:136) at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1354) at android.app.Activity.performResume(Activity.java:7079) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3620) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3685) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2898) at android.app.ActivityThread.-wrap11(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1593) at android.os.Handler.dispatchMessage(Handler.java:105) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6541) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

ARCore HelloAR example not working

Hello friends,

I’m trying to run the helloAR example for AR core on my pixel but every time I open the app on my phone, I see a blue and gray screen with a message “searching devices”. I’m new to unity and using unity 2017.2 b9. Appreciate any help with this.

Have been trying to downgrade unity 2017 versions and debugging. But not much progress.

Does not work on flat surfaces?

I have tried numerous times to get it to work on my flat kitchen counter but it seems to believe that the sink is flat.

Photos taken on my Google Pixel running Android 8.

Here are some example images:
screen1504466846
screen1504467155
screen1504467127
screen1504467119
screen1504467101
screen1504467078

Galaxy S8 SM-G950F failing to load sample

The following error message is triggered when loading the sample:

java.lang.UnsatisfiedLinkError: No implementation found for int com.google.atap.tango.TangoJNINative.Initialize(android.content.Context)

AreaLearning support

Tango had ADF files, ARcore cannot store this information... So there is no possibility to start something, save it and later continue,

Native API

The Tango SDK had a native C/C++ API that appears to be missing in the move to ARCore. This is somewhat blocking support for ARCore in our software.

When will AR Core support each and every Android Device?

When will AR Core support each and every Android Device? , and I can't ay for Unity nor Unreal Engine so AS is my only way to make some cool AR apps so can I develop AR apps in AS without using these third party environmet?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.