App Center shows no build variants for React Native Android

痴心易碎 提交于 2019-12-08 03:31:30

问题


I am trying to set up a build for a React Native app on App Center. I have linked the app to the Azure Devops Repository, and selected the branch and attempted to create a build.

However, when I try to create the build, it finds the package.json but does not find any build variants:

I have confirmed that it is finding the package.json for the app (I remove it and it complains). I know that the build variants come from the build types in the build.gradle, which has a release variant in it.

I've googled the heck out of this and burned two evenings on it. I have another project that builds just fine, and I cannot see the difference between them.

Why is AppCenter not able to pick up the build variants? How do I configure them?

来源:https://stackoverflow.com/questions/56570961/app-center-shows-no-build-variants-for-react-native-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!