How do I add jar libraries into MOE as part of the compilation?


Sorry, I just can;t find any examples regarding this part…
Hope any help…

Best Regards,

Dear @ivanooi

In your xcode directory create a folder named : libs then put there all jar file’s. Sync gradle.


dear @saeed

Sync gradle? I’m using Eclipse, do i need to install any plugin for Gradle ?

Best Regards,

I’m using Buildship plugin for Eclipse

thanks, @ekuleshov hmm… I copy all the dependent jar files into lib folder under xcode… but…i had tried
all the Gradle files…but… it still unable to compile my source code. still complaining missing libraries…

i’m so sorry…

Best Regards,

Do you have something like compile fileTree(dir: ‘libs’, include: ‘*.jar’) in your gradle descriptor? Then in Eclipse use Gradle / Update project to pickup changes.


this is how the build.gradle look like :

dependencies {
// Compile with ‘jar’ files in the project’s ‘lib’ directory
compile fileTree(dir: ‘lib’, include: ‘*.jar’)

and I place the dependent jar files under
xcode -> lib

Best Regards,

ok! i found the problem!

I should place the lib folder under the project folder, not inside xcode.

but now it failed to launch it :
any ideas ? before that, every things just fine
and I can run this project in xcode without any problems hahaha but not from Eclipse

Invalid UDID string ‘’.
Command failed: [/Users/ivanooi/.moe/moe-sdk-1.3.6/tools/simlauncher, --udid=, –

Best Regards,

Seems like no ios simulator is selected?