You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can this be used in Android applications now that ApplicationInsights-Android has been deprecated?
Specifically configuring the connection string is a bit non-Android. On Android you don't typically set environment variables, or put Json config files next to your appinsights jar file as there are no jar files in the end.
It fails however due to missing Java Optional class (java.lang.NoClassDefFoundError: Failed resolution of: Ljava/util/Optional;). Our target platform is still running Android 5.
Activity
geoffrey-vl commentedon Oct 23, 2024
For now I have something in line of this:
build.gradle:
Java:
It fails however due to missing Java Optional class (
java.lang.NoClassDefFoundError: Failed resolution of: Ljava/util/Optional;). Our target platform is still running Android 5.mihai-chirodea-qubiz commentedon Jul 17, 2025
Any news on this front? I've been trying to figure out a way to handle logging on android for app insights.