Project

General

Profile

Bug #4961

Avatar?id=6098&size=50x50 Avatar?id=6098&size=22x22

JaXMPP on Android causes problems

Added by Bartosz Malkowski TigaseTeam almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
Start date:
2017-03-01
Due date:
% Done:

100%

Estimated time:
1.00 h
Source Code Disclaimer:

Description

Because of bugs in ADK (?) JaXMPP cannot be used in Android projects beacuse of using lambdas in JaXMPP.

Android application during compilation throws:

ERROR: ThreadSafeEventBus.java:35-36: Lambda coming from jar file need their interfaces on the classpath to be compiled, unknown interfaces are java.util.concurrent.ThreadFactory

It seems problem is known but not fixed yet.

Solution:

Downgrade source code level of JaXMPP to Java7.

Associated revisions

Revision 143f3974 (diff)
Added by Bartosz Malkowski TigaseTeam almost 2 years ago

Bug #4961: JaXMPP on Android causes problems

History

#1 Avatar?id=6098&size=24x24 Updated by Bartosz Malkowski TigaseTeam almost 2 years ago

  • Status changed from New to In Progress

#2 Avatar?id=6098&size=24x24 Updated by Bartosz Malkowski TigaseTeam almost 2 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Fixed and published in maven repo.

#3 Avatar?id=6098&size=24x24 Updated by Bartosz Malkowski TigaseTeam almost 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF