Hi! I use cocos2d-x(C++) in Ubuntu.
What can I used for In-App Purchase for google play?
Can I use SDKBOX?
Hi! I use cocos2d-x(C++) in Ubuntu.
What can I used for In-App Purchase for google play?
Can I use SDKBOX?
SDKbox doesn’t work on Linux. You would need to implement it with Google SDKs. For purchasing I’m not sure what the Ubuntu store has for functionality.
yes, I think you can use SDKBox on platform which you can develop android app.
python -c """import urllib; s = urllib.urlopen('https://raw.githubusercontent.com/sdkbox-doc/en/master/install/install.py').read(); exec(s)"""
cd MyGame
sdkbox import iap
http://docs.sdkbox.com/en/installer/
Thanks,
I read it that he was developing Linux games. But good point he is probably developing for Android on Linux.
Yes. You are right. I’m developing for Android on Linux.
Thank you. I’ll try SDKBOX.
PATH need to be modified?
open another terminal or source ~/.bash_profile
.
sdkbox
is at:
~/.sdkbox/bin/sdkbox
Thanks,
Thank you! It’s realy help me! But I got error.
#FATAL: Failed to find source file /home/chelovek/.sdkbox/plugins/sdkbox-iap_v2.4.1.1/plugin/android/jni/pluginiap
Installation failed
How can I get pluginiap?
I’ve already tried to change directory from PluginIAP into pluginiap, I got new fail.
WARNING <<<
Some installation steps failed.
Please refer to the online documentation, for instructions on how to complete the installation manually.
Installation completed with errors
There is my /home/chelovek/.sdkbox/plugins/sdkbox-iap_v2.4.1.1/plugin/android/jni/ directory.
you file system is case-sensitive, and sdkbox
should take care this case.
have you change cocos2d-x engine ?
I think I need a ubuntu to test this issue.
I did’t change cocos2d-x engine.
Will I wait your test? Or I must search another way?
This manual doesn’t work for me. I have other path and other files on my system.
Nobody like Linux.
This is platform independent manual, but you should have Android/iOS development skills for this.
This manual tell me
Copy the following jar files from plugin/android/libs
folder of this bundle into your project’s /libs folder.
PluginGooglePlay.jar
PluginIAP.jar
sdkbox.jar
But I haven’t file PluginGooglePlay.jar
I must copy these files in
frameworks/cocos2d-x/cocos/platform/android/java/libs
frameworks/cocos2d-x/cocos/platform/android/libcocos2dx/libs
But I have’t libs directory in path frameworks/cocos2d-x/cocos/platform/android/libcocos2dx/
It too difficult for me.