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

前端 未结 4 963
暖寄归人
暖寄归人 2021-02-13 07:16

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:45

    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.

提交回复
热议问题