I want to use 2 productFlavors for my Android App: live and staging.
productFlavors
live
staging
In app/build.grandle I defined them like this: <
app/build.grandle
Cause you change the applicationId in the productFlavors, react-native-cli can't recognize it. To fix, just add your changed appId when run start command
react-native-cli
react-native run-android --variant=staging --appId com.some.id.staging