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

ArPointCloud_getPointIds does not work with current ARCore 1.5 APK #592

Closed
lvonasek opened this issue Oct 2, 2018 · 3 comments
Closed

Comments

@lvonasek
Copy link

lvonasek commented Oct 2, 2018


Build fingerprint: 'asus/WW_ASUS_A002/ASUS_A002:7.0/NRD90M/14.1600.1805.51-20180626:user/release-keys'
Revision: '0'
ABI: 'arm'
pid: 3928, tid: 5123, name: GLThread 646 >>> com.lvonasek.arcore3dscanner <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: '[blaze-out/android-armeabi-v7a-opt/genfiles/third_party/arcore/ar/core/android/arcore_c_shim_prerelease_public_function_impls.inc:295] CHECK failed: expression='"false"' Failed to call function: ArPointCloud_getPointIds, this function version: 180815000 is higher than requested min apk version '
r0 00000000 r1 00001403 r2 00000006 r3 00000008
r4 ef887978 r5 00000006 r6 ef887920 r7 0000010c
r8 ef886664 r9 7fc00000 sl 7fc00000 fp 7fc00000
ip 0000006e sp ef886598 lr f401b527 pc f401dda8 cpsr 20070010
backtrace:
#00 pc 00049da8 /system/lib/libc.so (tgkill+12)
#1 pc 00047523 /system/lib/libc.so (pthread_kill+34)
#2 pc 0001d779 /system/lib/libc.so (raise+10)
#3 pc 00019271 /system/lib/libc.so (__libc_android_abort+34)
#4 pc 000172d8 /system/lib/libc.so (abort+4)
#5 pc 0001c1b8 /data/app/com.lvonasek.arcore3dscanner-1/lib/arm/libarcore_sdk_c.so
#6 pc 0001aa00 /data/app/com.lvonasek.arcore3dscanner-1/lib/arm/libarcore_sdk_c.so
#7 pc 0001a88c /data/app/com.lvonasek.arcore3dscanner-1/lib/arm/libarcore_sdk_c.so
#8 pc 0001298c /data/app/com.lvonasek.arcore3dscanner-1/lib/arm/libarcore_sdk_c.so (ArPointCloud_getPointIds+168)
#9 pc 001b0e55 /data/app/com.lvonasek.arcore3dscanner-1/lib/arm/lib3dscanner.so (_ZN2oc13ARCoreService7ProcessEb+828)
#10 pc 001fc851 /data/app/com.lvonasek.arcore3dscanner-1/lib/arm/lib3dscanner.so (_ZN2oc3App11OnDrawFrameEv+832)
#11 pc 00200c33 /data/app/com.lvonasek.arcore3dscanner-1/lib/arm/lib3dscanner.so (Java_com_lvonasek_arcore3dscanner_main_JNI_onGlSurfaceDrawFrame+22)
#12 pc 000ad919 /system/lib/libart.so (art_quick_generic_jni_trampoline+40)
#13 pc 000a8f41 /system/lib/libart.so (art_quick_invoke_stub_internal+64)
#14 pc 00401629 /system/lib/libart.so (art_quick_invoke_static_stub+228)
#15 pc 000b01ff /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+178)
#16 pc 001eabc1 /system/lib/libart.so (_ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+200)
#17 pc 001e5171 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+492)
#18 pc 003fa141 /system/lib/libart.so (MterpInvokeStatic+236)
#19 pc 0009bf14 /system/lib/libart.so (ExecuteMterpImpl+14612)
#20 pc 001c8fbb /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+290)
#21 pc 001cda8d /system/lib/libart.so (_ZN3art11interpreter30EnterInterpreterFromEntryPointEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameE+92)
#22 pc 003f0a5f /system/lib/libart.so (artQuickToInterpreterBridge+706)
#23 pc 000ad993 /system/lib/libart.so (art_quick_to_interpreter_bridge+34)
#24 pc 01b901c7 /system/framework/arm/boot-framework.oat (offset 0x15b7000) (android.opengl.GLSurfaceView$GLThread.guardedRun+2770)
#25 pc 01b91439 /system/framework/arm/boot-framework.oat (offset 0x15b7000) (android.opengl.GLSurfaceView$GLThread.run+196)
#26 pc 000a8f41 /system/lib/libart.so (art_quick_invoke_stub_internal+64)
#27 pc 00401521 /system/lib/libart.so (art_quick_invoke_stub+232)
#28 pc 000b01d5 /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+136)
#29 pc 003126e9 /system/lib/libart.so (_ZN3artL18InvokeWithArgArrayERKNS_33ScopedObjectAccessAlreadyRunnableEPNS_9ArtMethodEPNS_8ArgArrayEPNS_6JValueEPKc+56)
#30 pc 003134b5 /system/lib/libart.so (_ZN3art35InvokeVirtualOrInterfaceWithJValuesERKNS_33ScopedObjectAccessAlreadyRunnableEP8_jobjectP10_jmethodIDP6jvalue+256)
#31 pc 0032a355 /system/lib/libart.so (_ZN3art6Thread14CreateCallbackEPv+848)
#32 pc 00046ff3 /system/lib/libc.so (_ZL15__pthread_startPv+22)
#33 pc 00019ce9 /system/lib/libc.so (__start_thread+6)

@lvonasek
Copy link
Author

lvonasek commented Oct 2, 2018

Oh sorry for the links to another issues - I just copypasted the logcat

@inio
Copy link

inio commented Oct 2, 2018

I just built HelloAR using the 1.5 SDK and got the following in the manifest:

    <meta-data
        android:name="com.google.ar.core.min_apk_version"
        android:value="180815000" />

Is it possible you're manually generating this manifest entry instead of taking it from the AAR?

@lvonasek
Copy link
Author

lvonasek commented Oct 2, 2018

Yes, it was something like that. Thank you.

@lvonasek lvonasek closed this as completed Oct 2, 2018
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

2 participants