Gallery g = (Gallery)findViewById(R.id.secondButton);本来是这样的
删除Gallery g = (Gallery)findViewById(R.id.secondButton);这个后,就报这个错,
直接又删了 @SuppressWarnings("deprecation")即可
Gallery g = (Gallery)findViewById(R.id.secondButton);,布布扣,bubuko.com
Gallery g = (Gallery)findViewById(R.id.secondButton);
原文:http://blog.csdn.net/u013365404/article/details/21562503