title: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.example.aol.Application" on path: DexPathList error flutter
body: <p>I am trying to run a project but I found an error:</p>
  <pre><code>Caused by: java.lang.ClassNotFoundException: Didn't find class &quot;com.example.aol.Application&quot; on path: DexPathList[[zip file &quot;/data/app/com.example.aol-1JWhf7hk26dkh1US0WG4tg==/base.apk&quot;],nativeLibraryDirectories=[/data/app/com.example.aol-1JWhf7hk26dkh1US0WG4tg==/lib/arm64, /data/app/com.example.aol-1JWhf7hk26dkh1US0WG4tg==/base.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64]]
  </code></pre>
  <p>So does any one have any idea about the below error:</p>
  <p><a href="https://i.stack.imgur.com/egHoc.png" rel="noreferrer"><img src="https://i.stack.imgur.com/egHoc.png" alt="error" /></a></p>
  <p>and this is the related <code>manifest</code></p>
  <pre><code>&lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      package=&quot;com.example.aol&quot; xmlns:tools=&quot;http://schemas.android.com/tools&quot;&gt;
      &lt;!-- io.flutter.app.FlutterApplication is an android.app.Application that
           calls FlutterMain.startInitialization(this); in its onCreate method.
           In most cases you can leave this as-is, but you if you want to provide
           additional functionality it is fine to subclass or reimplement
           FlutterApplication and put your custom class here. --&gt;
      &lt;uses-permission android:name=&quot;android.permission.INTERNET&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.WRITE_EXTERNAL_STORAGE&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.READ_EXTERNAL_STORAGE&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.VIBRATE&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.RECEIVE_BOOT_COMPLETED&quot;/&gt;
      &lt;uses-permission android:name=&quot;android.permission.CAMERA&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.FLASHLIGHT&quot; /&gt;
      &lt;application
          android:name=&quot;.Application&quot; 
          tools:replace=&quot;android:label&quot;
          android:label=&quot;aol&quot;
          android:icon=&quot;@mipmap/ic_launcher&quot;&gt;
          &lt;activity
              android:name=&quot;.MainActivity&quot;
              android:launchMode=&quot;singleTop&quot;
              android:theme=&quot;@style/LaunchTheme&quot;
              android:configChanges=&quot;orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode&quot;
              android:hardwareAccelerated=&quot;true&quot;
              android:windowSoftInputMode=&quot;adjustResize&quot;&gt;
              &lt;!-- This keeps the window background of the activity showing
                   until Flutter renders its first frame. It can be removed if
                   there is no splash screen (such as the default splash screen
                   defined in @style/LaunchTheme). --&gt;
              &lt;meta-data
                  android:name=&quot;io.flutter.app.android.SplashScreenUntilFirstFrame&quot;
                  android:value=&quot;true&quot; /&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name=&quot;android.intent.action.MAIN&quot;/&gt;
                  &lt;category android:name=&quot;android.intent.category.LAUNCHER&quot;/&gt;
              &lt;/intent-filter&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name=&quot;FLUTTER_NOTIFICATION_CLICK&quot; /&gt;
                  &lt;category android:name=&quot;android.intent.category.DEFAULT&quot; /&gt;
              &lt;/intent-filter&gt;
             
          &lt;/activity&gt;
          &lt;activity android:name=&quot;com.braintreepayments.api.BraintreeBrowserSwitchActivity&quot;
              android:launchMode=&quot;singleTask&quot;&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name=&quot;android.intent.action.VIEW&quot; /&gt;
                  &lt;category android:name=&quot;android.intent.category.DEFAULT&quot; /&gt;
                  &lt;category android:name=&quot;android.intent.category.BROWSABLE&quot; /&gt;
                  &lt;data android:scheme=&quot;${applicationId}.braintree&quot; /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
          &lt;meta-data android:name=&quot;com.facebook.sdk.ApplicationId&quot;
      android:value=&quot;@string/facebook_app_id&quot;/&gt;
      &lt;!-- TODO: Replace with your real AdMob app ID --&gt;
          &lt;meta-data
              android:name=&quot;com.google.android.gms.ads.APPLICATION_ID&quot;
              android:value= &quot;@string/android__admob_ads_id_key&quot; /&gt;
          &lt;activity android:name=&quot;com.facebook.FacebookActivity&quot;
      android:configChanges=
              &quot;keyboard|keyboardHidden|screenLayout|screenSize|orientation&quot;
      android:label=&quot;@string/app_name&quot; /&gt;
          &lt;activity
              android:name=&quot;com.facebook.CustomTabActivity&quot;
              android:exported=&quot;true&quot;&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name=&quot;android.intent.action.VIEW&quot; /&gt;
                  &lt;category android:name=&quot;android.intent.category.DEFAULT&quot; /&gt;
                  &lt;category android:name=&quot;android.intent.category.BROWSABLE&quot; /&gt;
                  &lt;data android:scheme=&quot;@string/fb_login_protocol_scheme&quot; /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  &lt;/manifest&gt;
  
  
  </code></pre>
  <p>this is the full error:</p>
  <pre><code>Launching lib\main.dart on Redmi 5 in debug mode...
  √ Built build\app\outputs\flutter-apk\app-debug.apk.
  Installing build\app\outputs\flutter-apk\app.apk...                38.0s
  E/AndroidRuntime(14356): FATAL EXCEPTION: main
  E/AndroidRuntime(14356): Process: com.example.aol, PID: 14356
  E/AndroidRuntime(14356): java.lang.RuntimeException: Unable to instantiate application com.example.aol.Application: java.lang.ClassNotFoundException: Didn't find class &quot;com.example.aol.Application&quot; on path: DexPathList[[zip file &quot;/data/app/com.example.aol-1JWhf7hk26dkh1US0WG4tg==/base.apk&quot;],nativeLibraryDirectories=[/data/app/com.example.aol-1JWhf7hk26dkh1US0WG4tg==/lib/arm64, /data/app/com.example.aol-1JWhf7hk26dkh1US0WG4tg==/base.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64]]
  E/AndroidRuntime(14356):    at android.app.LoadedApk.makeApplication(LoadedApk.java:993)
  E/AndroidRuntime(14356):    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5801)
  E/AndroidRuntime(14356):    at android.app.ActivityThread.-wrap1(Unknown Source:0)
  E/AndroidRuntime(14356):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1685)
  E/AndroidRuntime(14356):    at android.os.Handler.dispatchMessage(Handler.java:106)
  E/AndroidRuntime(14356):    at android.os.Looper.loop(Looper.java:176)
  /AndroidRuntime(14356):     at android.app.ActivityThread.main(ActivityThread.java:6651)
  E/AndroidRuntime(14356):    at java.lang.reflect.Method.invoke(Native Method)
  E/AndroidRuntime(14356):    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
  E/AndroidRuntime(14356):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:824)
  E/AndroidRuntime(14356): Caused by: java.lang.ClassNotFoundException: Didn't find class &quot;com.example.aol.Application&quot; on path: DexPathList[[zip file &quot;/data/app/com.example.aol-1JWhf7hk26dkh1US0WG4tg==/base.apk&quot;],nativeLibraryDirectories=[/data/app/com.example.aol-1JWhf7hk26dkh1US0WG4tg==/lib/arm64, /data/app/com.example.aol-1JWhf7hk26dkh1US0WG4tg==/base.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64]]
  E/AndroidRuntime(14356):    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125)
  E/AndroidRuntime(14356):    at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
  E/AndroidRuntime(14356):    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
  E/AndroidRuntime(14356):    at android.app.Instrumentation.newApplication(Instrumentation.java:1088)
  E/AndroidRuntime(14356):    at android.app.LoadedApk.makeApplication(LoadedApk.java:987)
  E/AndroidRuntime(14356):    ... 9 more
  
  </code></pre>