Installing and building the Xamarin.Forms.Maps Nuget package in the Xamarin.Forms Portable app will result in an error.
< p > era- 繧 natto, natto 繝 lu 繝 policy : 繝 dai lya 繧 a sheet (s) 繝 繧 (bb) Android. Support. v 7. int (not parsing) read/write 蟄 伜 the blockage. Tower Bridge 縺 been under criticism 縺 励 ∪ 縺 chitsu s < / > private native void n_onInflate (android.support.v7.internal.widget.ViewStubCompat p0, android.view.View p1);There are seven errors like this.How can we solve this problem?
The error is probably related to the Java code, but it is garbled.
Conversion of garbled characters can be inferred from
Error: Package android.support.v7.internal.widget does not exist
private native void n_onInflate (android.support.v7.internal.widget.ViewStubCompat p0, android.view.View p1); C:\Users\UserName\AppData\Local\Xamarin\Xamarin.GooglePlayServices.Maps\8.4.0\embedded\classes.jar(com/google/android/gms/maps/GoogleMap.class): 警呁E タイチERequiresPermission&039;冁E��注釈メソチE��&039;anyOf()&039;が見つかりません: android.support.annotatiUS>on.RequiresPermission Class File Not FoundThe input file in the Notes E? section is either using or overriding the deprecated API.
For more information, recompile with the EXlint:deprecation option, file operations � E � Not checked � E � Not checked � E Safety � EThere is an E? �E
For more information, recompile with the EXlint:unchecked option
That's it.
There seems to be a problem with the Java code.
However, the code has not been tampered with since its initial state (Hello World worked properly when I ran it before I installed Maps).
Also, how do I view the map in Xamarin Reverse Tips Xamarin.Forms? article, and I get the same error when I try setting permissions and describing API keys.
Reference component ○○ not found.
There are also 11 warnings.
Missing Components
Yes.
Restoring the Nuget package or rebooting the VS will do the same.This did not appear in the initial state of Hello World either.It appears when you install Maps.
It's hard to find a helpful article because the characters are garbled.
We would appreciate it if you could help us solve this problem.
Additional
Thank you all for your reply.I've tried many things, but it didn't work, so I'm thinking of reinstalling everything on some occasion.
Also, no one seems to have similar symptoms, so I think it's just my deployment mistake.
The Xamarin.Forms.Maps nuget package works fine in the following environments:
MapsSample Samples Available for Download from the
Microsoft Visual Studio Community 2015
Version 14.0.25123.00 Update 2
Microsoft .NET Framework
Version 4.6.01038
Installed Version:Community
Visual Basic 2015 00322-20000-00000-AA282
Microsoft Visual Basic 2015
Visual C#201500322-20000-00000-AA282
Microsoft Visual C#2015
Visual C++ 2015 00322-20000-00000-AA282
Microsoft Visual C++ 2015
Application Insights Tools for Visual Studio Package 5.209.60613.1
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2015.114.1.20512.0
ASP.NET and Web Tools 2015.1
ASP.NET Web Framework and Tools 2012.2 4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563
ASP.NET Web Framework and Tools 2013 5.2.40314.0
For additional information, visit http://www.asp.net/
Azure App Service Tools v2.9.114.0.20519.0
Azure App Service Tools v2.9.1
Azure Data Lake Node 1.0
This package contains the Data Lake integration nodes for Server Explorer.
Azure Data Lake Tools for Visual Studio 2.0.6000.0
Microsoft Azure Data Lake Tools for Visual Studio
Common Azure Tools 1.7
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
GitHub.VisualStudio 1.0
A Visual Studio Extension that rings the GitHub Flow into Visual Studio.
JavaScript Language Service 2.0
JavaScript Language Service
JavaScript Project System 2.0
JavaScript Project System
Microsoft .NET Core Tools (Preview 1) 14.1.20512.0
Microsoft .NET Core Tools (Preview 1)
Microsoft Azure HDINSIGHT HQL Service 2.0.6000.0
Language service for Hive query
Microsoft Azure HDINSIGHT Tools for Visual Studio 2.0.600.0
An integrated development environment for HDIinsight application development.
Microsoft Azure Mobile Services Tools 1.4
Microsoft Azure Mobile Services Tools
Microsoft Azure Tools 2.9
Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.9.40518.2
NuGet Package Manager 3.4.4
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmpty Analytics product.
SQL Server Data Tools 14.0.60311.1
Microsoft SQL Server Data Tools
ToolWindowHostedEditor 1.0
Hosting json editor into a tool window
TypeScript 1.8.31.0
TypeScript tools for Visual Studio
Visual Studio Tools for Universal Windows Apps 14.0.25219.00
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more.It includes the Microsoft Windows 10 Software Development Kit.
Xamarin 4.1.0.530 (2e39740)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin.Android 6.1.0.71 (4e27558)
Visual Studio extension to enable development for Xamarin.Android.
Xamarin.iOS 9.8.0.323 (39ebb77)
Visual Studio extension to enable development for Xamarin.iOS.
packages.config
File Contents:<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Xamarin.Android.Support.Animated.Vector.Drawable" version="23.3.0" targetFramework="monoandroid50"/>
<package id="Xamarin.Android.Support.Design" version="23.3.0" targetFramework="monoandroid50"/>
<package id="Xamarin.Android.Support.v4" version="23.3.0" targetFramework="monoandroid50"/>
<package id="Xamarin.Android.Support.v7.AppCompat" version="23.3.0" targetFramework="monoandroid50"/>
<package id="Xamarin.Android.Support.v7.CardView" version="23.3.0" targetFramework="monoandroid50"/>
<package id="Xamarin.Android.Support.v7.MediaRouter" version="23.3.0" targetFramework="monoandroid50"/>
<package id="Xamarin.Android.Support.v7.RecyclerView" version="23.3.0" targetFramework="monoandroid50"/>
<package id="Xamarin.Android.Support.Vector.Drawable" version="23.3.0" targetFramework="monoandroid50"/>
<package id="Xamarin.Forms" version="2.3.0.107" targetFramework="monoandroid60"/>
<package id="Xamarin.Forms.Maps" version="2.3.0.107" targetFramework="monoandroid60"/>
<package id="Xamarin.GooglePlayServices.Base" version="29.0.0.1" targetFramework="monoandroid50"/>
<package id="Xamarin.GooglePlayServices.Basement" version="29.0.0.1" targetFramework="monoandroid50"/>
<package id="Xamarin.GooglePlayServices.Maps" version="29.0.0.1" targetFramework="monoandroid50"/>
</packages>
Please try uninstalling any items other than those listed above, especially those with Android N, API, and Rev 24 installed.
In particular, the Android SDK, packages.config
may be different.
Check it out.
Regarding garbled characters, I have installed Xamarin in Windows 10 development environment and use it in a virtual environment.The language setting here is in English, so all errors are printed in English without garbled characters.For your information.
Regarding the reference components,
This error appears to be related to the Windows project configuration.
Delete the project if you don't need it,
Nuget's
for Windows projects, if necessary
Verify that Xamarin.Forms, Xamarin.Forms.Windows, Xamarin.Forms.map has been added.
BingMaps~ will also need to set up the SDK for Windows.
© 2024 OneMinuteCode. All rights reserved.