求助!第一行代码第二版使用 LitePal 删除数据库的表,闪退:Failed resolution of: Lkotlin/jvm/internal/Intrinsics

求助!第一行代码第二版使用 LitePal 删除数据库的表,闪退:Failed resolution of: Lkotlin/jvm/internal/Intrinsics

运行环境:android 9

查了一下,大概说的是缺少kotlin相关的资源,但是我是用 Java 写的,并且完全是按照官方文档提供的API写的,求大神解答!!!

错误日志:

2019-10-15 20:53:11.824 30712-30712/com.coolweather.litepaltest E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.coolweather.litepaltest, PID: 30712
    java.lang.NoClassDefFoundError: Failed resolution of: Lkotlin/jvm/internal/Intrinsics;
        at org.litepal.LitePal.deleteAll(Unknown Source:2)
        at com.coolweather.litepaltest.MainActivity$4.onClick(MainActivity.java:82)
        at android.view.View.performClick(View.java:6597)
        at android.view.View.performClickInternal(View.java:6574)
        at android.view.View.access$3100(View.java:778)
        at android.view.View$PerformClick.run(View.java:25885)
        at android.os.Handler.handleCallback(Handler.java:873)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        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: java.lang.ClassNotFoundException: Didn't find class "kotlin.jvm.internal.Intrinsics" on path: DexPathList[[zip file "/data/app/com.coolweather.litepaltest-LQr75NLx1xgCeM1J3wxoaw==/base.apk"],nativeLibraryDirectories=[/data/app/com.coolweather.litepaltest-LQr75NLx1xgCeM1J3wxoaw==/lib/x86, /system/lib]]
        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
        at org.litepal.LitePal.deleteAll(Unknown Source:2) 
        at com.coolweather.litepaltest.MainActivity$4.onClick(MainActivity.java:82) 
        at android.view.View.performClick(View.java:6597) 
        at android.view.View.performClickInternal(View.java:6574) 
        at android.view.View.access$3100(View.java:778) 
        at android.view.View$PerformClick.run(View.java:25885) 
        at android.os.Handler.handleCallback(Handler.java:873) 
        at android.os.Handler.dispatchMessage(Handler.java:99) 
        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) 

错误截图:
求助!第一行代码第二版使用 LitePal 删除数据库的表,闪退:Failed resolution of: Lkotlin/jvm/internal/Intrinsics_第1张图片求助!第一行代码第二版使用 LitePal 删除数据库的表,闪退:Failed resolution of: Lkotlin/jvm/internal/Intrinsics_第2张图片求助,不胜感激~~~

你可能感兴趣的:(求助)