-
Notifications
You must be signed in to change notification settings - Fork 49
Android build error "Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'android.content.pm.ApplicationInfo?" with compileSdkVersion 35 #147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
neelkanth-kaushik
added a commit
that referenced
this issue
May 13, 2025
neelkanth-kaushik
added a commit
that referenced
this issue
May 13, 2025
Thanks for reporting the issue, we are working on it. |
neelkanth-kaushik
added a commit
that referenced
this issue
May 13, 2025
neelkanth-kaushik
added a commit
that referenced
this issue
May 13, 2025
MichaelGHSeg
pushed a commit
that referenced
this issue
May 20, 2025
* Patch for Github Issue #144 * Patch for Github issue #147 * Patch for Github issue #147 * Patch for Github issue #144 * Patch for Github issue #147 * Patch for Github issue #147 * Patch for Github issue #138 * Patch for Github issue #138 * Patch for Github Issue #152 * Patch for Github Issue #152 * Testing patch for Github Issue #157 * Patch for Github Issue #157
MichaelGHSeg
added a commit
that referenced
this issue
May 20, 2025
* Patches for Github Issues (#159) * Patch for Github Issue #144 * Patch for Github issue #147 * Patch for Github issue #147 * Patch for Github issue #144 * Patch for Github issue #147 * Patch for Github issue #147 * Patch for Github issue #138 * Patch for Github issue #138 * Patch for Github Issue #152 * Patch for Github Issue #152 * Testing patch for Github Issue #157 * Patch for Github Issue #157 * Updating for 1.1.7 release * Removing unnecessary library name --------- Co-authored-by: Neelkanth Kaushik <[email protected]>
Please update the library to version 1.1.7. |
This was referenced May 23, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
e: file:///Users/xxx/.pub-cache/hosted/pub.dev/segment_analytics-1.1.3/android/src/main/kotlin/com/segment/analytics/AnalyticsPlugin.kt:146:59 Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'android.content.pm.ApplicationInfo?'.
Reproduce:
Possible reason:
In Kotlin 35, the PackageInfo.java mark ApplicationInfo with Nullable annotation.
The text was updated successfully, but these errors were encountered: