Status Update
Comments
so...@gmail.com <so...@gmail.com> #2
ar...@google.com <ar...@google.com>
sh...@google.com <sh...@google.com> #3
ni...@gmail.com <ni...@gmail.com> #4
sh...@google.com <sh...@google.com> #5
ad...@gmail.com <ad...@gmail.com> #6
I think this is not duplicate of
I just upgraded Android Studio to Iguana and this happened to my recent project:
Studio Profilers encountered an unexpected error. Consider reporting a bug, including logcat output below.
See also: https://developer.android.com/studio/report-bugs.html#studio-bugs
Could not insert an OkHttp3 profiler interceptor
java.lang.ClassNotFoundException: Didn't find class "com.android.tools.profiler.agent.okhttp.OkHttp3Interceptor" on path: DexPathList[[dex file "/
sh...@google.com <sh...@google.com> #7
com.android.tools.profiler.agent.okhttp.OkHttp3Interceptor
. This came from a feature in Network Profiler. As you might know, Network Profiler has
The old Network Profiler shouldn't be running in recent Android Studio versions, but apparently it's not completely turned off and that's why the error reported by this issue is showing up. We plan to completely turn off old Network Profiler code soon which should resolve all issues involving com.android.tools.profiler.agent.okhttp.OkHttp3Interceptor
. That's the rationale for the duplication. Please let us know if you have any questions.
Description
See also:
Could not insert an OkHttp3 profiler interceptor
java.lang.ClassNotFoundException: Didn't find class "com.android.tools.profiler.agent.okhttp.OkHttp3Interceptor" on path: DexPathList[[zip file "/data/app/~~mrUB4pN4SvMZKARLupYfBw==/com.gozocab.dco-VJqXnMgGjQR3k4Nua2BSsw==/base.apk"],nativeLibraryDirectories=[/data/app/~~mrUB4pN4SvMZKARLupYfBw==/com.gozocab.dco-VJqXnMgGjQR3k4Nua2BSsw==/lib/arm64, /data/app/~~mrUB4pN4SvMZKARLupYfBw==/com.gozocab.dco-VJqXnMgGjQR3k4Nua2BSsw==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:259)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at com.android.tools.profiler.support.network.okhttp.OkHttp3Wrapper.insertInterceptor(OkHttp3Wrapper.java:89)
at okhttp3.OkHttpClient.networkInterceptors(OkHttpClient.kt:154)
at okhttp3.OkHttpClient$Builder.<init>(OkHttpClient.kt:548)
at okhttp3.OkHttpClient.newBuilder(OkHttpClient.kt:300)
at com.gozo.lib.components.ServiceGenerator.getHttpClient(ServiceGenerator.java:72)
at com.gozo.lib.components.ServiceGenerator.createService(ServiceGenerator.java:59)
at com.gozo.lib.components.ServiceGenerator.createService(ServiceGenerator.java:45)
at com.gozocab.dco.controller.booking.BookingController.assignBooking(BookingController.kt:115)
at com.gozocab.dco.repository.TripRepository$assignBookingList$1.invokeSuspend(TripRepository.kt:88)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
Build: AI-232.10227.8.2321.11429013, 202402091140
AI-232.10227.8.2321.11429013, JRE 17.0.9+0--11185874x64 JetBrains s.r.o., OS Windows 10(amd64) v10.0 , screens 1440.0x900.0
AS: Iguana | 2023.2.1 RC 2
Kotlin plugin: 232-1.9.0-release-358-AS10227.8.2321.11429013
Android Gradle Plugin: 8.1.2
Gradle: 8.4
Gradle JDK: JetBrains Runtime version 17.0.9
NDK: from local.properties: (not specified), latest from SDK: (not found)
CMake: from local.properties: (not specified), latest from SDK: 3.22.1-g37088a8-dirty, from PATH: (not found)
Source: send_feedback_icon```