javaandroidchatbotalice

Error while importing library in android studio


i'm using android studio to make a chatbot but i get error while importing alice libraries " Can't resolve alicebot"

import org.alicebot.ab.Bot;
import org.alicebot.ab.Chat;

Solution

  • you have to adde the jar files in the lib folder to the library of your android project.

    lib folder containing: Ab.jar, commons-codec-1.6.jar, commons-logging-1.1.1.jar, hamcrest-all-1.3.jar, httpclient-4.2.1.jar, httpclient-cache-4.2.1.jar, httpcore-4.2.1.jar, httpmime-4.2.1.jar, jgoodies-common.jar, jgoodies-forms.jar, joda-time-2.1.jar, json-20090211.jar, junit-4.11.jar, sanmoku-0.0.5.jar, sanmoku-feature-ex-0.0.1.jar