Android IDE (AIDE) Support Forum

Aide bug How to fix Any one know

java.lang.NoClassDefFoundError: Failed resolution of: Landroid/arch/core/internal/FastSafeIterableMap;
at android.arch.lifecycle.LifecycleRegistry.(LifecycleRegistry.java:59)
at android.support.v4.app.SupportActivity.(SupportActivity.java:47)
at android.support.v4.app.BaseFragmentActivityApi14.(BaseFragmentActivityApi14.java:28)
at android.support.v4.app.BaseFragmentActivityApi16.(BaseFragmentActivityApi16.java:34)
at android.support.v4.app.FragmentActivity.(FragmentActivity.java:68)
at com.facebook.FacebookActivity.(FacebookActivity.java:53)
at java.lang.Class.newInstance(Native Method)
at android.app.AppComponentFactory.instantiateActivity(AppComponentFactory.java:69)
at android.app.Instrumentation.newActivity(Instrumentation.java:1216)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2864)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3081)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1831)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6810)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
Caused by: java.lang.ClassNotFoundException: Didn’t find class “android.arch.core.internal.FastSafeIterableMap” on path: DexPathList[[zip file “/system/framework/org.apache.http.legacy.boot.jar”, zip file “/data/app/com.android.programming-UoX5cQXbfhfKeMUQOwdn2A==/base.apk”],nativeLibraryDirectories=[/data/app/com.android.programming-UoX5cQXbfhfKeMUQOwdn2A==/lib/arm64, /system/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
… 21 more

add lib dependencies
implementation ‘androidx.lifecycle:lifecycle-livedata:2.0.0-rc01+’

I think this happened to many of Aide user. Even I was facing for a week .Then I found a common solution.
Just add
implementation ‘android.arch.core:runtime:1.1.1’
In your Project build.gradle