hoanglm4 / flutter_hl_vnpay

MIT License
8 stars 11 forks source link

Lỗi này là sao nhỉ, ko build dk file aar, mình dùng flutter 2.2.3, dart 2.13.4 #2

Closed liquid8796 closed 2 years ago

liquid8796 commented 3 years ago

Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error). The following direct local .aar file dependencies of the :flutter_hl_vnpay project caused this error: C:\src\flutter.pub-cache\hosted\pub.dartlang.org\flutter_hl_vnpay-2.0.0\android\libs\Sdk-release1.17_live.aar

thongvo109 commented 2 years ago

mình cũng gặp lỗi này

thongvo109 commented 2 years ago

Đã fix được lỗi này. Tạm thời git clone repo về rồi chỉnh dưới hình là được @liquid8796
fixerrorandroid

@hoanglm4 hy vọng bác có thể update lại để mọi người có thể sự dụng. Cảm ơn bác nhiều

liquid8796 commented 2 years ago

@thongvo109 ok mình cũng đã fix dk lỗi này r, nhưng mình fix cách khác, đó là edit lại minSdkVersion 20 trở lên là đk

thongvo109 commented 2 years ago

@liquid8796 lúc zalopay mình cũng bị mà chưa fix được cũng nâng minSdk như bác như bất thành nên đã sử dụng native luôn. Nhưng xài lib này lại 1 lần nữa nên mới tìm cách fix triệt để.

liquid8796 commented 2 years ago

@thongvo109 mà lib vnpay của ông này ko có function bắt returnUrl để xử lí, làm mình phải dùng lib của web view kết hợp vs thuật toán của ổng để xuất ra url request

thongvo109 commented 2 years ago

@liquid8796 bác có thể cho mình xin contact được không mình cũng chuẩn bị làm cái này tiện trao đổi vài thứ.