azhar1038 / UPI-Plugin-Flutter

Flutter Plugin to do UPI transaction using different apps like PhonePe, Google Pay, PayTM etc.
MIT License
53 stars 38 forks source link

Missing 'package' key attribute on element package at AndroidManifest.xml:10:5-54 #40

Closed Stinox22 closed 3 years ago

Stinox22 commented 3 years ago

I'm facing this issue on v3.0.1

C:\flutter-sdk\flutter\.pub-cache\hosted\pub.dartlang.org\upi_india-3.0.1\android\src\main\AndroidManifest.xml:10:5-54 Error: Missing 'package' key attribute on element package at AndroidManifest.xml:10:5-54

Can you tell me whats going wrong? Its urgent and I'm not able to make a build.

azhar1038 commented 3 years ago

You need to upgrade your Android Gradle plugin 4.1+ This is due to new privacy policy of package visibility for Android 11+ Check this for more information

Thanks for bringing this to my attention. I will update the readme.