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
Sorry for my bad English.
I run into a problem when I using this tookit. When my project is packed,I can run it perfectly on my own device. But when my partner install the app built on my device, he cannot run it correctly. I have read the source code, it seems like the java_home dir from my device is hard coded into the output lib. How can I make the java_home dynamic reading from the user's device?
The text was updated successfully, but these errors were encountered:
I had the same problem.
When compiling a C++ module, JAVA_HOME is set and it seems that it cannot be changed after that.
So before compiling, I copied Java to the installation location and set the JAVA_HOME environment variable
Since MacOS is installed in the application folder, I set it up as follows.
Sorry for my bad English.
![20240726152415286](https://private-user-images.githubusercontent.com/7019639/352438055-65e882c0-edfc-468d-900b-3ae022fba2c1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk3MDM0NTYsIm5iZiI6MTczOTcwMzE1NiwicGF0aCI6Ii83MDE5NjM5LzM1MjQzODA1NS02NWU4ODJjMC1lZGZjLTQ2OGQtOTAwYi0zYWUwMjJmYmEyYzEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTZUMTA1MjM2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NGJiMmE0ZmQ0YjUxMGU3YTZiZjMxZDM2NDM5YmI5ZWViNzg3OGNmYjgwZWRkNDRjNmJjN2MxYjJlOWJkNGVkYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.C5ktzy3iKdq-4mHcAzs4srHCK3cUH1mztekm5Moli9o)
I run into a problem when I using this tookit. When my project is packed,I can run it perfectly on my own device. But when my partner install the app built on my device, he cannot run it correctly. I have read the source code, it seems like the java_home dir from my device is hard coded into the output lib. How can I make the java_home dynamic reading from the user's device?
The text was updated successfully, but these errors were encountered: