-
Notifications
You must be signed in to change notification settings - Fork 23
ARCore GL install #22
Description
During building the example got error:
E/native (13117): ################ ARCore Native Error ################## E/native (13117): BUILD_CHANGELIST:696619763 E/native (13117): BUILD_BASELINE_CHANGELIST:695164409 E/native (13117): ################### Stack Trace Begin ################ E/native (13117): ARCoreError: third_party/arcore/ar/core/session.cc:1826 https://cs.corp.google.com/piper///depot/google3/third_party/arcore/ar/core/session.cc?g=0&l=1826 E/native (13117): ARCoreError: third_party/arcore/ar/core/c_api/session_lite_c_api.cc:76 https://cs.corp.google.com/piper///depot/google3/third_party/arcore/ar/core/c_api/session_lite_c_api.cc?g=0&l=76 E/native (13117): ################### Stack Trace End ################# E/native (13117): E/native (13117): ################### Undecorated Trace Begin ################# E/native (13117): FAILED_PRECONDITION: E/native (13117): ARCoreError: third_party/arcore/ar/core/session.cc:1826 E/native (13117): at third_party/arcore/ar/core/session.cc:1826 [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_MISSING_GL_CONTEXT'] E/native (13117): === Source Location Trace: === E/native (13117): third_party/arcore/ar/core/session.cc:1826 E/native (13117): E/native (13117): ################### Undecorated Trace End ################# D/AndroidRuntime(13117): Shutting down VM E/AndroidRuntime(13117): FATAL EXCEPTION: main E/AndroidRuntime(13117): Process: com.empat.tech.arcore.example.ar_core_example, PID: 13117 E/AndroidRuntime(13117): com.google.ar.core.exceptions.MissingGlContextException E/AndroidRuntime(13117): at java.lang.reflect.Constructor.newInstance0(Native Method) E/AndroidRuntime(13117): at java.lang.reflect.Constructor.newInstance(Constructor.java:343) E/AndroidRuntime(13117): at com.google.ar.core.Session.throwExceptionFromArStatus(Session.java:14) E/AndroidRuntime(13117): at com.google.ar.core.Session.nativeUpdate(Native Method) E/AndroidRuntime(13117): at com.google.ar.core.Session.update(Session.java:2) E/AndroidRuntime(13117): at com.google.ar.sceneform.ArSceneView.onBeginFrame(SourceFile:102) E/AndroidRuntime(13117): at com.google.ar.sceneform.SceneView.doFrameNoRepost(SourceFile:90) E/AndroidRuntime(13117): at com.google.ar.sceneform.SceneView.doFrame(SourceFile:86) E/AndroidRuntime(13117): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:973) E/AndroidRuntime(13117): at android.view.Choreographer.doCallbacks(Choreographer.java:799) E/AndroidRuntime(13117): at android.view.Choreographer.doFrame(Choreographer.java:730) E/AndroidRuntime(13117): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:960) E/AndroidRuntime(13117): at android.os.Handler.handleCallback(Handler.java:938) E/AndroidRuntime(13117): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime(13117): at android.os.Looper.loop(Looper.java:236) E/AndroidRuntime(13117): at android.app.ActivityThread.main(ActivityThread.java:8057) E/AndroidRuntime(13117): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime(13117): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:620) E/AndroidRuntime(13117): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1011) I/Process (13117): Sending signal. PID: 13117 SIG: 9
I added to manifest file:
<uses-feature android:glEsVersion="0x00030000" android:required="true" />
but it does not make any change