-1

iam trying to publish new version of the app using this plugin: 'com.github.triplet.play'

and when i ran gradlew app:publishApkRelease

i got this error message

  • What went wrong: Task 'publishApkRelease' not found in project ':app'. Some candidates are: 'publishApkTestRelease', 'publishApkTestRelease'.

i want to know what is the Different also how do i specify the description for this uploaded version ?

SUPERCILEX
  • 3,929
  • 4
  • 32
  • 61
Hossam Hassan
  • 795
  • 2
  • 13
  • 39

1 Answers1

0

Since you have product flavors. To find available tasks, run ./gradlew tasks and look under the publishing section.

./gradlew tasks

Here run the appropriate task for your product flavor.

Also try ./gradlew

./gradlew app:publishApkRelease

You are facing this issue as task "publishApkRelease" is not found at root project.

Refer this for more: https://github.com/Triple-T/gradle-play-publisher#task-organization

Also, if above doesn't work you can find a solution here https://github.com/Triple-T/gradle-play-publisher/issues/81

TheAnkush
  • 885
  • 7
  • 10