Skip to content

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

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

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

Triggered via pull request November 19, 2024 06:55
Status Failure
Total duration 1h 24m 45s
Artifacts 1

build.yml

on: pull_request
Matrix: build-sentry-native
test-solution-filters
30s
test-solution-filters
Matrix: build
Matrix: integration-test
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 29 warnings
.NET (windows-latest)
The target platform identifier android was not recognized.
.NET (windows-latest)
The target platform identifier android was not recognized.
.NET (windows-latest)
The target platform identifier android was not recognized.
.NET (windows-latest)
The target platform identifier android was not recognized.
.NET (windows-latest)
The target platform identifier android was not recognized.
.NET (windows-latest)
The target platform identifier android was not recognized.
.NET (windows-latest)
Process completed with exit code 1.
.NET (windows-latest)
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/
.NET (windows-latest)
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.
.NET (windows-latest)
No files were found with the provided path: **/*.received.*. No artifacts will be uploaded.
.NET (ubuntu-latest)
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/
.NET (ubuntu-latest): 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 ()'.
.NET (ubuntu-latest): 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)'.
.NET (ubuntu-latest): 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)'.
.NET (ubuntu-latest): 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).
.NET (ubuntu-latest): 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).
.NET (ubuntu-latest): 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')
.NET (ubuntu-latest): 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')
.NET (ubuntu-latest)
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.
.NET (ubuntu-latest): 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 ()'.
.NET (ubuntu-latest): 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)'.
.NET (ubuntu-latest)
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.
.NET (macos-15)
Already linked: /opt/homebrew/Cellar/mono/6.12.0.206
.NET (macos-15)
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/
.NET (macos-15): 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 ()'.
.NET (macos-15): 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)'.
.NET (macos-15): 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)'.
.NET (macos-15): 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).
.NET (macos-15): 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).
.NET (macos-15): 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')
.NET (macos-15): 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')
.NET (macos-15)
The target framework 'net7.0-ios' 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.
.NET (macos-15)
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.
.NET (macos-15): 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 ()'.
.NET (macos-15)
The target framework 'net7.0-ios' 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.
.NET (macos-15)
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.

Artifacts

Produced during runtime
Name Size
0947f788dd64f65b42fbb262c4f28c193df5c2c8 Expired
201 MB