Skip to main content
Solved

purchases 5.0.0 migration

  • 18 June 2023
  • 1 reply
  • 185 views

Forum|alt.badge.img+2

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!

Best answer by averagejo

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
    
View original
Did this post help you find an answer to your question?

1 reply

Forum|alt.badge.img+2
  • Author
  • Helper
  • 3 replies
  • Answer
  • June 21, 2023

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings