Skip to content

Fix: NETSDK1139: The target platform identifier android was not recognized #4742

Fix: NETSDK1139: The target platform identifier android was not recognized

Fix: NETSDK1139: The target platform identifier android was not recognized #4742

Triggered via pull request November 18, 2024 21:41
Status Success
Total duration 9m 12s
Billable time 7m
Artifacts 3

device-tests-android.yml

on: pull_request
Matrix: android
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-java@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build: src/Sentry.Bindings.Android/obj/Release/net7.0-android/api.xml#L7950
Unknown return type 'io.sentry.android.core.internal.util.SentryFrameMetricsCollector' for member 'Sentry.JavaSdk.Android.Core.SentryAndroidOptions.GetFrameMetricsCollector ()'.
build: src/Sentry.Bindings.Android/obj/Release/net7.0-android/api.xml#L8040
Unknown parameter type 'io.sentry.android.core.internal.util.SentryFrameMetricsCollector' for member 'Sentry.JavaSdk.Android.Core.SentryAndroidOptions.SetFrameMetricsCollector (io.sentry.android.core.internal.util.SentryFrameMetricsCollector)'.
build: src/Sentry.Bindings.Android/obj/Release/net7.0-android/api.xml#L8186
Unknown parameter type 'io.sentry.android.core.internal.util.SentryFrameMetricsCollector' for member 'Sentry.JavaSdk.Android.Core.SpanFrameMetricsCollector.SpanFrameMetricsCollector (Sentry.JavaSdk.Android.Core.SentryAndroidOptions, io.sentry.android.core.internal.util.SentryFrameMetricsCollector)'.
build: src/Sentry.Bindings.Android/obj/Release/net7.0-android/api.xml#L9155
Unexpected field type `io.sentry.android.replay.DefaultReplayBreadcrumbConverter.Companion` (IO.Sentry.Android.Replay.DefaultReplayBreadcrumbConverter).
build: src/Sentry.Bindings.Android/obj/Release/net7.0-android/api.xml#L9729
Unexpected field type `io.sentry.android.replay.gestures.ReplayGestureConverter.Companion` (IO.Sentry.Android.Replay.Gestures.ReplayGestureConverter).
build: src/Sentry.Bindings.Android/obj/Release/net7.0-android/api.xml#L9258
Skipping 'IO.Sentry.Android.Replay.ReplayCache.Companion' due to a duplicate nested type name. (Java type: 'io.sentry.android.replay.ReplayCache')
build: src/Sentry.Bindings.Android/obj/Release/net7.0-android/api.xml#L9422
Skipping 'IO.Sentry.Android.Replay.ScreenshotRecorderConfig.Companion' due to a duplicate nested type name. (Java type: 'io.sentry.android.replay.ScreenshotRecorderConfig')
build: src/Sentry.Bindings.Android/obj/Release/net7.0-android/api.xml#L7950
Unknown return type 'io.sentry.android.core.internal.util.SentryFrameMetricsCollector' for member 'Sentry.JavaSdk.Android.Core.SentryAndroidOptions.GetFrameMetricsCollector ()'.
build: src/Sentry.Bindings.Android/obj/Release/net7.0-android/api.xml#L8040
Unknown parameter type 'io.sentry.android.core.internal.util.SentryFrameMetricsCollector' for member 'Sentry.JavaSdk.Android.Core.SentryAndroidOptions.SetFrameMetricsCollector (io.sentry.android.core.internal.util.SentryFrameMetricsCollector)'.

Artifacts

Produced during runtime
Name Size
device-test-android
21 MB
device-test-android-27-results
112 KB
device-test-android-33-results
260 KB