Xamarin build ERROR: error APT0000: In <declaration-style> ..., attribute cannot be found

I got a project from another developer. I'm tuning my car. VS-2017 with the necessary components is already configured.

Android SDK-Manager has a corresponding version. The project is configured to compile with Android 7.1 (Nougat).

Running build I get one error

1>ERROR : error APT0000: In <declare-styleable> AppBarLayout, unable to find attribute android:keyboardNavigationCluster

It is not clear to me whether I need to install this information or whether this information is needed.

I got ERROR: the android: preserveIconSpacing attribute could not be found in the MenuView  and Error: the android: popupPromptView attribute could not be found in the SherlockSpinner . Both articles do not help.

I tried the SDK-Tools, I deleted the folder C:\Users\<user>\AppData\Local\Xamarin.

, , .

Resource.designer.cs

public const int AppBarLayout_android_keyboardNavigationCluster = 2;

.

- ?

- , ?

+6
5

, Android API 26.

+2

Thsi - , , , .

  • SDK Android SDK
  • Xamarin.

1. + 2. App-Development VS-2017

  1. Xamarin SDK.

" (Android 8.0 Oreo)" Android .

. "Android 7.1 ()", 8.0 ( ). .

0

In my case, I switched from Enterprise to Professional and found that there is a mismatch in the Xamarin settings (Tools β†’ Options β†’ Xamarin), and the location of the Android SDK needs to be changed to "C: \ Users \ YourMum \ AppData \ Local \ Android \ Android- KFOR. "

I don’t remember exactly what was originally, but I think it was in the programs.

0
source

You must update the goal of your project. It looks like the solution was created with a higher purpose(Oreo API Level 26)

0
source

All Articles