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

Hi,

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

Best Regards,
ivan

Dear @ivanooi

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

Regards,
Saeed.

dear @saeed

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

Best Regards,
ivan

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,
Ivan

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.

yes,

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,
Ivan

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

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

Best Regards,
Ivan

Seems like no ios simulator is selected?