Created
April 10, 2021 08:46
-
-
Save tawhidulIKhan/89f13b24854cde5afc91d273eb521671 to your computer and use it in GitHub Desktop.
Created with Copy to Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I've renamed the project' subfolder from: "android/app/src/main/java/MY/APP/OLD_ID/" to: "android/app/src/main/java/MY/APP/NEW_ID/" | |
Then manually switched the old and new package ids: | |
In: android/app/src/main/java/MY/APP/NEW_ID/MainActivity.java: | |
package MY.APP.NEW_ID; | |
In android/app/src/main/java/MY/APP/NEW_ID/MainApplication.java: | |
package MY.APP.NEW_ID; | |
In android/app/src/main/AndroidManifest.xml: | |
package="MY.APP.NEW_ID" | |
And in android/app/build.gradle: | |
applicationId "MY.APP.NEW_ID" | |
In android/app/BUCK: | |
android_build_config( | |
package="MY.APP.NEW_ID" | |
) | |
android_resource( | |
package="MY.APP.NEW_ID" | |
) | |
Gradle' cleaning in the end (in /android folder): | |
./gradlew clean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment