Akka. Android. NoSuchMethodException:

前端 未结 2 435
执念已碎
执念已碎 2021-01-14 21:23

When I am running application that uses Akka on Android I receive the following exception:

04-29 16:13:06.235: E/AndroidRuntime(8968): java.lang.RuntimeExcep         


        
相关标签:
2条回答
  • 2021-01-14 21:35

    Expanding on mttdbrd's answer... For those confused how to actually get rid of this warning add the following to your proguard:

    -keepclasseswithmembers class * {
        public <init>(com.typesafe.config.Config, akka.event.LoggingAdapter, java.util.concurrent.ThreadFactory);
    }
    
    0 讨论(0)
  • 2021-01-14 21:46

    One of your constructors with the following signature is not public or doesn't exist:

    MyActivity (com.typesafe.config.Config, akka.event.LoggingAdapter, java.util.concurrent.ThreadFactory)
    
    0 讨论(0)
提交回复
热议问题