The post will show you how to resolve the upload problem of a a new apk file to Android Play store.
Android studio released multiple updates last year and more to come this year. Because of those updates you need to follow the instructions to migrate your existing products and signing process from the official release which can be found here
In order to avoid the upload failure to previous ongoing projects you need to do the following steps:
- Open your AndroidManifest.xml
- Find the application tag and insert inside as below
That will solve your problem.
For Gradle-based projects, the signing configuration should be specified in the Gradle build scripts. Configure your signing configurations as described in the user guide: http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Signing-Configurations
Then, run “gradle assembleRelease”, and you will find your APK in the build/apk/ directory.