语言

Menu
Sites
Language
Different build flavours for testing and production?

I’m developing a Tizen Native API App using Tizen Studio. How can I configure the build system to generate two different flavours of the same project, one for Testing and one for Production?

In the end I’d like to get two different binaries:

  • org.example.myapp-testing-1.0.19-arm.tpk
  • org.example.myapp-1.0.19-arm.tpk

In the code I would need some way to change certain strings depending on the currently active flavour.

I’ve played around with the Tizen build variables but I was not able to use them in the manifest file or in code.

How is this correctly done in Tizen Studio?