怎么好好的就报错了呢……
aide吧
全部回复
仅看楼主
level 6
阿拉斯加犬😄
楼主
怎么好好的就报错了呢……
2018年09月14日 12点09分
1
level 6
Just丶过往丷
神奇
,试试MainActivity.this.yiyuan.class
2018年09月14日 12点09分
2
小藐糖子🍭
公共变量 Context ctx; ctx=this; 在点击监听接口里的this指的是点击接口这个类
2018年09月15日 12点09分
level 6
Just丶过往丷
或者你yiyuan.java里面没写public ...yiyuan...
2018年09月14日 12点09分
3
level 6
阿拉斯加犬😄
楼主
这又是什么鬼
2018年09月14日 12点09分
4
level 6
阿拉斯加犬😄
楼主
@Just丶过往丷
2018年09月14日 12点09分
5
level 6
Just丶过往丷
@阿拉斯加犬😄
怎么老吞贴
把MainActivity改成yiyuan
2018年09月14日 12点09分
8
level 6
Just丶过往丷
还有,记得注册
2018年09月14日 12点09分
9
level 6
阿拉斯加犬😄
楼主
注册指在manifest文件里注册是吗
@Just丶过往丷
2018年09月14日 13点09分
10
Just丶过往丷
恩,不然会闪退
2018年09月14日 13点09分
level 12
☜逗吧哥
你这是因为重命名出错了
2018年09月14日 13点09分
11
阿拉斯加犬😄
什么意思啊
2018年09月14日 13点09分
level 6
阿拉斯加犬😄
楼主
还是不行啊
@Just丶过往丷
2018年09月14日 13点09分
12
level 6
阿拉斯加犬😄
楼主
@Just丶过往丷
2018年09月14日 13点09分
13
level 6
Just丶过往丷
yiyuan.java截图
@阿拉斯加犬😄
2018年09月14日 13点09分
14
level 6
Just丶过往丷
public class yiyuan extends Activity{
...onCreate...
}
2018年09月14日 13点09分
15
level 6
阿拉斯加犬😄
楼主
@Just丶过往丷
2018年09月14日 13点09分
16
level 6
Just丶过往丷
Intent intent=new Intent(MainActivity.this,yiyuan.class);
startActivity(Intent);
2018年09月14日 13点09分
17
1
2
尾页