JavaEar 专注于收集分享传播有价值的技术资料


  1. From react-native documentation

    Note that --variant=release is only available if you've set up signing as described above.

    Verify whether you have followed the steps mentioned in the documentation properly.

  2. 参考答案2
  3. For your second issue, try this if you are using Windows:

    cd android && gradlew assembleRelease