Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

JAVA API and Android (RTC)

 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


0 votes



One answer

Permanent link
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.


0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,944

Question asked: Jan 31 '13, 8:58 a.m.

Question was seen: 6,217 times

Last updated: Feb 07 '13, 5:11 a.m.

Confirmation Cancel Confirm