espresso3389 / pdfrx

pdfrx is yet another PDF viewer implementation that built on the top of PDFium. The plugin currently supports Android, iOS, Windows, macOS, Linux, and Web.
MIT License
101 stars 47 forks source link

Build failed due to A problem occurred configuring project ':pdfrx'. #227

Open Uvais-Mohammad opened 3 weeks ago

Uvais-Mohammad commented 3 weeks ago

When I am trying to create an android build, I am getting this issue.

`FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

2: Task failed with an exception.

BUILD FAILED in 2s Running Gradle task 'assembleDevRelease'... 2,710ms`

espresso3389 commented 3 weeks ago

Error message contains an important instruction to fix the issue:

To build this project, accept the SDK license agreements

All you have to do is;

flutter doctor --android-licenses
Uvais-Mohammad commented 2 weeks ago

@espresso3389 Everything is clear

 flutter doctor --android-licenses
/Users/aaa/Library/Android/sdk/cmdline-tools/latest/bin/sdkmanager: line 173: test: : integer expression expected
[=======================================] 100% Computing updates...             
All SDK package licenses accepted.
espresso3389 commented 2 weeks ago

So did you resolve the issue?

Uvais-Mohammad commented 2 weeks ago

@espresso3389 flutter doctor --android-licenses didn't resolved the issue. But this error does not seems due to pdfrx. The reason I posted here is that error contains something related to pdfrx.I was using vscode. So I opened the android folder through android studio and took build through there. There was no any issues.

espresso3389 commented 2 weeks ago

So what is the exact error you encounter now? Same error?