I am trying to integrate JAR libraries of RapidMiner into android app, but i got 1 error.
Error:Execution failed for task ':app:transformClassesWithDexForDebug'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/opt/jdk1.7.0_79/bin/java'' finished with non-zero exit value 1
I'm using Android 5.1, multiDex is enabled.
public void runRapidMiner(){
RapidMiner.setExecutionMode(RapidMiner.ExecutionMode.COMMAND_LINE);
RapidMiner.init();
Process process = null;
try {
process = new Process(new File("/home/patrik/Plocha/mojSrom.rmp"));
process.run();
} catch (IOException e) {
e.printStackTrace();
} catch (XMLException e) {
e.printStackTrace();
} catch (OperatorException e) {
e.printStackTrace();
}
}
Is there a possibility, how can i successfully run this code?