projetcitron / ice4j

Automatically exported from code.google.com/p/ice4j
0 stars 0 forks source link

The library can’t be included in an Android app #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Import Ice4j into an Android app
2. Build the app

What is the expected output? What do you see instead?
The app should be built, however it won’t as it imports classes from JainSip, 
whose package names start with javax. This is not allowed and the following 
error message is displayed:

Ill-advised or mistaken usage of a core class (java.* or javax.*)
when not building a core library.

This is often due to inadvertently including a core library file
in your application's project, when using an IDE (such as
Eclipse). If you are sure you're not intentionally defining a
core class, then this is the most likely explanation of what's
going on.

Etc.

What version of the product are you using? On what operating system?
Release  413; building from Eclipse; the operating system is Windows 8.1

Please provide any additional information below.
The library can be used after JainSip has been repackaged and the imports in 
ice4j have been modified accordingly, however, our understanding is that due to 
licencing issues the new package names should not contain any references to 
java or javax. Would you consider providing a version (perhaps also covered by 
LGPL) that can be used in an Android application in compliance with the 
licences that currently cover the library and its dependencies?

Original issue reported on code.google.com by stefanoa...@gmail.com on 22 Jul 2014 at 1:14

GoogleCodeExporter commented 9 years ago
I am currently using Ice4J in AndroidStudio without an issue are you sure you 
aren't trying to use LibJitsi which might be causing the issue?

Original comment by msj...@gmail.com on 13 Apr 2015 at 5:49

GoogleCodeExporter commented 9 years ago
Hi "msg..@gmail.com", I'm using Ice4J in AndroidStudio. But as you know Android 
doesn't support sun.nio.* classes, how have you fixed this issue. Thanks for 
you the guidance and support.

Thanks,
Abdul

Original comment by Aqav...@gmail.com on 9 May 2015 at 9:41