I am trying to publish an update of the app, for this I have taken into account the requirements that the version of the update is greater and that the name of the package is the same (these points are listed on the support page of < a href="https://support.google.com/googleplay/android-developer/answer/113476?hl=en_US"> Google play console ).
Regarding the latter, I am having problems, and the following message appears:
"The name of the APK package must be com.xxx.yyy."
However, as I have already indicated, the package is already this, both the one that appears in the manifest and the one that hosts the .java:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.xxx.yyy">
It should be noted that these packages were not called like this when I imported this project, but I have refactored them so that their names match those of the app packages that I uploaded at the time.
Is there a problem with that? Have I done something wrong? If the manifest already shows that the package is the one requested, why is the error?