Files are deleted after changing package name.
See original GitHub issueFiles are being deleted while changing the package name.
Like if my package name is:
com.example
and I want to change it with:
com.example.app
Then all the java files are deleted from the main directory.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
Rename package in Android Studio - Stack Overflow
Open your app build.gradle file and change the Application Id in defaultConfig to the same name as in manifest and rebuild the project....
Read more >How to rename package name in Android Studio - YouTube
We can rename using manifest file STEPS BY STEPS OF RENAMING USING PACKAGE NAME 1. Click on the gear icon on your project...
Read more >So, you've decided to change your r package name
Part 1: Changing the R package name. When you change your package name, here is a list of things you need to do....
Read more >Upload Process with the same Package Name, link to the ...
Hi, i have publish a Process with the Package Name ex. 'Test01_Project' with the version 1.0.1-alpha.4. After view rework, i set a complete ......
Read more >How to Rename Package Name in Android Studio?
Step 1: To rename package name in Android studio open your project in Android mode first as shown in the below image. Step...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had the same issue, the workaround i found was to manually create the folder structure in
android/app/src/main/java
and moveMainActivity.java
andMainApplication.java
there before running the command.In the example above you would have to create
android/app/src/main/java/com/my/app/bundle/name
, move you Java files there and then runnpx react-native-rename "App Name" -b "com.my.app.bundle.name"
Fixed in v2.6.0