Android xml rendering issue in eclipse?

后端 未结 8 1974
清酒与你
清酒与你 2020-12-31 07:33

On creating new xml files in a project, rendering issue occur with error log as follows:

java.lang.NullPointerException
    Exception details are logged i         


        
相关标签:
8条回答
  • 2020-12-31 08:12

    I solved it by changing the AndroidManifest.xml:

    android:targetSdkVersion="21" to android:targetSdkVersion="22"

    Then change ActionBarActivity to Activity.

    0 讨论(0)
  • 2020-12-31 08:18

    I Was Getting The Same Error !!

    But What I have Learned Is when I go Below API 14 i gt the Error Otherwise It works Fine ....

    The issue was fixed in an update to 4.1 SDK, but the fix has not been backported to older versions of the layout library -- yet. I believe Xav is planning on doing that along with a few other misc layoutlib fixes that have accumulated.

    0 讨论(0)
提交回复
热议问题