Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.UnsatisfiedLinkError: No implementation found for int com.google.atap.tango.TangoJNINative.Initialize #12

Closed
wangkangmao opened this issue Aug 30, 2017 · 9 comments

Comments

@wangkangmao
Copy link

When I use the Pixel runtime,The log shows java.lang.UnsatisfiedLinkError: No implementation found for int com.google.atap.tango.TangoJNINative.Initialize

@mindwing
Copy link

I just meet the same situation.
There is no "*.so" file.

@kpbird
Copy link

kpbird commented Aug 30, 2017

I am having same error in Google Pixel

Here is full error log

I/TangoClientLibLoader: Pure Java path, not loading libtango_client_api.so at all.
E/Tango: Java version of Tango Service not found, falling back to tangoservice_d.
E/zygote64: No implementation found for int com.google.atap.tango.TangoJNINative.Initialize(android.content.Context) (tried Java_c
D/AndroidRuntime: Shutting down VM
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.google.ar.core.examples.java.helloar, PID: 18446
java.lang.UnsatisfiedLinkError: No implementation found for int com.google.atap.tango.TangoJNINative.Initialize(
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)

@cpinan
Copy link

cpinan commented Aug 30, 2017

Have you installed arcore.apk?

@jguomoto
Copy link
Contributor

Installing arcore_preview.apk should fix this problem. You could find it in the "Prepare Your Device" section: https://developers.google.com/ar/develop/java/getting-started

@yuanzhuohao
Copy link

You need to install ARCore Service by arcore-preview.apk

@MarkBennett
Copy link

I'm pretty new to development using adb and didn't realize the the command was installing to my phone. If you know that then obvisouly, this would require connecting the phone but if you don't know what it's doing then you might not have it attached and could miss the error in the adb output.

The directions don't indicate you need to connect your phone until the step after the adb install, so just indicating you need to plug in your phone earlier should help here.

@nathanmartz
Copy link

@MarkBennett thank you for the feedback. We will look into updating our devsite to be more clear in this regard.

@nathanmartz
Copy link

Closing this issue as the original problem has been addressed.

@MarkBennett
Copy link

Thanks @nathanmartz!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants