问题描述
我正在尝试使用 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 (将#修改为@)