小编Git*_*ura的帖子

配置项目“:firebase_core”时出现问题

我在构建移动/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)

android android-studio flutter

7
推荐指数
1
解决办法
6870
查看次数

DinkToPdf Net Core 无法加载 DLL 文件

我正在尝试使用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)

c# html-to-pdf wkhtmltopdf .net-core dinktopdf

5
推荐指数
3
解决办法
2万
查看次数

我在服务或部署Firebase托管功能时遇到问题

Cloud Functions模拟器需要安装模块“ firebase-admin”。该程序包在您的package.json中,但不可用。您可能需要在功能目录中运行“ npm install”。

在遇到该问题之前,我的项目运行得很好。任何帮助,请告诉。谢谢。{下面是我所得到的图像}

我在文件夹deletetest中创建了一个新项目,但最初失败。

node.js firebase firebase-tools google-cloud-functions firebase-admin

5
推荐指数
1
解决办法
469
查看次数