-
I have successfully 'ported' my app from Cocos2d-x 3.x to Axmol. It was truly a delight to work with a refreshed framework :) I am facing a problem in Android Studio. After compiling and running my app, I added build variants to get different versions of the app (targeting different people in different regions). I am able to compile the apk. However, the axslc assets are not getting copied into the package. In other words, the first part of the Gradle script Before adding the variants, both parts run without any issues. I'm not a Gradle expert. Appreciate any pointers on where I should look for solutions. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
How did you set up the variants? Are you able to provide a sample project with a similar variants/flavors set-up that reproduces the issue? |
Beta Was this translation helpful? Give feedback.
At the end of the
app/build.gradle
file, look for this section:You may need to update that section with your required variants. For example, if your variant is named "custom":