Skip to content

Fix Windows build compatibility#664

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

Fix Windows build compatibility#664
ispointer wants to merge 3 commits intoJingMatrix:masterfrom
ispointer:master

Conversation

@ispointer
Copy link
Copy Markdown

Screenshot 2026-04-14 041538 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

@JingMatrix
Copy link
Copy Markdown
Owner

Please avoid reformatting the file, which is distracting for reviews.

@ispointer ispointer closed this by deleting the head repository Apr 14, 2026
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.

2 participants