java - Akka on Android not running (app crashes) -


i trying use akka android. use case simple , have given akka part of code below.

    button btn = (button) findviewbyid(r.id.button);     final textview txtview = (textview) findviewbyid(r.id.textview);     btn.setonclicklistener(new view.onclicklistener() {          @override         public void onclick(view view) {             actorsystem system = actorsystem.create("lingua", configfactory                     .parsefile(new file("client.conf")));             actorref master = system.actorof(props.create(messageprocessor.class), "processor");             txtview.settext(master.path().tostring());             master.tell("i here", actorref.nosender());         }     }); 

my app crashes while starting. following error in log cat.

06-19 18:49:40.780  18477-18477/com.ngtech.akkatest e/androidruntime﹕ fatal exception: main java.lang.noclassdeffounderror: android.support.v7.app.appcompatdelegateimplv11         @ android.support.v7.app.appcompatdelegate.create(appcompatdelegate.java:77)         @ android.support.v7.app.appcompatactivity.getdelegate(appcompatactivity.java:414)         @ android.support.v7.app.appcompatactivity.oncreate(appcompatactivity.java:57)         @ com.ngtech.akkatest.akkaactivity.oncreate(akkaactivity.java:15)         @ android.app.activity.performcreate(activity.java:5252)         @ android.app.instrumentation.callactivityoncreate(instrumentation.java:1082)         @ android.app.activitythread.performlaunchactivity(activitythread.java:2038)         @ android.app.activitythread.handlelaunchactivity(activitythread.java:2099)         @ android.app.activitythread.access$600(activitythread.java:138)         @ android.app.activitythread$h.handlemessage(activitythread.java:1205)         @ android.os.handler.dispatchmessage(handler.java:99)         @ android.os.looper.loop(looper.java:137)         @ android.app.activitythread.main(activitythread.java:4954)         @ java.lang.reflect.method.invokenative(native method)         @ java.lang.reflect.method.invoke(method.java:511)         @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:798)         @ com.android.internal.os.zygoteinit.main(zygoteinit.java:565)         @ dalvik.system.nativestart.main(native method) 

i have solved problems listed in stackoverflow forums given below

akka on android multiple reference.conf

akka on android

but still app crashes. not using scala/scaloid. using akka lib java.

i have uploaded full code here

i have added following akka jars libs folder 1. akka-actor_2.11-2.3.11.jar 2. config-1.2.1.jar 3. scala-library-2.11.5.jar

what might have gone wrong. please guide me in resolving issue.

looks issue library dependency, suppose dependency not given in build.grade


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -