How to solve NullPointerException error in Android?

后端 未结 3 551
时光说笑
时光说笑 2020-12-02 02:15

The below code runs smoothly in the emulator from Eclipse, but there are problems when I run it on my Android phone and tablet.

public class RingerActivity e         


        
3条回答
  •  没有蜡笔的小新
    2020-12-02 02:52

    Did you try cleaning the project ?? Newly added resources show up in the package explorer only after cleaning the project.

提交回复
热议问题