ARCore SDK for Android Studio
OTHER License
Bot releases are hidden (Show)
Published by jeremyvc over 3 years ago
targetSdkVersion
30 (Android 11).Published by bsanjin over 3 years ago
Frame#acquireRawDepthImage()
, Frame#acquireRawDepthConfidenceImage()
, Config.DepthMode.RAW_DEPTH_ONLY
.ArFrame_acquireRawDepthImage()
, ArFrame_acquireRawDepthConfidenceImage()
, AR_DEPTH_MODE_RAW_DEPTH_ONLY
.DepthPoint
that provides a calculated depth pose with each frame by hit testing. These values are sampled from the latest depth image, which yields more accurate results on non-planar or low-texture areas in the environment.None
DepthPoint
hit results from Frame#hitTest()
when placing assets.ArDepthPoint
hit results from ArFrame_hitTest()
when placing assets.Published by bsanjin over 3 years ago
ArSession_hostAndAcquireNewCloudAnchor
and ArSession_resolveAndAcquireNewCloudAnchor
will always have the state AR_CLOUD_ANCHOR_STATE_ERROR_INTERNAL
.Session#hostCloudAnchor(Anchor)
and Session#resolveCloudAnchor(java.lang.String)
will always have the state Anchor.CloudAnchorState.ERROR_INTERNAL
.Session
.
FRONT_CAMERA
is deprecated. To create a session using the front-facing (selfie) camera, use Session.setCameraConfig(CameraConfig)
to set a front-facing(selfie) camera config retrieved from Session.getSupportedCameraConfigs(CameraConfigFilter)
.AR_SESSION_FEATURE_FRONT_CAMERA
is deprecated. To create a session using the front-facing (selfie) camera, use ArSession_setCameraConfig
to set a front-facing(selfie) camera config retrieved from ArSession_getSupportedCameraConfigsWithFilter
.ArCameraConfigFilter_setFacingDirection()
API to create a session using the front-facing (selfie) camera instead of using the FRONT_CAMERA
Session feature, which has been deprecated.AImage
to obtain image data, to avoid using previously deprecated ArImage_getNdkImage
.Published by bsanjin almost 4 years ago
ArSession_hostAndAcquireNewCloudAnchor
and ArSession_resolveAndAcquireNewCloudAnchor
will always have the state AR_CLOUD_ANCHOR_STATE_ERROR_INTERNAL
.Session#hostCloudAnchor(Anchor)
and Session#resolveCloudAnchor(java.lang.String)
will always have the state Anchor.CloudAnchorState.ERROR_INTERNAL
.None.
None.
Published by bsanjin almost 4 years ago
Beginning in December 2020, AR-enabled apps built using ARCore SDK 1.11.0 or earlier will no longer be able to host or resolve Cloud Anchors.
ArSession_hostAndAcquireNewCloudAnchor
and ArSession_resolveAndAcquireNewCloudAnchor
will always have the state AR_CLOUD_ANCHOR_STATE_ERROR_INTERNAL
.Session#hostCloudAnchor(Anchor)
and Session#resolveCloudAnchor(java.lang.String)
will always have the state Anchor.CloudAnchorState.ERROR_INTERNAL
.Apps built with ARCore SDK 1.12.0 or later are unaffected. Their use of Cloud Anchors APIs is covered by the Cloud Anchors deprecation policy.
x86_64
system images on macOS with ARCore SDK 1.16.0 or later, Google Play Services for AR will crash. As a workaround, use an x86
system image.None.
ArSession_startRecording()
, ArSession_stopRecording()
, ArRecordingConfig()
, ArSession_getRecordingStatus()
, ArSession_getPlaybackStatus()
, ArSession_setPlaybackDataset()
.session.startRecording(recordingConfig)
, session.stopRecording()
, RecordingConfig()
, session.getRecordingStatus()
, session.setPlaybackDataset()
, session.getPlaybackStatus()
.CameraConfigFilter
and CameraConfig
:
ArCameraConfigFilter_getStereoCameraUsage()
ArCameraConfigFilter_setStereoCameraUsage()
ArCameraConfig_getStereoCameraUsage()
.CameraConfigFilter.getStereoCameraUsage()
, CameraConfigFilter.setStereoCameraUsage()
. CameraConfig.getStereoCameraUsage()
.None.
ArCoreApk_requestInstall
to clarify runtime behavior, noting when and how ARCore device profile data is downloaded and updated.Published by bsanjin about 4 years ago
x86_64
system images on macOS with ARCore SDK 1.16.0 or later, Google Play Services for AR will crash. As a workaround, use an x86
system image.ArImageMetadata_getAllKeys
and ArImageMetadata_getConstEntry
functions let you get image metadata without having to call the Android NDK camera stack APIs. See the developer guideImageMetaData#get*(int)
method now also throws MetadataNotFoundException
. See the developer guide.ArImageMetadata_getNdkCameraMetadata
has been deprecated and should no longer be called.immersive-ar
stopped working on 64-bit Android Q+.Published by bsanjin about 4 years ago
Google Play Services for AR (ARCore) has removed support for 32-bit-only ARCore-enabled apps running on 64-bit devices. Support for 32-bit apps running on 32-bit devices is unaffected.
If you have published a 32-bit-only (armeabi-v7a
) version of your ARCore-enabled app without publishing a corresponding 64-bit (arm64-v8a
) version, you must update your app to include 64-bit native libraries. 32-bit-only ARCore-enabled apps that are not updated may crash when attempting to start an augmented reality (AR) session.
To learn more about this breaking change, and for instructions on how to update your app, see https://developers.google.com/ar/64bit.
x86_64
system images on macOS with ARCore SDK 1.16.0 or later, Google Play Services for AR will crash. As a workaround, use an x86
system image.ArConfig_setInstantPlacementMode
, ArConfig_getInstantPlacementMode
, ArInstantPlacementPoint
, ArFrame_hitTestInstantPlacement
.Config.setInstantPlacementMode
, Config.getInstantPlacementMode
, InstantPlacementPoint
, Frame.hitTestInstantPlacement
.hello_ar_java
sample and hello_ar_c
sample.<queries>
element in ARCore SDK's manifest file to support Package visibility in Android 11. This requires apps to build with Gradle 5.6.4 or later and Android Gradle Plugin 3.6.0 or later.None.
targetSdkVersion
29 (Android 10).diffuseTextureAssetName
parameter to specify the texture that should used in AugmentedFaceRenderer.createOnGlThread
.Session.close
in all Java sample apps to explicitly release native resources when destroying the activity.LICENSE
file now lists only the dependencies of the ARCore SDK binary and not Maven dependencies of the samples.com.google.ar.core
Maven POM file.ArFrame_transformCoordinates2d
in HelloArApplication::GetTextureTransformMatrix
.Published by bsanjin over 4 years ago
Note: this is a Google Play Services for AR (ARCore) APK-only release (version 1.18.1). The SDK version remains unchanged (version 1.18.0).
Published by bsanjin over 4 years ago
In August 2020, Google Play Services for AR (ARCore) will remove support
for 32-bit-only ARCore-enabled apps running on 64-bit devices. Support for
32-bit apps running on 32-bit devices is unaffected.
If you have published a 32-bit-only (armeabi-v7a
) version of your
ARCore-enabled app without publishing a corresponding 64-bit (arm64-v8a
)
version, you must update your app to include 64-bit native libraries before
August 2020. 32-bit-only ARCore-enabled apps that are not updated by this time
may crash when attempting to start an augmented reality (AR) session.
To learn more about this breaking change, and for instructions on how to update
your app, see https://developers.google.com/ar/64bit.
x86_64
system images on macOS with ARCore SDK 1.16.0 or later, Google Play Services for AR will crash. As a workaround, use an x86
system image.targetSdkVersion
inside the ARCore Android Archive (AAR) file has been updated to API level 29. Specifying a targetSdkVersion
in your project's build.gradle
or AndroidManifest.xml
will override the ARCore value.None.
cloud_anchor_java
sample app. The incorrect link now redirects to the correct link, so existing apps with the incorrect link don't need to be updated.Published by noelvictor1 over 4 years ago
In August 2020, Google Play Services for AR (ARCore) will remove support
for 32-bit-only ARCore-enabled apps running on 64-bit devices. Support for
32-bit apps running on 32-bit devices is unaffected.
If you have published a 32-bit-only (armeabi-v7a
) version of your
ARCore-enabled app without publishing a corresponding 64-bit (arm64-v8a
)
version, you must update your app to include 64-bit native libraries before
August 2020. 32-bit-only ARCore-enabled apps that are not updated by this time
may crash when attempting to start an augmented reality (AR) session.
To learn more about this breaking change, and for instructions on how to update
your app, see https://developers.google.com/ar/64bit.
None.
None.
None.
computervision_java
sample.Published by noelvictor1 over 4 years ago
In August 2020, Google Play Services for AR (ARCore) will remove support
for 32-bit-only ARCore-enabled apps running on 64-bit devices. Support for
32-bit apps running on 32-bit devices is unaffected.
If you have published a 32-bit-only (armeabi-v7a
) version of your
ARCore-enabled app without publishing a corresponding 64-bit (arm64-v8a
)
version, you must update your app to include 64-bit native libraries before
August 2020. 32-bit-only ARCore-enabled apps that are not updated by this time
may crash when attempting to start an augmented reality (AR) session.
To learn more about this breaking change, and for instructions on how to update
your app, see https://developers.google.com/ar/64bit.
getSupportedCameraConfigs(CameraConfigFilter)
API. See ARCore supported devices for details.None.
ArCameraConfigFilter
type.BackgroundRenderer
in our samples, allowing it to work with GL_CULL_FACE
.Published by noelvictor1 over 4 years ago
Published by noelvictor1 almost 5 years ago
Note: This is a Google Play Services for AR (APK) only release.
Published by noelvictor1 almost 5 years ago
None.
CAMERA_UNAVAILABLE
to the TrackingFailureReason
enumeration to represent a temporary loss of the camera to another app on the device. After an app regains priority, tracking will resume.None.
None.
Published by noelvictor1 almost 5 years ago
None.
None.
None.
Published by noelvictor1 about 5 years ago
Note: This is a Google Play Services for AR (APK) only release.
Published by noelvictor1 about 5 years ago
The data captured by hostCloudAnchor()
(Java) and ArSession_hostAndAcquireNewCloudAnchor()
(NDK), which is uploaded to the ARCore Cloud Anchor API service has changed. See https://developers.google.com/ar/develop/java/cloud-anchors/overview-android#how-hosted to learn more.
resolveCloudAnchor()
(Java) and ArSession_resolveAndAcquireNewCloudAnchor()
(NDK) will no longer timeout or fail when the ARCore Cloud Anchor API service is unreachable, or the anchor cannot be immediately resolved. Instead, the API will continue to attempt to resolve the provided anchors until they are detached.
ERROR_RESOLVING_LOCALIZATION_NO_MATCH
and ERROR_SERVICE_UNAVAILABLE
enums in CloudAnchorState
are now deprecated and will no longer be returned.AR_CLOUD_ANCHOR_STATE_ERROR_RESOLVING_LOCALIZATION_NO_MATCH
and AR_CLOUD_ANCHOR_STATE_ERROR_SERVICE_UNAVAILABLE
enums in the ArCloudAnchorState
are now deprecated and will no longer be returned.These changes only affect apps built with ARCore SDK 1.12 or later. Apps built with older SDKs will not be affected by this change, and will continue to observe old behavior.
ERROR_HOSTING_SERVICE_UNAVAILABLE
value will be set for a Cloud Anchor during the hosting process, if the ARCore Cloud Anchor service is unreachable.CloudAnchorState
are being deprecated:
ERROR_RESOLVING_LOCALIZATION_NO_MATCH
and ERROR_SERVICE_UNAVAILABLE
enums in CloudAnchorState
are now deprecated and will no longer be returned.AR_CLOUD_ANCHOR_STATE_ERROR_RESOLVING_LOCALIZATION_NO_MATCH
and AR_CLOUD_ANCHOR_STATE_ERROR_SERVICE_UNAVAILABLE
enums in the ArCloudAnchorState
are now deprecated and will no longer be returned.None.
None.
Published by noelvictor1 about 5 years ago
CameraConfigFilter
class (Java) and ArCameraConfigFilter_*()
functions (NDK) let an app filter the CameraConfig
list based on Target FPS and/or Depth Camera Usage.Session.getSupportedCameraConfigs(CameraConfigFilter)
(Java) and ArSession_getSupportedCameraConfigsWithFilter(…)
(NDK) returns a list of supported camera configs based on the provided filter settings.Session.getSupportedCameraConfigs()
(Java) and ArSession_getSupportedCameraConfigs(…)
(NDK) are now deprecated. Use getSupportedCameraConfigs(CameraConfigFilter)
(Java) and ArSession_getSupportedCameraConfigsWithFilter(…)
(NDK) instead.None
Published by noelvictor1 over 5 years ago
ArImage_*
methods to access CPU image data not through Android NDK.ArImage_getNdkImage(const ArImage* image, const AImage** out_ndk_image)
(NDK) is now deprecated. Use the other ArImage_*
functions to obtain image data.Config
setters now return this
, which allows method call chaining: session.configure(new Config(session).setA(..).setB(..));
.Published by fredsa over 5 years ago
getSupportedCameraConfigs()
will return one or more supported camera configs. For apps built using ARCore SDK 1.7.0 or 1.8.0, three identical camera configs were returned when using the front-facing (selfie) camera.getMeshTriangleIndices(…)
now returns a ShortBuffer
instead of a CharBuffer
.AugmentedImage#getTrackingMethod()
(Java) or ArAugmentedImage_getTrackingMethod()
(NDK) to determine whether the image is currently being tracked by the camera (FULL_TRACKING
), or is being tracked based on its last known pose (LAST_KNOWN_POSE
).<model-viewer>
web component.NullPointerException
that was thrown when setting a null AugmentedImageDatabase
in the session configuration.