ayyshim / esewa_pnp

Unofficial esewa plugin for flutter application.
MIT License
40 stars 23 forks source link

Build failed on android: #40

Closed sagarshree closed 2 years ago

sagarshree commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Use Gradle version 4.1.3
  2. Use Flutter version 2.8
  3. Use esewa_pnp 1.1.0

Expected behavior Build fails(both debug and release) with exception:

**Execution failed for task ':esewa_pnp:bundleReleaseAar'.

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 :esewa_pnp project caused this error: /Users/sagarshree/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/esewa_pnp-1.1.0/android/libs/eSewaSdk.aar**

ayyshim commented 2 years ago

Downgrade your gradle version to 3.5.0

sagarshree commented 2 years ago

ok