我不明白为什么我会从proguard那里获取这些笔记,以及是否需要采取任何措施来解决它们。
Note: kotlin.internal.PlatformImplementationsKt: can't find dynamically referenced class
kotlin.internal.jdk8.JDK8PlatformImplementations
Note: kotlin.internal.PlatformImplementationsKt: can't find dynamically referenced class
kotlin.internal.JRE8PlatformImplementations
Note: kotlin.internal.PlatformImplementationsKt: can't find dynamically referenced class
kotlin.internal.JRE7PlatformImplementations
Note: kotlin.jvm.internal.Reflection: can't find dynamically referenced class
kotlin.reflect.jvm.internal.ReflectionFactoryImpl
其中三个用于kotlin.internal.PlatformImplementationKt
,一个用于kotlin.jvm.internal.Reflection
kotlin: 1.2.71
Android Studio / gradle plugin: 3.2.0
gradle: 4.10.2
答案 0 :(得分:2)
是安全的,您应该将这些规则添加到proguard-rules.pro
配置中
# Kotlin
-keep class kotlin.Metadata { *; }
-dontnote kotlin.internal.PlatformImplementationsKt
-dontnote kotlin.reflect.jvm.internal.**