You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
This is causing a regression, by which the native libs get into a wrong intermediate folder during build. Because of that, the APKs are not regenerated when the .so files change, leaving you with an outdated build.
The reason will be displayed to describe this comment to others. Learn more.
My proposal is dropping that jniLibs.srcDirs block altogether and force people to provide debug and release variants of their third-party libraries in the same fashion and locations as libgodot_android.so.
The reason will be displayed to describe this comment to others. Learn more.
@RandomShaper I didn't notice that. $$GRADLE_JNI_DIRS$$ has string like ,'path/lib1', 'path/lib2'
so it causes error while build.
would you make a PR with you proposal?
The reason will be displayed to describe this comment to others. Learn more.
@RandomShaper what about removing L68-L71?
will it be problem?
I compiled android template without these lines and seems fine. (updated .so)
what do you think?
The reason will be displayed to describe this comment to others. Learn more.
That should work.
And what I was telling about forcing to provide debug and release variants, forget it. Maybe in a future it may be useful to allow that, but currently it's not supported (and not requested, AFAIK).
be7ced4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is causing a regression, by which the native libs get into a wrong intermediate folder during build. Because of that, the APKs are not regenerated when the .so files change, leaving you with an outdated build.
What's the exact issue you were fixing?
be7ced4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My proposal is dropping that
jniLibs.srcDirs
block altogether and force people to provide debug and release variants of their third-party libraries in the same fashion and locations as libgodot_android.so.be7ced4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@RandomShaper I didn't notice that.
$$GRADLE_JNI_DIRS$$
has string like,'path/lib1', 'path/lib2'
so it causes error while build.
would you make a PR with you proposal?
be7ced4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@RandomShaper what about removing L68-L71?
will it be problem?
I compiled android template without these lines and seems fine. (updated .so)
what do you think?
be7ced4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That should work.
And what I was telling about forcing to provide debug and release variants, forget it. Maybe in a future it may be useful to allow that, but currently it's not supported (and not requested, AFAIK).