http://www.androidpub.com/index.php?mid=android_dev_qna&category=109120&page=4&document_srl=2443790

 이 주소는 제가 질문했던 주소 입니다 ㅜ

몇번을 글올리고 여기저기서 찾아보고 했는데 몇일째 컴퓨터만 잡고 있는데 안되는거 같습니다 ㅜㅠ

 

 

TextView abc[]=new TextView[24];

for(int i=1;i<24;i++){
   resId=getResources().getIdentifier("text"+i,"id","com.example.practice7");
   abc[i]=(TextView)findViewById(resId);

 

 

 

if(v.getId()==R.id.gye){
    int a2=0;
    for(int l=13;l<24;++l){
    String str1=abc[l].getText().toString();
    int a1=Integer.valueOf(str1);
    a2=a2+a1;
    String str5=String.valueOf(a2);
    
    hap.setText(str5);
   }

 

오류가 뜨고 아예 실행이 되질 않습니다 ㅜㅠㅜㅠ 어디가 문제일 까요 ㅠㅜㅠㅜ