title: Android Studio - ARCore - E/DynamiteClient: Failed to load native library [packageName=com.google.ar.core,libraryName=arcore_c] from remote package:
body: <p>I'm trying to follow an <a href="https://www.youtube.com/watch?v=ntEBeB37p5Q&amp;list=PLsOU6EOcj51cEDYpCLK_bzo4qtjOwDWfW&amp;index=18" rel="nofollow noreferrer">Android ARCore tutorial</a> however I keep on getting this error when I try to start the app: </p>
  
  <pre><code>E/DynamiteClient: Failed to load native library [packageName=com.google.ar.core,libraryName=arcore_c] from remote package:
  
      java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/com.google.ar.core-dmlqkWErgZyoM0RLfsTjSw==/lib/arm/libarcore_c.so" has unexpected e_machine: 40 (EM_ARM)
          at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
          at java.lang.System.loadLibrary(System.java:1669)
          at com.google.vr.dynamite.NativeLibraryLoader.a(PG:30)
          at com.google.vr.dynamite.NativeLibraryLoader.initializeAndLoadNativeLibrary(PG:14)
          at evx.a(PG:7)
          at xo.onTransact(PG:5)
          at android.os.Binder.transact(Binder.java:667)
          at com.google.a.a.b.transactAndReadException(BaseProxy.java:10)
          at com.google.vr.dynamite.client.b.initializeAndLoadNativeLibrary(INativeLibraryLoader.java:5)
          at com.google.vr.dynamite.client.DynamiteClient.loadNativeRemoteLibrary(DynamiteClient.java:26)
          at com.google.ar.core.Session.nativeCreateSessionAndWrapperWithFeatures(Native Method)
          at com.google.ar.core.Session.&lt;init&gt;(Session.java:14)
          at com.google.ar.sceneform.ux.BaseArFragment.createSessionWithFeatures(BaseArFragment.java:419)
          at com.google.ar.sceneform.ux.BaseArFragment.createSession(BaseArFragment.java:405)
          at com.google.ar.sceneform.ux.BaseArFragment.initializeSession(BaseArFragment.java:379)
          at com.google.ar.sceneform.ux.BaseArFragment.onResume(BaseArFragment.java:338)
          at androidx.fragment.app.Fragment.performResume(Fragment.java:2649)
          at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:922)
          at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java:1238)
          at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:1303)
          at androidx.fragment.app.FragmentManagerImpl.dispatchStateChange(FragmentManagerImpl.java:2659)
          at androidx.fragment.app.FragmentManagerImpl.dispatchResume(FragmentManagerImpl.java:2625)
          at androidx.fragment.app.FragmentController.dispatchResume(FragmentController.java:268)
          at androidx.fragment.app.FragmentActivity.onResumeFragments(FragmentActivity.java:479)
          at androidx.fragment.app.FragmentActivity.onPostResume(FragmentActivity.java:468)
          at androidx.appcompat.app.AppCompatActivity.onPostResume(AppCompatActivity.java:195)
          at android.app.Activity.performResume(Activity.java:7317)
          at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3776)
          at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3816)
          at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:51)
          at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145)
          at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70)
          at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808)
          at android.os.Handler.dispatchMessage(Handler.java:106)
          at android.os.Looper.loop(Looper.java:193)
          at android.app.ActivityThread.main(ActivityThread.java:6669)
          at java.lang.reflect.Method.invoke(Native Method)
          at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
          at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
  I/third_party/arcore/java/com/google/vr/dynamite/client/native/dynamite_client.cc: Dynamite::LoadNativeRemoteLibrary handle=0
  E/third_party/arcore/ar/core/android/sdk/session_create.cc: Dynamite failed to load remote library
      LoadSymbolsDynamite returning AR_ERROR_FATAL.
      LoadSymbols returning status.
  E/StandardArFragment: Error: Failed to create AR session
      com.google.ar.core.exceptions.UnavailableException
          at com.google.ar.sceneform.ux.BaseArFragment.initializeSession(BaseArFragment.java:391)
          at com.google.ar.sceneform.ux.BaseArFragment.onResume(BaseArFragment.java:338)
          at androidx.fragment.app.Fragment.performResume(Fragment.java:2649)
          at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:922)
          at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java:1238)
          at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:1303)
          at androidx.fragment.app.FragmentManagerImpl.dispatchStateChange(FragmentManagerImpl.java:2659)
          at androidx.fragment.app.FragmentManagerImpl.dispatchResume(FragmentManagerImpl.java:2625)
          at androidx.fragment.app.FragmentController.dispatchResume(FragmentController.java:268)
          at androidx.fragment.app.FragmentActivity.onResumeFragments(FragmentActivity.java:479)
          at androidx.fragment.app.FragmentActivity.onPostResume(FragmentActivity.java:468)
          at androidx.appcompat.app.AppCompatActivity.onPostResume(AppCompatActivity.java:195)
          at android.app.Activity.performResume(Activity.java:7317)
          at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3776)
          at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3816)
          at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:51)
          at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145)
          at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70)
          at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808)
          at android.os.Handler.dispatchMessage(Handler.java:106)
          at android.os.Looper.loop(Looper.java:193)
          at android.app.ActivityThread.main(ActivityThread.java:6669)
          at java.lang.reflect.Method.invoke(Native Method)
          at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
          at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
       Caused by: com.google.ar.core.exceptions.FatalException
          at java.lang.reflect.Constructor.newInstance0(Native Method)
          at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
          at com.google.ar.core.Session.throwExceptionFromArStatus(Session.java:143)
          at com.google.ar.core.Session.nativeCreateSessionAndWrapperWithFeatures(Native Method)
          at com.google.ar.core.Session.&lt;init&gt;(Session.java:14)
          at com.google.ar.sceneform.ux.BaseArFragment.createSessionWithFeatures(BaseArFragment.java:419)
          at com.google.ar.sceneform.ux.BaseArFragment.createSession(BaseArFragment.java:405)
          at com.google.ar.sceneform.ux.BaseArFragment.initializeSession(BaseArFragment.java:379)
          at com.google.ar.sceneform.ux.BaseArFragment.onResume(BaseArFragment.java:338) 
          at androidx.fragment.app.Fragment.performResume(Fragment.java:2649) 
          at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:922) 
          at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java:1238) 
          at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:1303) 
          at androidx.fragment.app.FragmentManagerImpl.dispatchStateChange(FragmentManagerImpl.java:2659) 
          at androidx.fragment.app.FragmentManagerImpl.dispatchResume(FragmentManagerImpl.java:2625) 
          at androidx.fragment.app.FragmentController.dispatchResume(FragmentController.java:268) 
          at androidx.fragment.app.FragmentActivity.onResumeFragments(FragmentActivity.java:479) 
          at androidx.fragment.app.FragmentActivity.onPostResume(FragmentActivity.java:468) 
          at androidx.appcompat.app.AppCompatActivity.onPostResume(AppCompatActivity.java:195) 
          at android.app.Activity.performResume(Activity.java:7317) 
          at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3776) 
          at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3816) 
          at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:51) 
          at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145) 
          at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70) 
          at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808) 
          at android.os.Handler.dispatchMessage(Handler.java:106) 
          at android.os.Looper.loop(Looper.java:193) 
          at android.app.ActivityThread.main(ActivityThread.java:6669) 
          at java.lang.reflect.Method.invoke(Native Method) 
          at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) 
          at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858) 
  </code></pre>
  
  <p>I'm not too sure why I'm getting this error. I've rechecked my code and it has everything the tutorial has. I've done a fair amount of search for documentation on the error and have not found any answers on how to resolve it. </p>
  
  <p>here is my code:</p>
  
  <p><strong>manifest</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.arcoretestjava"&gt;
  
      &lt;!-- "AR Required" apps must declare minSdkVersion &gt;= 24. --&gt;
      &lt;uses-sdk android:targetSdkVersion="29"/&gt;
  
      &lt;uses-permission android:name="android.permission.CAMERA"/&gt;
      &lt;uses-feature android:name="android.hardware.camera.ar" android:required="true"/&gt;
  
      &lt;application
          android:allowBackup="true"
          android:icon="@mipmap/ic_launcher"
          android:label="@string/app_name"
          android:roundIcon="@mipmap/ic_launcher_round"
          android:supportsRtl="true"
          android:theme="@style/AppTheme"&gt;
          &lt;activity android:name=".MainActivity"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
          &lt;meta-data android:name="com.google.ar.core" android:value="required"/&gt;
  
      &lt;/application&gt;
  &lt;/manifest&gt;
  </code></pre>
  
  <p><strong>build.gradle(app)</strong></p>
  
  <pre><code>    implementation 'com.google.ar.sceneform.ux:sceneform-ux:1.15.0'
      implementation 'com.google.ar:core:1.16.0
  </code></pre>