Android xml rendering issue in eclipse?

后端 未结 8 2026
清酒与你
清酒与你 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

    Google has been deprecated the Class ActionBarActivity.If your 'Activity Class' extends it, this error occurs.

    1. First Change the ActionBarActivityto Activity and save Changes.
    2. Then, restart your IDE and see error is fixed.

提交回复
热议问题