[PlatformANEs]更新支付宝ANE(for IOS for android)

一直就有朋友问我手上有没支付宝的ANE,假期末几天有点空余,于是就update了….

支付宝本身提供了内支付的SDK,只是相比于其他的SDK支付更加简明而要

没有悬浮等一大堆干扰游戏的玩意儿,接支付宝SDK真是一个明智的选择.

PS:写的ANE for IOS 并不多,目前不太确定是否有问题.若要用还是需要根据自身情况而改动.

(可任意转载传播 但请注明出处)

2013-10-5

  • 更新支付宝无线支付ANE
  • for IOS   支持IOS端(ios 6以上 )
  • for android 支持android端(android 2.2以上)
  • 支付宝(Alipay)SDK下载地址:传送门
  • 项目:platformANE
  • Github地址:传送门

《[PlatformANEs]更新支付宝ANE(for IOS for android)》有8个想法

  1. 下载了示例,在FLASH CS6中使用com.alipay.ane,发布时提示“应用程序描述符文件中命名空间无效“,

  2. 你好,我直接下载下载IOS的编译就会出错,方便指导下不,谢谢。
    错误内容如下:

    Libtool /Users/Xindebug/Library/Developer/Xcode/DerivedData/AlipayANE-hfnnokxfrtcwtfeirccbqfrdvjam/Build/Products/Debug-iphoneos/libAlipayANE.a normal armv7
    cd /Users/Xindebug/Workspace/xcode/AlipayANE
    setenv IPHONEOS_DEPLOYMENT_TARGET 7.0
    setenv PATH “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin”
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only armv7 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -L/Users/Xindebug/Library/Developer/Xcode/DerivedData/AlipayANE-hfnnokxfrtcwtfeirccbqfrdvjam/Build/Products/Debug-iphoneos -L/Users/kkfun/rect/ANE/aliapy/AlipayANE/alipay -filelist /Users/Xindebug/Library/Developer/Xcode/DerivedData/AlipayANE-hfnnokxfrtcwtfeirccbqfrdvjam/Build/Intermediates/AlipayANE.build/Debug-iphoneos/AlipayANE.build/Objects-normal/armv7/AlipayANE.LinkFileList -ObjC /Users/Xindebug/Workspace/xcode/AlipayANE/alipay/AlixPaylib.a -lssl -framework CoreMedia -framework Security -framework CoreFoundation -framework CoreLocation -framework MobileCoreServices -framework CoreVideo -framework CFNetwork -framework UIKit -framework CoreGraphics -framework OpenGLES -lcrypto /Users/Xindebug/Workspace/xcode/AlipayANE/alipay/AlipayRsaLib.a -framework AudioToolbox -framework SystemConfiguration -framework Foundation -framework AVFoundation -framework QuartzCore -o /Users/Xindebug/Library/Developer/Xcode/DerivedData/AlipayANE-hfnnokxfrtcwtfeirccbqfrdvjam/Build/Products/Debug-iphoneos/libAlipayANE.a

    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: -dynamic not specified the following flags are invalid: -ObjC
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can’t locate file for: -lssl
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -lssl is not an object file (not allowed in a library)
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can’t locate file for: -lcrypto
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -lcrypto is not an object file (not allowed in a library)
    Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool failed with exit code 1

  3. 想請教Rect哥 如果是用FLASH開發 該如何加入並使用支付寶的ANE呢?

发表评论

邮箱地址不会被公开。 必填项已用*标注