gpt4 book ai didi

android - 制作 Android 应用程序时在 Visual Studio 中引用错误

转载 作者:行者123 更新时间:2023-11-30 05:08:30 25 4
gpt4 key购买 nike

这里是写的错误

/Library/Frameworks/Mono.framework/Versions/5.16.0/lib/mono/xbuild/Microsoft/NuGet/Microsoft.NuGet.targets(5,5): Error: Your project is not referencing the "MonoAndroid,Version=v9.0" framework. Add a reference to "MonoAndroid,Version=v9.0" in the "frameworks" section of your project.json, and then re-run NuGet restore. (HTherapy)

最佳答案

在解决方案文件夹中查找 package.json 文件并确保其中的框架版本正确。

例如:

{
"supports": {},
"dependencies": {
},
"frameworks": {
"MonoAndroid,Version=v9.0": {}
}
}

关于android - 制作 Android 应用程序时在 Visual Studio 中引用错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54110787/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com