Project

General

Profile

Support #406

Eclipse

Added by Anonymous about 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Start date:
01/30/2012
Due date:
% Done:

0%

Estimated time:
Close

Description

Anybody knows how to open this project in Eclipse?


Related issues

Is duplicate of Support #405: EclipseNew01/30/2012

Actions
#1

Updated by Frédéric Barthéléry about 12 years ago

  • Status changed from New to Assigned
  • Assignee set to Frédéric Barthéléry
  • Priority changed from High to Normal
Basically, there is few steps to follow to compile Beem with eclipse :
  • Create an Android project from existing source
  • Set the java compiler compliance to 1.6 : In project property, go to Java Compiler and change the Compiler complance level
  • Add the libraries in the classpath : In project property, go to Java Build Path, tab Libraries, click on the Add JARs... button, then select libs/asmack-android-7-beem.jar and libs/lcrypto-jdk16-146-20110415.jar
#2

Updated by Vincent de Wit about 12 years ago

I am sorry I just registerd an account. Already tried what you said but I get errors about variables not resolved.

#3

Updated by Frédéric Barthéléry about 12 years ago

Which variables are unresolved ?
Are you sure you add the two jars in the build path?
You should try to refresh and clean the project sometimes eclipse don't set up the new configuration until it is done.

#4

Updated by Loop Back about 12 years ago

You need to setup android sdk in the project - it is not set by default and so all Ressources wont be available...
And: It might not work if you do not have the right android sdk version - you may need to correct androidmanifests targetsdk var...

#5

Updated by Vincent de Wit about 12 years ago

Checked it and still got the errors.There are more then 1000 errors.Here are some errors:

Description Resource Path Location Type
AsymmetricCipherKeyPair cannot be resolved to a type OtrCryptoEngineImpl.java /Login2/src/net/java/otr4j/crypto line 51 Java Problem
available cannot be resolved to a variable PresenceType.java /Login2/src/com/beem/project/beem/utils line 90 Java Problem
Base64 cannot be resolved AvatarExtension.java /Login2/src/com/beem/project/beem/smack/avatar line 69 Java Problem
Base64 cannot be resolved OtrKeyManagerImpl.java /Login2/src/net/java/otr4j line 99 Java Problem
Base64 cannot be resolved SerializationUtils.java /Login2/src/net/java/otr4j/io line 208 Java Problem
Base64 cannot be resolved SerializationUtils.java /Login2/src/net/java/otr4j/io line 265 Java Problem
I hope you can help me.

#6

Updated by Frédéric Barthéléry about 12 years ago

The two jars are not in the build path so most of the class cannot be found.
Re try the procedure, I gave you early

#7

Updated by Frédéric Barthéléry about 12 years ago

  • Status changed from Assigned to Feedback
#8

Updated by Frédéric Barthéléry almost 12 years ago

  • Status changed from Feedback to Resolved
#9

Updated by Frédéric Barthéléry over 11 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF