Closed jacobvyn closed 6 years ago
Hi @jacobwyn,
Thanks!
Raj
Hi @radvani concerning issue 2 - I have tried to update exoplayer manually - it doesn't help neither 2.7.1 nor 2.7.2, please see above
Hi @jacobwyn, this is odd because the class that's not being found (AdaptiveTrackSelection.Factory) is from the new ExoPlayer. I just saw that you provided your project, so I'll be able to take a look tomorrow and see if I can reproduce the issues. Thanks for your patience.
Hi @jacobwyn, we've fixed the issue with the asset loading on Android, and this will be available in the next bug-fix release. The other issues I haven't managed to reproduce yet from your project. The video in particular was working for me. What device are you testing on?
Hi @radvani I am testion on Pixel 2. Does video work without updating exoplayer?
Hi @jacobwyn
I downloaded your repository, to confirm - the video seems to be working for me as well. One quick note though - Your augmentedReality/viro_core/
folder has both app-viro_core-1.4.1.aar
and app-viro_core-1.5.0.aar
checked in. But your build.gradle file inside the augmentedReality/viro_core/
folder still points to app-viro_core-1.4.1.aar
.
To upgrade to v1.5.0, you'll need to update that build.gradle file as well. And your video works with app-viro_core-1.4.1.aar
in the viro_core gradle file & exoplayer:r2.2.0
in the app gradle file, and
app-viro_core-1.5.0.aar
in the viro_core gradle file & exoplayer:2.7.1
in the app gradle file.
Thanks!
+1 to the 4th item.
04-16 11:15:53.634 29401-29401/com.sample.debug E/ActivityThread: Activity com.sample.views.activities.ARActivity has leaked ServiceConnection acr@920996a that was originally bound here
android.app.ServiceConnectionLeaked: Activity com.sample.views.activities.ARActivity has leaked ServiceConnection acr@920996a that was originally bound here
at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:1399)
at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:1294)
at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1520)
at android.app.ContextImpl.bindService(ContextImpl.java:1492)
at android.content.ContextWrapper.bindService(ContextWrapper.java:696)
at com.google.ar.core.services.AnalyticsClient.<init>(PG:10)
at com.viro.core.RendererARCore.nativeCreateARCoreSession(Native Method)
at com.viro.core.RendererARCore.onARCoreInstalled(RendererARCore.java:35)
at com.viro.core.ViroViewARCore.requestARCoreInstall(ViroViewARCore.java:461)
at com.viro.core.ViroViewARCore.onActivityResumed(ViroViewARCore.java:632)
at com.sample.views.activities.ARActivity.onResume(ARActivity.java:196)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1277)
at android.app.Activity.performResume(Activity.java:7058)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3765)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3828)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2991)
at android.app.ActivityThread.-wrap14(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1635)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6692)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358)
Hi @keithmaxx , @jacobwyn , Issue no. 4 above seems to be an error with the underlying arcore sdk. Other folks seem to have seen the error as well - https://github.com/google-ar/arcore-android-sdk/issues/201 We'd recommend following up on that issue there in case it is blocking for you guys.
Thanks,
Closing this due to inactivity. Please reopen if you are still having issues
Hi guys, I have updated to 1.5.0 and faced next issues:
04-04 16:28:54.627 29014-29014 E/libEGL: call to OpenGL ES API with no current context (logged once per thread) 04-04 16:28:54.662 29014-29014 E/ActivityThread: Activity com.loopme.ar.AdActivity has leaked ServiceConnection acr@a813703 that was originally bound here android.app.ServiceConnectionLeaked: Activity com.loopme.ar.AdActivity has leaked ServiceConnection acr@a813703 that was originally bound here at android.app.LoadedApk$ServiceDispatcher.(LoadedApk.java:1532)
at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:1424)
at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1605)
at android.app.ContextImpl.bindService(ContextImpl.java:1557)
at android.content.ContextWrapper.bindService(ContextWrapper.java:684)
at com.google.ar.core.services.AnalyticsClient.(PG:10)
at com.viro.core.RendererARCore.nativeCreateARCoreSession(Native Method)
at com.viro.core.RendererARCore.onARCoreInstalled(RendererARCore.java:35)
at com.viro.core.ViroViewARCore.requestARCoreInstall(ViroViewARCore.java:461)
at com.viro.core.ViroViewARCore.onActivityResumed(ViroViewARCore.java:632)
at com.loopme.ar.ViroBaseActivity.onResume(ViroBaseActivity.java:78)
at com.loopme.ar.AdActivity.onResume(AdActivity.java:54)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1355)
at android.app.Activity.performResume(Activity.java:7107)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3556)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3621)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2862)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)