Change package name for Android in React Native

后端 未结 20 1811
鱼传尺愫
鱼传尺愫 2020-11-30 16:13

I used react-native init MyApp to initialise a new React Native app. This created among others an Android project with the package com.myapp.

20条回答
  •  天命终不由人
    2020-11-30 16:56

    Goto Android studio

    Right click your package (most probably com)-> Refractor -> Rename -> Enter new package name in the dialog -> Do Refractor

    It will rename your package name everywhere.

提交回复
热议问题