AppCompat is a library project. You need to reference the library project in your android project.
Check the topic Adding libraries with resources.
Update
Adding material theme should be the way. Check https://material.io/develop/android/docs/getting-started for more details.
If you're using Eclipse, then add the reference library into your project as the following steps:
Project Explorer View.Properties.Android in the Properties window.Library group, click Add...
OK.OK button again in the Properties window.
If you are using Android Studio then just add the dependency
dependencies {
implementation 'com.android.support:appcompat-v7:25.0.1'
}
to app/build.gradle. And that will work
For anyone out there using VS2015, I was getting this error too, and it turns out I hadn't added the library to the project...
Install-Package Xamarin.Android.Support.v7.AppCompat
If you are using Eclipse just copying android-support-v7-appcompat.jar to libs folder will not work if you are going to use resources.
Follow steps from here for "Adding libraries with resources".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With