espresso3389/pdfrx

Relase throw exception,pdfrx:configureCMakeRelWithDebInfo[armeabi-v7a]

Closed this issue · 1 comments

I get a exception when build apk, I dont' know how to do ,can you help me

PS D:\MyProject\esop> flutter build apk --no-tree-shake-icons
Flutter assets will be downloaded from https://mirrors.tuna.tsinghua.edu.cn/flutter. Make sure you trust this source!
* What went wrong:
Execution failed for task ':pdfrx:configureCMakeRelWithDebInfo[armeabi-v7a]'.
> java.nio.file.FileSystemException: C:\Users\liuba\AppData\Local\Pub\Cache\hosted\mirrors.tuna.tsinghua.edu.cn%47dart-pub%47\pdfrx-1.0.58\android\.cxx\RelWithDebInfo\3056a3dp\armeabi-v7a\pdfium\chromium%2F6259\pdfium-android-arm.tgz: ��һ����������ʹ�ô��ļ��������޷����ʡ�

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2s
Running Gradle task 'assembleRelease'...                            3.3s
Gradle task assembleRelease failed with exit code 1

my flutter doctor is blow

PS D:\MyProject\esop> flutter doctor
Flutter assets will be downloaded from https://mirrors.tuna.tsinghua.edu.cn/flutter. Make sure you trust this source!
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.19.2, on Microsoft Windows [版本 10.0.26100.1], locale zh-CN)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.9.6)
[√] Android Studio (version 2023.1)
[√] VS Code (version 1.88.1)
[√] Connected device (4 available)
[√] Network resources

• No issues found!

I'm not sure but

java.nio.file.FileSystemException: C:\Users\liuba\AppData\Local\Pub\Cache\hosted\mirrors.tuna.tsinghua.edu.cn%47dart-pub%47\pdfrx-1.0.58\android.cxx\RelWithDebInfo\3056a3dp\armeabi-v7a\pdfium\chromium%2F6259\pdfium-android-arm.tgz: ��һ����������ʹ�ô��ļ��������޷����ʡ�

This implies that the archive is downloaded from mirrors.tuna.tsinghua.edu.cn/dart-pub/pdfrx-1.0.58/... but at least I could not access there.

And https://mirrors.tuna.tsinghua.edu.cn/dart-pub/packages/ seems have the actual packages (though I could not access them anyway).

Please confirm the archive is correctly downloaded.