Open hamburml opened 9 years ago
Yeah, I was able to edit environment.sh which is located here cocos2d-x-3.4\plugin\tools\toolsForPublish to change the paths. Now it's working (more or less).
Some plugins are getting published, some don't.
a) I need to install cygwin make package - Can you check if this package is installed and give appropriate error message?
b) Look at following error:
target dir is /cygdrive/c/Cocos/source/cocos2d-x-3.4/plugin/publish/plugins/. android project dir is /cygdrive/c/Cocos/source/cocos2d-x-3.4/plugin/plugins/./proj.android
Publish plugin for android ./toolsForPublish/publishPlugin.sh: Zeile 49: pushd: /cygdrive/c/Cocos/source/cocos2d-x-3.4/plugin/plugins/./proj.android: No such file or directory Buildfile: build.xml does not exist! Build failed Buildfile: build.xml does not exist! Build failed cp: der Aufruf von stat für „/cygdrive/c/Cocos/source/cocos2d-x-3.4/plugin/plugins/./proj.android/bin/*.jar“ ist nicht möglich: No such file or directory
target dir is /cygdrive/c/Cocos/source/cocos2d-x-3.4/plugin/publish/plugins/iosiap android project dir is /cygdrive/c/Cocos/source/cocos2d-x-3.4/plugin/plugins/iosiap/proj.android
Publish plugin for android ./toolsForPublish/publishPlugin.sh: Zeile 49: pushd: /cygdrive/c/Cocos/source/cocos2d-x-3.4/plugin/plugins/iosiap/proj.android: No such file or directory Buildfile: build.xml does not exist! Build failed Buildfile: build.xml does not exist! Build failed cp: der Aufruf von stat für „/cygdrive/c/Cocos/source/cocos2d-x-3.4/plugin/plugins/iosiap/proj.android/bin/*.jar“ ist nicht möglich: No such file or directory
Nevertheless, I am going on and tried gameDevGuide.sh on my project. I was wondering, because the plugin-x integration guide gui shows everything checked?
That's not the case because when you click on finish, the gui shows "at least select one plugin". Either that's a windows gui error or the checkboxes are set to disabled and not set/unset.
After checking admob I get the error that permission is denied on /plugins/admob/android/ForManifest.xml. Looks like the files are all created with wrong permissions (I can't read the files, need to set the permissions as administrator.)
Hi!
Another Issue for plugin-x from me ^^ Using: Windows 8.1 x64 with cygwin After ./publish.sh I need to paste the directories for android sdk ndk and ant.
After the script is creating the plugins for everything it shows this error:
./toolsForPublish/publishPlugin.sh: Zeile 73: /cygdrive/c/cocos/tools/ant/ant: No such file or directory ./toolsForPublish/publishPlugin.sh: Zeile 74: /cygdrive/c/cocos/tools/ant/ant: No such file or directory
It adds /ant to the path I set for ant-files. That's wrong? And how can I reset the ant-path?