Bug 44625 - Error After update
Summary: Error After update
Status: RESOLVED ANSWERED
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: unspecified
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-09-22 14:19 UTC by Fabio Cirino
Modified: 2016-12-20 01:20 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Error ResGen when created any project (859.25 KB, image/png)
2016-09-22 14:19 UTC, Fabio Cirino
Details
Android SDK Manager installed 1/2 (999.51 KB, image/png)
2016-09-22 14:22 UTC, Fabio Cirino
Details
Android SDK Manager installed 2/2 (992.32 KB, image/png)
2016-09-22 14:22 UTC, Fabio Cirino
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED ANSWERED

Description Fabio Cirino 2016-09-22 14:19:23 UTC
Created attachment 17677 [details]
Error ResGen when created any project

Hello, all right experts?

I am new to Xamarin, I try some problems after updating Xamarin Studio, but the same happens in Visual Studio.

After updating the Xamarin, some errors started happening when I create a new cross-platform project.

My resgen shows the error as the image below attached.
"
Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
No resource found that matches the given name: attr 'colorAccent'.
No resource found that matches the given name: attr 'colorPrimary'.
No resource found that matches the given name: attr 'colorPrimaryDark'.
No resource found that matches the given name: attr 'windowActionBar'.
No resource found that matches the given name: attr 'windowActionModeOverlay'.
No resource found that matches the given name: attr 'windowNoTitle'.
Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.Dialog'.
No resource found that matches the given name: attr 'colorAccent'."

What should I do to solve this problem?

About my Xamarin Studio:

=== Xamarin Studio Community ===

Version 6.1 (build 5441)
Installation UUID: 4950dc9a-4a99-492c-b707-0f723dcfdf11
Runtime:
Mono 4.6.0 (mono-4.6.0-branch/746756c) (64-bit)
GTK+ 2.24.23 (Raleigh theme)

Package version: 406000245

=== NuGet ===

Version: 3.4.3.0

=== Xamarin.Profiler ===

Not Installed

=== Xamarin.Android ===

Version: 7.0.0.18 (Xamarin Studio Community)
Android SDK: /Users/fabiocirino/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
6.0 (API level 23)
7.0 (API level 24)

SDK Tools Version: 25.2.2
SDK Platform Tools Version: 24.0.3
SDK Build Tools Version: 24.0.2

Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Xamarin Android Player ===

Version: 0.6.5
Location: /Applications/Xamarin Android Player.app

=== Apple Developer Tools ===

Xcode 8.0 (11246)
Build 8A218a

=== Xamarin.iOS ===

Version: 10.0.0.6 (Xamarin Studio Community)
Hash: 6c3fee4
Branch: xcode8
Build date: 2016-09-09 13:01:32-0400

=== Xamarin.Mac ===

Version: 2.10.0.99 (Xamarin Studio Community)

=== Build Information ===

Release ID: 601005441
Git revision: 68292d1ab289911c815ddc715dd7cc29a9752f9f
Build date: 2016-09-09 04:43:23-04
Xamarin addins: ed25d008672663eeb9db55f1ccecb3c24d2fd3b2
Build lane: monodevelop-lion-cycle8

=== Operating System ===

Mac OS X 10.11.6
Darwin MacBook-Pro-de-Fabio.local 15.6.0 Darwin Kernel Version 15.6.0
Mon Aug 29 20:21:34 PDT 2016
root:xnu-3248.60.11~1/RELEASE_X86_64 x86_64
Comment 1 Fabio Cirino 2016-09-22 14:22:29 UTC
Created attachment 17678 [details]
Android SDK Manager installed 1/2
Comment 2 Fabio Cirino 2016-09-22 14:22:51 UTC
Created attachment 17679 [details]
Android SDK Manager installed 2/2
Comment 3 Samantha Houts [MSFT] 2016-12-20 01:20:03 UTC
Please try doing a Clean and Rebuild on the Android project. You may have to manually delete the bin and obj folders and Rebuild if that does not seem to work. Please also ensure that the Android Support V4 and V7 packages are installed, updated, and properly referenced in the Android project.

You may find other solutions on https://forums.xamarin.com/discussion/60431/appcompat-no-resource-found-that-matches-the-given-name-theme-appcompat-light or https://forums.xamarin.com/discussion/59017/no-resource-found-that-matches-the-given-name-theme-appcompat-light

If you are unable to resolve this issue, please reopen this report and attach a reproduction.

Warm Regards,
Xamarin Forms Team