I’m not able to submit my APK n to the play store in order to proceed with IAP development. Getting error: “You uploaded an APK that was signed in debug mode. You need to sign your APK in release mode”.
The solution is to build a release mode version with signed release
Setting up non debug
I’ve unchecked the development build box:
File-> Build Settings
uncheck the development build box
I went to my visual studio project settings and had it compile in release mode
Signing the APK in release mode
Click File → Build Settings ->Player Settings
System displays player settings in inspector
Select Create new key Store
a. Enter keystore password
b. Confirm keystore password
Select Create New key from Key/Alias Dropdown
alias: Test
Password: helloworld
Confirm: helloworld
First and last name: john doe
Organizational unit: development
Organization: MyOrganization
City: MyCity
State: CA
Country: US
Hit create key
I then go back to the Build settings interface and hit buld.
minutes later, I try to submit and it gives me the same error.
Once the key is created you have to select it (it’s not selected by default). In the same place (publishing settings) make sure Key Alias is set to “Test” instead of “Unsigned (debug)” and also enter the key password in the password field (in your example it should be helloworld).
Make sure you have your keysore and key selected as well as both passwords are entered. When building make sure you don’t get any errors and that the application is build successfully. This should work and we are not aware of any issues related to this.
I’m seeing the same issue. I was able to submit an apk to the google store using 2019.2.x. I updated to 2019.3 and now I’m seeing this message. The app that is already in the Google store uses the current certificate so it doesn’t seem likely that the certificate is the problem. I had turned on the “Debug” setting C++ compiler configuration, but that has been returned to “Release”. Also the main build settings does not have “Development Build” checked. I don’t know where else “Debug” could be defined.
A little stuck doing a simple process.
Addendum: Android manifest included android:debuggable="true"
I had not been manually editing the Manifest, so I bet it snuck in when I temporarily changed the app to debug and didn’t get removed afterward.