Closed Banjorattler closed 6 years ago
Interesting. We'll look into it.
I can provide more information if needed.
Unfortunately 1.1 is not supported on the emulator just yet. The emulator doesn't have access to the Play Store, so it has no way to download a newer version. We'll release a new OS image shortly that adds 1.1 support.
Name: Pixel_2_API_27_arcore
CPU/ABI: Google APIs Intel Atom (x86)
Path: C:\Users\A003833.android\avd\Pixel_2_API_27_arcore.avd
Target: google_apis [Google APIs] (API level 27)
Skin: pixel_2
SD Card: 100M
hw.dPad: no
hw.lcd.height: 1920
runtime.network.speed: full
hw.accelerometer: yes
hw.device.name: pixel_2
vm.heapSize: 256
skin.dynamic: yes
hw.device.manufacturer: Google
hw.lcd.width: 1080
hw.gps: yes
hw.initialOrientation: Portrait
image.androidVersion.api: 27
hw.audioInput: yes
image.sysdir.1: system-images\android-27\google_apis\x86\
tag.id: google_apis
showDeviceFrame: yes
hw.camera.back: virtualscene
hw.mainKeys: no
AvdId: Pixel_2_API_27_arcore
hw.camera.front: emulated
hw.lcd.density: 420
avd.ini.displayname: Pixel 2 API 27 arcore
hw.arc: false
hw.gpu.mode: auto
hw.device.hash2: MD5:bc5032b2a871da511332401af3ac6bb0
hw.ramSize: 1536
hw.trackBall: no
PlayStore.enabled: false
fastboot.forceColdBoot: no
hw.battery: yes
hw.cpu.ncore: 2
hw.sdCard: yes
tag.display: Google APIs
runtime.network.latency: none
hw.keyboard: yes
hw.sensors.proximity: yes
disk.dataPartition.size: 800M
hw.sensors.orientation: yes
avd.ini.encoding: UTF-8
hw.gpu.enabled: yes
this is the error i am getting on logcat Play Store install service could not be bound.
Hi
I downloaded the latest AR core and installed it on the Pixel 2 Emulator.
I ran HelloAR Java and Crash occurred
Log info:
04-09 16:04:56.993 3093-3093/com.google.ar.core.examples.java.helloar I/third_party/arcore/ar/core/android/sdk/session_create.cc: Entering ArSession_create
04-09 16:04:56.997 3093-3093/com.google.ar.core.examples.java.helloar E/NativeLibraryLoader: version_check not found or not implemented.
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.google.ar.core-H3NMGHnUACRBdVwNW7azuA==/base.apk"],nativeLibraryDirectories=[/data/app/com.google.ar.core-H3NMGHnUACRBdVwNW7azuA==/lib/x86, /system/lib, /vendor/lib]]] couldn't find "libversion_check.so"
at java.lang.Runtime.loadLibrary0(Runtime.java:1011)
at java.lang.System.loadLibrary(System.java:1657)
at com.google.vr.dynamite.NativeLibraryLoader.checkVersion(PG:12)
at aje.onTransact(PG:13)
at android.os.Binder.transact(Binder.java:627)
at com.google.android.aidl.BaseProxy.transactAndReadException(BaseProxy.java:45)
at com.google.vr.dynamite.client.INativeLibraryLoader$Stub$Proxy.checkVersion(INativeLibraryLoader.java:89)
at com.google.vr.dynamite.client.DynamiteClient.checkVersion(DynamiteClient.java:46)
at com.google.ar.core.Session.nativeCreateSession(Native Method)
at com.google.ar.core.Session.
@yuzhimin999 The emulator requires a custom x86 build of ARCore. Play Store versions won't run on it.
I am also facing the issue, is this fixed?
We're working on this. I'll update the bug as soon as we've figured what's possible.
Ran into the same thing, you can switch to 1.0.0 in the dependencies. There might be some other features like lighting that might need some tweaking
implementation 'com.google.ar:core:1.0.0'
Yeah finally I have to do that, I had to comment
//frame.getLightEstimate().getColorCorrection(colorCorrectionRgba, 0); in HelloArActivity.java
The x86 build of ARCore has just been added to the 1.1 release files. Installing this into the emulator will result in apps built against the 1.1 SDK working in the emulator.
When I run the project the phone comes up with a message box that says "This application requires the latest version of ARCore." When I tap continue the app displays a new message box that says "HelloAR Java has stopped"
Running Android Studio 3.1 dated at March 26, 2018 Emulator - Pixel 2 API 27 (Android 8.1.0, API 27)
The (arcore-android-sdk-v1.0.0) works with the emulator, but the (arcore-android-sdk-v1.1.0) does not.