It is supports x86 x86_64 arm64-v8a platforms ?
I addded abiFilters for other platforms in build.gradle
ndk { abiFilters 'x86', 'x86_64', 'armeabi', 'armeabi-v7a', 'arm64-v8a' }
But MAXSTARSDK_Android_3.2.0/Build/ contains only armeabi-v7a
Hi,
Yes, our SDK only has shared library for armeabi-v7a.
Could you please let us know why you need another type of support?
The more specific your question is, the easier it gets for us to help you
Thanks a lot.
I see your sample com.maxst.ar.sample and it crashed on arm64-v8a smartphone, but on armv71 works well.
Try to start ImageTrackerActivity:
13880-13880/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.maxst.ar.sample, PID: 13880
java.lang.RuntimeException: Unable to resume activity {com.maxst.ar.sample/com.maxst.ar.sample.imageTracker.ImageTrackerActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.hardware.Camera$Parameters android.hardware.Camera.getParameters()' on a null object reference
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3586)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3626)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2876)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1567)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:156)
at android.app.ActivityThread.main(ActivityThread.java:6523)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:942)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:832)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.hardware.Camera$Parameters android.hardware.Camera.getParameters()' on a null object reference
at com.maxst.ar.Camera1Controller.setAutoWhiteBalanceLock(Camera1Controller.java:297)
at com.maxst.ar.MaxstARJNI.CameraDevice_setAutoWhiteBalanceLock(Native Method)
at com.maxst.ar.CameraDevice.setAutoWhiteBalanceLock(CameraDevice.java:123)
at com.maxst.ar.sample.imageTracker.ImageTrackerActivity.onResume(ImageTrackerActivity.java:69)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1279)
at android.app.Activity.performResume(Activity.java:7017)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3561)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3626)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2876)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1567)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:156)
at android.app.ActivityThread.main(ActivityThread.java:6523)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:942)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:832)
I'm so sorry, it's happened because I removed PermissionCheckActivity.
Thank you.
It's nice to hear that your problem has been resolved.
If you have any further questions, please let us know.