I solved this by searching the entire project for instances of the old project name using ripgrep and replacing the string in some places (do not try to list the lines of the lines). To change the name of the application, you must edit at least 4 files.
android/app/src/main/AndroidManifest.xmlandroid/app/src/main/PATH/TO/JAVA/FILES/MainActivity.javaandroid/app/src/main/PATH/TO/JAVA/FILES/MainApplication.java/android/app/build.gradle
for example, in /android/app/build.gradle
android {
buildToolsVersion "23.0.1"
defaultConfig {
applicationId "com.[change name]"
minSdkVersion 16
targetSdkVersion 22
versionCode 2
/android/app/src/main/AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.[change name]">
/android/app/src/main/java/com/contactspro/MainActivity.java
package com.[change name];
source
share