我在构建移动/android flutter 应用程序时遇到这个问题,请帮忙:
[ +271 ms] > Configure project :firebase_core
[ ] Evaluating project ':firebase_core' using build file 'C:\Users\kelsey\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_core-2.4.0\android\build.gradle'.
[ ] Using default execution profile
[ ] Could not execute [class org.jetbrains.kotlin.gradle.plugin.statistics.KotlinBuildStatHandler.buildFinished]
[ +2 ms] FAILURE: Build failed with an exception.
[ +3 ms] * What went wrong:
[ ] A problem occurred configuring project ':firebase_core'.
[ +1 ms] > com.android.builder.errors.EvalIssueException: defaultConfig contains custom BuildConfig fields, but the feature is disabled.
[ +1 ms] * Try:
[ +4 ms] > …Run Code Online (Sandbox Code Playgroud) 我正在尝试使用DinkToPdf库从 HTML SQL 服务器数据库生成 PDF 。
在我添加的启动文件中:
var context = new CustomAssemblyLoadContext();
context.LoadUnmanagedLibrary(Path.Combine(Directory.GetCurrentDirectory(), "libwkhtmltox.dll"));
Run Code Online (Sandbox Code Playgroud)
该行在启动网络应用程序时给了我这个错误:
DllNotFoundException:无法加载 DLL 'C:\Program Files\IIS Express\libwkhtmltox.dll' 或其依赖项之一:找不到指定的模块。(来自 HRESULT 的异常:0x8007007E)
System.Runtime.Loader.AssemblyLoadContext.InternalLoadUnmanagedDllFromPath(string unmanagedDllPath)
DllNotFoundException:无法加载 DLL 'C:\Program Files\IIS Express\libwkhtmltox.dll' 或其依赖项之一:找不到指定的模块。(来自 HRESULT 的异常:0x8007007E)
Cloud Functions模拟器需要安装模块“ firebase-admin”。该程序包在您的package.json中,但不可用。您可能需要在功能目录中运行“ npm install”。
在遇到该问题之前,我的项目运行得很好。任何帮助,请告诉。谢谢。{下面是我所得到的图像}
node.js firebase firebase-tools google-cloud-functions firebase-admin
.net-core ×1
android ×1
c# ×1
dinktopdf ×1
firebase ×1
flutter ×1
html-to-pdf ×1
node.js ×1
wkhtmltopdf ×1