-
Notifications
You must be signed in to change notification settings - Fork 18
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
[Android build] Abort on errors make all scripts to fail #9
Comments
That is by design. Rerunning is only supported after using the clean up script |
Okay, but where is this clean up script? |
Hmmmm. At the end of Script 2. https://github.com/EasyRPG/buildscripts/blob/master/3ds/3_cleanup.sh |
Yeah, this will be refactored anyway. Also, you do not need to run the library script anyway if you have a working toolchain. |
Do you mean that the current buildscript isn't updated? You sometimes needs to run again the scripts, for example when you want to update the Player, but I think I will stop to do that ^^". |
If you would tell me what fails exactly, I could provide a quick solution... |
I provided you an information (eg a specific script didn't worked), but you didn't (in this case, telling me if scripts are updated, to know if it worthfull to spend some time to know from where the problem came). In this case, I was rebuilding all the thing, redirecting the error output to make it more easy to read for you... Nevermind. |
I assume it is too much to copy over the terminal output of the script that fails so badly? |
Did you just read my message? I hate to act like a drama queen but this is not the first time you post those kind of ironic messages and it become annoying when it's related to a buildscript that I fixed or help to fix several times to work on the project. |
Well, ok. I will stop being ironic, if you give any meaningful hint where and what fails exactly. Honestly, if you not provide any more information, nobody can help you. |
Thank you Carstene1ns for your answer. I understand the idea of the new paradigm (build just one time) and I agree with it. To answer to the question « why recompiling everything » : I’m currently trying to resolve a problem in the Android port with the Preferences refactoring. The curious thing is that the IDE compiler complained about not being able to resolve JNI function endGame( ) : Even weirded : it does the same thing for toggleFPS, but the function works well in game. This is why in needed to rebuild the build chains : to know if the problem comes from it or not. Now, here are the outputs of the execution of 3_* and 4* : If someone wants the output of the first and second script, I can upload it (~5mo each one, not suitable for pastie). |
Okay, this seems like a problem with your homebrew install (Homebrew/legacy-homebrew#43874), gnu sed is not found. About |
Thank you for the instructions, I will execute them tomorrow. |
Mixed mode debugging is awful in android, Inever got this to work. Last time I had to debug on android i used the commandline gdb. Maybe android studio makes it less awful. The jni functions are declared here: https://github.com/EasyRPG/Player/blob/master/builds/android/app/src/main/jni/src/org_easyrpg_player_player_EasyRpgPlayerActivity.cpp |
Firstly, thank you for the hint about brew. It seemed that my brew configuration has been broken at many levels after an update. Here is a link with a file containing the ouput : |
The error you are hitting now is an oversight from our side, I intend to fix it in #10. |
Okay, thank you. |
Someone put thoses lines on every files related to Android building:
It breaks all the building script : if just one line return a non success code, it ends. A lot of line return a non success code if the script is used a second time.
The text was updated successfully, but these errors were encountered: