It's all about the answers!

Ask a question

JAVA API and Android (RTC)


Robert Siara (821014) | asked Jan 31 '13, 8:58 a.m.
edited Jan 31 '13, 9:02 a.m.
 Hi,

I try to start develop small RTC client on Android , but i have problem with import RTC Java API to my android application project.

I import API jars in the following way: 
  1. My Project -> right click -> Import -> File System -> oneApiJar.jar
  2. My Project -> right click -> Properties -> Java Build Path -> Libraries -> Add Jar -> oneApiJar.jar
But when I try to run the application I get these errors

[2013-01-31 13:35:55 - Dex Loader] Unable to execute dex: Multiple dex files define Lorg/eclipse/jface/contentassist/AbstractControlContentAssistSubjectAdapter$1;
[2013-01-31 13:35:55 - Hello] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lorg/eclipse/jface/contentassist/AbstractControlContentAssistSubjectAdapter$1;


Anybody try to use JAVA Api in android projects?

I would be thankful for help


One answer



permanent link
Stefan Hufnagl (29411920) | answered Feb 07 '13, 5:11 a.m.
Hi,

I had the same problems two years ago and I found no solution. The problem is that Android use a different
Byte Code at the JVM... the Dalvik Byte Code.
My workaround was:
  • Use OSLC, News Feeds
  • Use Ubuntu with Open JDK on my Nexus 7

I created two Android Clients ...I mentioned it at this forum.


Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.