No resource found that mach the given name Theme.AppCompat.Light.NoActionBar

前端 未结 4 1729
渐次进展
渐次进展 2021-02-13 07:00

I am adding some items in Styles.xml files. However, it is giving me an error.

Here is my code.



        
4条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-13 07:47

    Here are the steps to fix those issues;

    1. Go to AndroidManifest.xml and add android:targetSdkVersion to 23 under uses-sdk tag.
    2. Go to Project -> General and set Target framework to Android 6.0 (Marshmallow).
    3. Go to Project -> Android Application -> set Target Android version to Android 6.0.

    Android version 7.0 is not compiled in latest Xamarin Studio.Right now you can only compile Android project up to Android 6.0.

提交回复
热议问题