如何解决当我尝试在 Visual Studio 上将 Framework 升级到 Android 10.0 Q 时,有没有办法修复错误:AMM0000
我正在尝试使用 Visual Studio /mac/ 升级该应用以在 android 10 上运行。
从 SDK Manager -> 我下载 Android SDK Platform29。 从项目选项的属性中,我将框架从 9.0 Pie 更改为 10Q
因此,当我尝试构建应用程序时,我收到以下错误:
structure(list(ID = c("aaa","bbb","ccc","ddd","eee","fff"
),Food = c(NA,NA,"fruit",NA),vegetable = c(NA,"lemon","sprout","watermelon")),class = "data.frame",row.names = c(NA,-6L))
Т其他连续错误是:
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(3,3):
Error AMM0000: /Users/../obj/Debug/AndroidManifest.xml:24:18-86
Error: (AMM0000) (appName)
每个错误都会在这部分代码的一些 xamarin.android.common.targets 文件中发送给我:
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(3,3):
Error AMM0000: Attribute application@appComponentFactory
value=(androidx.core.app.CoreComponentFactory)
from AndroidManifest.xml:24:18-86 (AMM0000) (WeatherApp.Android)
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(3,3):
Error AMM0000: is also present at AndroidManifest.xml:22:18-91 value=(android.support.v4.app.CoreComponentFactory). (AMM0000) (AppName)
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(3,3):
Error AMM0000: Suggestion: add 'tools:replace="android:appComponentFactory"'
to <application> element at AndroidManifest.xml:8:3-25:17 to override.
(AMM0000) (WeatherApp.Android)
有没有办法修复错误..?
SDK Platform29 /Android 10.0 - Q
尝试构建应用后的错误。
我尝试清理构建,但出现此错误:
<ManifestMerger
ToolPath="$(JavaToolPath)"
javaoptions="$(javaoptions)"
ManifestMergerJarPath="$(AndroidManifestMergerJarPath)"
AndroidManifest="$(IntermediateOutputPath)AndroidManifest.xml"
OutputManifestFile="$(IntermediateOutputPath)android\AndroidManifest.xml"
LibraryManifestFiles="@(ExtractedManifestDocuments)"
ManifestPlaceholders="$(AndroidManifestPlaceholders)"/>
Binary XML file line #1 in com.companyname.WeatherApp:layout/toolbar:
Binary XML file line #1 in com.companyname.WeatherApp:layout/toolbar:
Error inflating class android.support.v7.widget.Toolbar
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。