title: How can I fix java.lang.UnsatisfiedLinkError ?
body: <p>Hi guys I was trying to do a new activity that extend listActivity, because I wanna do a List of items, but when I launch it with a button it gives me java.lang.UnsatisfiedLinkError. The class and the layout is only inizializated nothing special..but it gives me this error :/ Below You can find my logcat and also my layout and my class. Thank you.</p>
  
  <p>Class that extend ListActivity:</p>
  
  <pre><code>public class AndroidListViewActivity extends ListActivity {
      @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_list);
  
          // storing string resources into Array
          //String[] adobe_products = getResources().getStringArray(R.array.adobe_products);
           String[] adobe_products = {"prova","prova1","prova2"};
          // Binding resources Array to ListAdapter
          //this.setListAdapter(new ArrayAdapter&lt;String&gt;(this, R.layout.list_item, R.id.label, adobe_products));
  
      }
  }
  </code></pre>
  
  <p>Layout (R.layout.activity_list):</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"  
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"   
      android:layout_height="match_parent" 
      android:orientation="vertical"
      android:paddingBottom="0dp"
      android:paddingLeft="0dp"
      android:paddingRight="0dp"
      android:paddingTop="0dp"  
      tools:context="com.example.findmyclients.AndroidListViewActivity"&gt;
  
      &lt;FrameLayout
          android:id="@+id/custom_header_list"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_gravity="top"
          android:background="@drawable/header" 
          android:layout_alignParentTop="true"&gt;
      &lt;/FrameLayout&gt;
  
  
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>Logcat:</p>
  
  <pre><code>10-23 16:23:46.296: W/dalvikvm(16222): No implementation found for native Ldalvik/system/VMRuntime;.pauseGc:(Ljava/lang/String;)I
  10-23 16:23:46.301: E/ActivityThread(16222): Pause GC
  10-23 16:23:46.301: E/ActivityThread(16222): java.lang.reflect.InvocationTargetException
  10-23 16:23:46.301: E/ActivityThread(16222):    at java.lang.reflect.Method.invokeNative(Native Method)
  10-23 16:23:46.301: E/ActivityThread(16222):    at java.lang.reflect.Method.invoke(Method.java:515)
  10-23 16:23:46.301: E/ActivityThread(16222):    at android.app.ActivityThread.pauseGC(ActivityThread.java:5525)
  10-23 16:23:46.301: E/ActivityThread(16222):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2324)
  10-23 16:23:46.301: E/ActivityThread(16222):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2471)
  10-23 16:23:46.301: E/ActivityThread(16222):    at android.app.ActivityThread.access$900(ActivityThread.java:175)
  10-23 16:23:46.301: E/ActivityThread(16222):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)
  10-23 16:23:46.301: E/ActivityThread(16222):    at android.os.Handler.dispatchMessage(Handler.java:102)
  10-23 16:23:46.301: E/ActivityThread(16222):    at android.os.Looper.loop(Looper.java:146)
  10-23 16:23:46.301: E/ActivityThread(16222):    at android.app.ActivityThread.main(ActivityThread.java:5602)
  10-23 16:23:46.301: E/ActivityThread(16222):    at java.lang.reflect.Method.invokeNative(Native Method)
  10-23 16:23:46.301: E/ActivityThread(16222):    at java.lang.reflect.Method.invoke(Method.java:515)
  10-23 16:23:46.301: E/ActivityThread(16222):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
  10-23 16:23:46.301: E/ActivityThread(16222):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
  10-23 16:23:46.301: E/ActivityThread(16222):    at dalvik.system.NativeStart.main(Native Method)
  10-23 16:23:46.301: E/ActivityThread(16222): Caused by: java.lang.UnsatisfiedLinkError: Native method not found: dalvik.system.VMRuntime.pauseGc:(Ljava/lang/String;)I
  10-23 16:23:46.301: E/ActivityThread(16222):    at dalvik.system.VMRuntime.pauseGc(Native Method)
  10-23 16:23:46.301: E/ActivityThread(16222):    ... 15 more
  </code></pre>