Skip to content

How i can compile both android\ios and pc? #18014

Answered by NiklasEi
mrAndersen asked this question in Q&A
Discussion options

You must be logged in to vote

This is generally possible, but you will have to be careful about features that only work on some platforms. The error you posted sounds like you need to enable the dynamic linking feature only from the client project and not from the client_android/client_common projects.

You can take a look at how NiklasEi/bevy_game_template is organized. It supports mobile and desktop platforms with a shared library.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mrAndersen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants