Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in publish.sh script for plugin-x #136

Open
hamburml opened this issue Feb 14, 2015 · 2 comments
Open

Error in publish.sh script for plugin-x #136

hamburml opened this issue Feb 14, 2015 · 2 comments

Comments

@hamburml
Copy link

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?

@hamburml
Copy link
Author

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:

Now publish .

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

/cygdrive/c/Cocos/source/cocos2d-x-3.4/plugin/tools

Now publish iosiap

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

/cygdrive/c/Cocos/source/cocos2d-x-3.4/plugin/tools

@hamburml
Copy link
Author

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?

image

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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant