rickyteng / spydroid-ipcamera

Automatically exported from code.google.com/p/spydroid-ipcamera
GNU General Public License v3.0
0 stars 0 forks source link

Missing javax.naming build failure? #123

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Pulled a fresh copy and tried to build, got:

Invalid package reference in library; not included in Android: 
javax.naming.directory. Referenced from 
org.spongycastle.jce.provider.X509LDAPCertStoreSpi.

Don't know if this is your issue or spongycastle's, I don't see how it can be 
mine.  It seems like spongycastle should either provide this (I couldn't find 
it), or maybe spydroid should.

How on earth do you get this to build?

Original issue reported on code.google.com by dc3...@gmail.com on 30 Sep 2013 at 10:22

GoogleCodeExporter commented 9 years ago
X509LDAPCertStoreSpi.java definitely references javax.naming packages, and 
that's not on the Android whitelist that I can find.  Am I missing something?

Original comment by dc3...@gmail.com on 30 Sep 2013 at 10:25

GoogleCodeExporter commented 9 years ago
Also logged the issue with Spongycastle, 
https://github.com/rtyley/spongycastle/issues/16 .  Worked around it by 
demoting the severity of the complaint from Error to Warning, but I have no 
idea if it will just fail at runtime under some circumstances.

As a side note, I also had to tweak spydroid.xml to get it to build/run, 
removed duplicate xmlns:android declarations and moved xmlns:ads to the 
outermost FrameLayout container.

Original comment by dc3...@gmail.com on 1 Oct 2013 at 6:06