Skip to content

Fix Windows build Error#665

Closed
ispointer wants to merge 2 commits intoJingMatrix:masterfrom
ispointer:master
Closed

Fix Windows build Error#665
ispointer wants to merge 2 commits intoJingMatrix:masterfrom
ispointer:master

Conversation

@ispointer
Copy link
Copy Markdown

This update fixes a build error I faced while compiling the project in Android Studio on Windows. The VERSION_NAME and INJECTED_PACKAGE_NAME macros were being treated as integers which caused a type mismatch error. I used a stringification macro to fix this and converted the string types back to const char* to make sure they are null-terminated for JNI safety as you suggested. This ensures the project builds correctly on both Windows and Android environments. I have also attached the error screenshot for your reference.
Screenshot 2026-04-14 041538

@ispointer ispointer closed this Apr 14, 2026
@ispointer
Copy link
Copy Markdown
Author

.

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

Successfully merging this pull request may close these issues.

1 participant