how to load android native extensions by using local path on defold engine
hello , i just want to implement android native extension , writing android code and build to native extension. i follow this link: https://github.com/defold/extender, but it`s to complex , i just want to write a android native extension used local path , how can i get a android native extension fast and write native code , thanks.
Hello! First of all I recommend to go through that manual https://defold.com/manuals/extensions/.
No need to setup Extender build server locally, you can use one of public build servers (https://build.defold.com or https://build-stage.defold.com).
Hello! First of all I recommend to go through that manual https://defold.com/manuals/extensions/.
No need to setup Extender build server locally, you can use one of public build servers (https://build.defold.com or https://build-stage.defold.com).
thanks for reply , I had been writed native extensions and import to my project. the project structure like this pic. the problem was occured started in main.script(lua code) . it is ok to lua call native extension code. but when i run c++ code, the project was crashed, and error message tell me window_object is null. I'm a bit puzzled.
but when i run c++ code, the project was crashed, and error message tell me window_object is null. I'm a bit puzzled.
You need to share some of your extension code so that we can try to figure out what goes wrong.