Package android.support.v7.internal.widget Does Not Exist After Installing Xamarin.Forms.Maps

Asked 2 years ago, Updated 2 years ago, 91 views

  • Windows 10
  • Visual Studio 2015
  • Xamarin version 4.1.1.3
  • installed in Visual Studio
  • Xamarin.Forms/Xamarin.Forms.Maps version 2.3.0.107
  • installed in the project
  • Samsung Galaxy Note Edge (Android 5.0) (I haven't built it yet, so it doesn't really matter)

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);
C:\Users\UserName\AppData\Local\Xamarin\Xamarin.GooglePlayServices.Maps\8.4.0\embedded\classes.jar(com/google/android/gms/maps/GoogleMap.class): 隴ヲ蜻・ 繧ソ繧、繝・RequiresPermission'蜀・↓豕ィ驥医Γ繧ス繝・ラ'anyOf()'縺瑚ヲ九▽縺九j縺セ縺帙s: android.support.annotation.RequiresPermission縺ョ繧ッ繝ゥ繧ケ繝サ繝輔ぃ繧、繝ォ縺瑚ヲ九▽縺九j縺セ縺帙s
infant wild boar natto, natto 諢 ・ 荳 eki natto, limited the 蜈 縺 ・ 蜉 chitsu Yamamura-cho 繧, 繝 繧 縺 added in each other by tabo han mimi 螂 natto, natto 繧 so 縺 activities of the APIs in the Suseo 逕 natto, natto 縺 a 縺 溘 ・ 繧 negativeelectrode materials ordered his aides 繝 繝 shita ・ 繝 lu 繧 、 繝 峨 @ shall 縺 縺 ・ ∪ 縺 吶 ・ < / > infant wild boar natto, natto 諢 and ra 隧 fouling - 縲 and Xlib : ' and the blockage 縺 previous Downes (繧, sulphonation or glycosylation negativeelectrode materials 繝 励 繝 on its way to la 繝 the family Phalacrocoracidae 繧 呈 ketsu 螳 No. 1 @ shall shoku ban 縺 sa 繝 the family Phalacrocoracidae 繝 dai the path of duty-wander from the 繝 縺 zyou 縺 励 * added in square 縺 tasuke > 縲 ・ < / > infant wild boar natto, natto 諢 ・ 蜈 ・ 蜉 chitsu Yamamura-cho 繧, 繝 繧 懊 a 謫 sakai 縺 added in activities of the ・ ■ 縲 ∵ segare 繝 of each circuit satisfy Equation yu 繝, 縺 a 縺 溘 whitening, 螳 kiba, 縺 la 縺 縺 the blockage negativeelectrode materials 縺 and (b) limited the 縺 go 縺 of ≠ 繧 翫 ∪ 縺 吶 ・ < / > infant wild boar natto, natto 諢 and TechCrunch ra - 縲, Xlib n : the blockage 縺 隧 fouling ABSs 繧 negativeelectrode materials 繝 励 繝 on its way to la 繝 the family Phalacrocoracidae 繧 呈 ketsu 螳 No. 1 @ shall shoku ban 縺 sa 繝 the family Phalacrocoracidae 繝 dai the path of duty-wander from the 繝 縺 zyou 縺 励 * added in square 縺 tasuke > 縲 ・ < / > 繧 natto, natto 繝 lu 繝 sheet 7 mythical dragon-like beast, < / > 隴ヲ蜻・蛟・ HogeApp.Droid C:\Users\UserName\Documents\Visual Studio 2015\Projects\HogeApp\HogeApp\HogeApp.Droid\obj\Debug\android\src\mono\android\support\v7\internal\widget\ViewStubCompat_OnInflateListenerImplementor.java 33

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

  • Bing Maps for C#, C++, or VisualBasic
  • Microsoft Visual C++ 2013 Runtime Package for Windows
  • System.ObjectModel
  • Xamarin.Forms.Core
  • Xamarin.Forms.Maps
  • Xamarin.Forms.Platform
  • Xamarin.Forms.Platform.WinRT
  • Xamarin.Forms.Platform.WinRT.Tblet
  • Xamarin.Forms.Xaml

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.

android visual-studio google-maps xamarin

2022-09-30 21:16

2 Answers

The Xamarin.Forms.Maps nuget package works fine in the following environments:

Sample program tried:

MapsSample Samples Available for Download from the

Visual Studio, Xamarin, and other versions:

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.

Android Project packages.configFile 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>

Installed Android SDK:

Enter a description of the image here

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.


2022-09-30 21:16

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.


2022-09-30 21:16

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.