How to fix “process is bad” error for an Android Widget?

前端 未结 14 926
太阳男子
太阳男子 2020-12-02 07:44

I have developed an Android Widget, and it was working fine. I added some extra functionality and pushed an update through the Android Market. Now people are complaining tha

14条回答
  •  萌比男神i
    2020-12-02 08:36

    I had the same problem with my project. I think it worth pointing out that I could fix this problem magically just by removing some new lines from my code in Eclipse. As an example I changed the following code,

    Intent clickIntent = new Intent(this.getApplicationContext(),
    MyWidgetProvider.class);
    

    to

    Intent clickIntent = new Intent(this.getApplicationContext(),MyWidgetProvider.class);
    

提交回复
热议问题