I had the same error after renaming/refactoring. What I did was add the `applicationId` property attribute to my `build.gradle` file, and set its value to the application package.
In **build.gradle:**
android {
defaultConfig {
applicationId "com.example.myapp"
}
}
I had the same error after renaming/refactoring. What I did was add the `applicationId` property attribute to my build.gradle file, and set its value to the application package.
In **build.gradle**:
android {
defaultConfig {
applicationId "com.example.myapp"
}
}