Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ohNet/ohNetGen conflicts
04-09-2015, 03:02 PM (This post was last modified: 04-09-2015 03:04 PM by arochervj.)
Post: #1
ohNet/ohNetGen conflicts
Still in my quest for an android receiver, I begin to include providers from ohNetGen,
but some classes are in both ohNet and ohNetGen.

Code:
org/openhome/net/controlpoint/proxies/SyncGetCurrentConnectionInfoUpnpOrgConnectionManager1;
org/openhome/net/controlpoint/proxies/SyncSetBoolOpenhomeOrgTestBasic1;
org/openhome/net/controlpoint/proxies/ICpProxyOpenhomeOrgTestBasic1;
org/openhome/net/controlpoint/proxies/SyncEchoAllowedValueStringOpenhomeOrgTestBasic1;
org/openhome/net/controlpoint/proxies/ICpProxyUpnpOrgConnectionManager1;
org/openhome/net/controlpoint/proxies/CpProxyOpenhomeOrgTestBasic1$3;
org/openhome/net/controlpoint/proxies/SyncConnectionCompleteUpnpOrgConnectionManager1;
org/openhome/net/controlpoint/proxies/CpProxyUpnpOrgConnectionManager1$GetCurrentConnectionInfo;
org/openhome/net/controlpoint/proxies/SyncSetStringOpenhomeOrgTestBasic1;

inducing the following error.

Code:
com.android.dex.DexException: Multiple dex files define Lorg/openhome/net/controlpoint/proxies/CpProxyOpenhomeOrgTestBasic1$1;

I really don't know how to debug this.

If it can help, the gradle build file.

Thanks
Find all posts by this user
Quote this message in a reply
08-09-2015, 04:22 PM
Post: #2
RE: ohNet/ohNetGen conflicts
(04-09-2015 03:02 PM)arochervj Wrote:  Still in my quest for an android receiver, I begin to include providers from ohNetGen,
but some classes are in both ohNet and ohNetGen.

Any proxies or providers created by ohNet are intended for internal testing only. A full set of proxies and providers is provided by ohNetGenerated.

Is it possible for you to ignore the proxies from ohNet and use the ones from ohNetGenerated only?
Find all posts by this user
Quote this message in a reply
15-09-2015, 11:31 AM
Post: #3
RE: ohNet/ohNetGen conflicts
I've been trying to exclude these classes from ohNet, I couldn't figure this out.

On last attempt, I deleted them from ohNet.jar and I finally pass this error.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: