How to connect app Android with amf web services?

2019-07-30 16:37发布

问题:

I want to write and read to web service AMF. I tried import flex-messaging-core.jar and flex-messaging-common.jar but Eclipse give me the next error:

Eclipse: (Android 2.2)
...... Error generating final archive: Found duplicate file for APK: flex/messaging/version.properties
Origin 1: ......\android\flex-messaging-core.jar
Origin 2: ......\android\flex-messaging-common.jar

回答1:

As per the Adobe site you need to use flex-messaging-client-android.jar. Once I started using that file instead of the separate includes it worked fine.