5

I'm getting this error when trying to run a jruby script on SL4A

Dalvik VM unable to locate class 'org/jruby/Main' 
java.lang.NoClassDefFoundError: org.jruby.Main

I see the jruby.jar file is installed

# find org.ruboto.sl4a/
org.ruboto.sl4a/
org.ruboto.sl4a/jruby_extras.zip
org.ruboto.sl4a/extras
org.ruboto.sl4a/extras/jruby
org.ruboto.sl4a/extras/jruby/jruby.jar
org.ruboto.sl4a/jruby_scripts.zip
org.ruboto.sl4a/dalvik-cache

Any ideas? Is this a permissions problem? I have a rooted phone running CM7

4

1 回答 1

0

自从您使用 Ruboto 标记您的问题后,您是否尝试过将您的应用程序构建为 Ruboto 应用程序?这可能会更容易。

于 2012-03-14T20:34:16.573 回答