简体   繁体   English

Android Studio React Native

[英]Android Studio to React Native

I have one app published on Google play store which was developed in android studio but now I want to take my app from android studio to react native.我在 Google Play 商店上发布了一个应用程序,它是在 android 工作室开发的,但现在我想从 android 工作室拿我的应用程序来做出原生反应。

So can i publish my react native updated version to playstore (Not Android Studio Code)那么我可以将我的 react 本机更新版本发布到 playstore(不是 Android Studio 代码)

Is it possible?可能吗? If yes then how to publish app via custom android studio key and is there any issue with Google play store ore something like that via publish android studio to react native app.如果是,那么如何通过自定义 android 工作室密钥发布应用程序,以及通过发布 android 工作室对本机应用程序做出反应,Google Play 商店或类似的问题是否存在。

yes, please keep in mind package name should be same and version code and version name incremented by one from previous version.是的,请记住 package 名称应该相同,并且版本代码和版本名称从以前的版本增加一。

After Completed the app in react native you can change version code and version name in app/build.gradle file在 react native 中完成应用程序后,您可以在 app/build.gradle 文件中更改版本代码和版本名称

  defaultConfig {
    .....
    versionCode 1
    versionName "1.0"
    multiDexEnabled true
    ...
}

and package name can change from package.json and AndroidManifest file和 package 名称可以从 package.json 和 AndroidManifest 文件更改

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM