title: What am I doing wrong, how the total price has not changed?
body: <p>I have been learning android for less than a month. I am worried about how to accumulate "+" and "-" and medium and large to affect the total price.
  I will only do the total number of cups for "+" and "-"，and the total price of medium and large.
  When I press button3 to calculate the total price
  , I automatically quit android. Which step did I take? Please instruct me!!</p>
  
  <p>If you do not rely on the button to calculate the total amount, how do  rely on the checkbox selection and "+" and "-" to directly change the total price?</p>
  
  <p>checkBox2 is medium
  checkBox is large 
  imageButton and  imageButton6 is "-" "+"
  button3 is total price</p>
  
  <pre><code>             money = new OnClickListener() {
                  @Override
                    public void onClick(View v) {
                         switch (v.getId()) 
                         {
                          case R.id.checkBox2: {textView8.setText( "45" );
                counter = Integer.parseInt( textView8.getText().toString());
                      }
                          break;
                      case R.id.checkBox: {
                          textView8.setText("80");
                          counter=Integer.parseInt(textView8.getText().toString());
                          break; }
                      case R.id.checkBox3:
                          {
                              textView8.setText("");
                          break; }
                  }
              }
          };
      }
      OnClickListener AddandLess = new OnClickListener() {
          @Override
          public void onClick(View v) {
              switch (v.getId()) {
                  case R.id.imageButton: {
                      if (count &gt; 0) {
                          count--;
                          textView.setText( "" + count );
                      }
                  }
                  break;
                  case R.id.imageButton6: {
                      if (count &lt; max) {
                          count++;
                          textView.setText( "" + count );
                      }
                  }
                  break;
  
              }
              button3.setOnClickListener( new OnClickListener() {
                  @Override
                  public void onClick(View v) {
                      //String str="Total_price";
                     textView8.setText(counter * count);
                  }
              });
          }
      };
  </code></pre>
  
  <p>I hope to influence the total price through the number of cups and the size of the cup，But the implementation is wrong。</p>
  
  <p>This is the error message I have appeared:</p>
  
  <p>Channel is unrecoverably broken and will be disposed!
  failed to make and chown /acct/uid_10058: Read-only file system
  FATAL EXCEPTION: main
  android.content.res.Resources$NotFoundException: String resource ID #0xa0</p>