title: android: java.lang.NoSuchMethodError setX on Drag Drop event
body: <p>E/AndroidRuntime(608): java.lang.NoSuchMethodError: android.view.View.setX</p>
  
  <p>I am getting this error when I try to run my application on device. On Emulator it works fine.. I am applying drag drop event on ImageView.</p>
  
  <p>Here is my code</p>
  
  <pre><code>public boolean onTouch(View v, MotionEvent motionEvent){  
      switch (motionEvent.getAction()) {
  
  case MotionEvent.ACTION_MOVE:
           v.setX(motionEvent.getRawX());
       v.setY(motionEvent.getRawY());
  
       break;
  
       default:
       break;
   }
   return true; 
  }
  </code></pre>
  
  <p>Please Help out
  Thanks</p>