Getting invocation target exception
<p>'import   android   .   os  .  Bundle;'</p>

<p>import android.app.Activity;</p>

<p>import android.view.Menu;</p>

<p>import android.widget.TextView;</p>

<p>public class MainActivity   extends   Activity {
    public native String     stringJNI();</p>

<pre><code>static {
    System  .  loadLibrary  ("Androidqw");
}    
@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
     TextView myTextField = (TextView)findViewById(R.id.myTextField);
        myTextField.setText(stringJNI()); //get exception
}

@Override
public boolean onCreateOptionsMenu(Menu menu) {
    // Inflate the menu; this adds items to the action bar if it is present.
    getMenuInflater().inflate(R.menu.activity_main, menu);
    return true;
}
</code></pre>

<p>}</p>
i got invocationTargetException in  myTextField.setText(stringJNI()).I don't why i am getting this......minapplevel=10   targetapplevel=11  Please help me i m new to this</p>
