Can a single  apk   have  source files with multiple package  names ?

I just added the trilead source code to my project
So the trilead files have
package com.trilead.ssh2.transport;
package com.trilead.ssh2...  etc;

Where as my project all has
package org.ttienterprises.eeds

Could this somehow relate to the problem I am seeing
a) debug build apk's           don't mind  whereas
b) exported signed apk's    do mind ?

Why else would the code work if done using a debug apk but fail if using a signed apk ?


Thanks in advance



On 01/25/2012 03:21 PM, New Developer wrote:
I'm trying to use the trilead ssh2 library to establish a scp connection

If I create the apk using the debug/run  then the code works fine

If I export and sign the apk then the code generates the following logcat error

W/System.err( 1974): java.lang.Exception: Error occured connecting: java.io.IOException: There was a problem while connecting to 24.220.0.0:22
W/System.err( 1974):     at org.ttienterprises.eeds.em.a(Unknown Source)
W/System.err( 1974):     at org.ttienterprises.eeds.ek.run(Unknown Source)
W/System.err( 1974): Caused by: java.io.IOException: There was a problem while connecting to 24.220.0.0:22
W/System.err( 1974):     at com.a.a.b.d(Unknown Source)
W/System.err( 1974):     at com.a.a.b.b(Unknown Source)
W/System.err( 1974):     ... 2 more
W/System.err( 1974): Caused by: java.io.IOException: Key exchange was not finished, connection is closed.
W/System.err( 1974):     at com.a.a.i.b.c(Unknown Source)
W/System.err( 1974):     at com.a.a.i.i.a(Unknown Source)
W/System.err( 1974):     ... 4 more
W/System.err( 1974): Caused by: java.io.IOException: Fatal error during MAC startup!
W/System.err( 1974):     at com.a.a.i.b.e(Unknown Source)
W/System.err( 1974):     at com.a.a.i.b.a(Unknown Source)
W/System.err( 1974):     at com.a.a.i.i.f(Unknown Source)
W/System.err( 1974):     at com.a.a.i.j.run(Unknown Source)
W/System.err( 1974):     at java.lang.Thread.run(Thread.java:856)




IP address changed for security, the user name and password are correct and present
not sure also where the  eeds.em.a    and eeds.ek.run   come from ?

any help greatly appreciated

Thanks in advance


--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to