Solved

purchases 5.0.0 migration

  • 18 June 2023
  • 1 reply
  • 173 views

Badge +1

Hey everyone I’m running into an error after updating my purchases_flutter to 5.0.0 - heres what happens when I run “flutter run -v”

 

[  +96 ms] FAILURE: Build failed with an exception.
[   +1 ms] * What went wrong:
[        ] Execution failed for task ':purchases_flutter:processDebugManifest'.
[        ] > Failed to calculate the value of task ':purchases_flutter:processDebugManifest' property 'packageOverride'.
[        ]    > Failed to query the value of property 'applicationId'.
[        ]       > Package Name not found in /Users/<placeholder_folder_name>/.pub-cache/hosted/pub.dev/purchases_flutter-5.0.0/android/src/main/AndroidManifest.xml

Does anyone have any idea on how I can resolve this? Thanks!

icon

Best answer by averagejo 21 June 2023, 10:10

View original

1 reply

Badge +1

Solved my own issue :) - It seems after upgrading Gradle I no longer ran into the error above.

For those who run into this issue,  I upgraded Gradle to 7.0.1, i.e. 

android/build.gradle:

  • classpath "com.android.tools.build:gradle:7.0.1"

android/gradle/wrapper/gradle-wrapper.properties:

  • distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip

Reply