2014-04-27 3 views
0

저는 안드로이드 응용 프로그램을 상태 머신으로 정의하기 위해 아파치 공유 SCXML을 사용하고 있습니다. 선도, 안드로이드 시스템 파일을 덮어 쓰기를 시도, 나는이의 Xalan을 추가 할 수 없습니다안드로이드는 'org.apache.commons.scxml.env.jexl.JexlContext'클래스를 찾을 수 없습니다.

compile 'commons-scxml:commons-scxml:0.9' 
compile 'commons-logging:commons-logging:1.1.3' 
compile 'org.apache.commons:commons-jexl:2.1.1' 

this question에 대한 대답과는 달리 내 안드로이드 스튜디오 프로젝트에서, 나는 내 build.gradle 파일의 종속 섹션에서 다음을 추가했습니다 this error. 그런 다음 '프로젝트를 Gradle 파일과 동기화'버튼을 클릭하고 내 프로젝트의 '외부 종속성'섹션에 commons-scxml 및 commons-jexl 파일이 나타납니다. 내 응용 프로그램을 실행할 때

그러나 나는 아직도이 오류가 발생합니다 :

Could not find class 'org.apache.commons.scxml.env.jexl.JexlContext', referenced from method org.apache.commons.scxml.env.AbstractStateMachine 

답변

0

당신은 또한 종속성으로 org.apache.commons:commons-jexl:1.1이 필요합니다.

관련 문제