Advertisement
Guest User

font error

a guest
Jun 25th, 2021
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.06 KB | None | 0 0
  1. Process: com.guru.composecookbook, PID: 8865
  2. java.lang.NoSuchMethodError: No static method Font$default(ILandroidx/compose/ui/text/font/FontWeight;Landroidx/compose/ui/text/font/FontStyle;ILjava/lang/Object;)Landroidx/compose/ui/text/font/Font; in class Landroidx/compose/ui/text/font/FontKt; or its super classes (declaration of 'androidx.compose.ui.text.font.FontKt' appears in /data/app/com.guru.composecookbook-Cz4n7eoUtRe7BWD5GpNhIw==/base.apk)
  3. at com.guru.fontawesomecomposelib.FaIconKt.getFontFamily(FaIcon.kt:61)
  4. at com.guru.fontawesomecomposelib.FaIconKt.FaIcon-EfRbmQ0(FaIcon.kt:44)
  5. at com.guru.composecookbook.ComposableSingletons$MainActivityKt$lambda-1$1.invoke(MainActivity.kt:123)
  6. at com.guru.composecookbook.ComposableSingletons$MainActivityKt$lambda-1$1.invoke(MainActivity.kt:122)
  7. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
  8. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
  9. at androidx.compose.material.BottomNavigationKt.BottomNavigationItemBaselineLayout(BottomNavigation.kt:262)
  10. at androidx.compose.material.BottomNavigationKt.access$BottomNavigationItemBaselineLayout(BottomNavigation.kt:1)
  11. at androidx.compose.material.BottomNavigationKt$BottomNavigationItem$2$1.invoke(BottomNavigation.kt:190)
  12. at androidx.compose.material.BottomNavigationKt$BottomNavigationItem$2$1.invoke(BottomNavigation.kt:187)
  13. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:116)
  14. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
  15. at androidx.compose.material.BottomNavigationKt$BottomNavigationTransition$1.invoke(BottomNavigation.kt:239)
  16. at androidx.compose.material.BottomNavigationKt$BottomNavigationTransition$1.invoke(BottomNavigation.kt:238)
  17. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
  18. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
  19. at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:215)
  20. at androidx.compose.material.BottomNavigationKt.BottomNavigationTransition-Klgx-Pg(BottomNavigation.kt:235)
  21. at androidx.compose.material.BottomNavigationKt.BottomNavigationItem-jY6E1Zs(BottomNavigation.kt:183)
  22. at com.guru.composecookbook.MainActivityKt$BottomNavigationContent$1.invoke(MainActivity.kt:121)
  23. at com.guru.composecookbook.MainActivityKt$BottomNavigationContent$1.invoke(MainActivity.kt:120)
  24. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:116)
  25. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
  26. at androidx.compose.material.BottomNavigationKt$BottomNavigation$1.invoke(BottomNavigation.kt:430)
  27. at androidx.compose.material.BottomNavigationKt$BottomNavigation$1.invoke(BottomNavigation.kt:102)
  28. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
  29. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
  30. at androidx.compose.material.SurfaceKt$Surface$6.invoke(Surface.kt:267)
  31. at androidx.compose.material.SurfaceKt$Surface$6.invoke(Surface.kt:254)
  32. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
  33. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
  34. at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:215)
  35. at androidx.compose.material.SurfaceKt.Surface-F-jzlyU(Surface.kt:251)
  36. at androidx.compose.material.SurfaceKt.Surface-F-jzlyU(Surface.kt:110)
  37. at androidx.compose.material.BottomNavigationKt.BottomNavigation-PEIptTM(BottomNavigation.kt:97)
  38. at com.guru.composecookbook.MainActivityKt.BottomNavigationContent(MainActivity.kt:120)
  39. at com.guru.composecookbook.MainActivityKt.MainAppContent(MainActivity.kt:105)
  40. 2021-06-26 09:33:54.322 8865-8865/com.guru.composecookbook E/AndroidRuntime: at com.guru.composecookbook.MainActivity$onCreate$1$1.invoke(MainActivity.kt:43)
  41. at com.guru.composecookbook.MainActivity$onCreate$1$1.invoke(MainActivity.kt:42)
  42. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
  43. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
  44. at com.guru.composecookbook.MainActivityKt$BaseView$1.invoke(MainActivity.kt:63)
  45. at com.guru.composecookbook.MainActivityKt$BaseView$1.invoke(MainActivity.kt:62)
  46. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
  47. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
  48. at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:215)
  49. at androidx.compose.material.TextKt.ProvideTextStyle(Text.kt:252)
  50. at androidx.compose.material.MaterialThemeKt$MaterialTheme$1.invoke(MaterialTheme.kt:81)
  51. at androidx.compose.material.MaterialThemeKt$MaterialTheme$1.invoke(MaterialTheme.kt:80)
  52. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
  53. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
  54. at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:215)
  55. at androidx.compose.material.MaterialThemeKt.MaterialTheme(MaterialTheme.kt:72)
  56. at com.guru.composecookbook.theme.ThemeKt.ComposeCookBookTheme(Theme.kt:130)
  57. at com.guru.composecookbook.MainActivityKt.BaseView(MainActivity.kt:62)
  58. at com.guru.composecookbook.MainActivity$onCreate$1.invoke(MainActivity.kt:42)
  59. at com.guru.composecookbook.MainActivity$onCreate$1.invoke(MainActivity.kt:39)
  60. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
  61. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
  62. at androidx.compose.ui.platform.ComposeView.Content(ComposeView.android.kt:384)
  63. at androidx.compose.ui.platform.AbstractComposeView$ensureCompositionCreated$1.invoke(ComposeView.android.kt:228)
  64. at androidx.compose.ui.platform.AbstractComposeView$ensureCompositionCreated$1.invoke(ComposeView.android.kt:227)
  65. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
  66. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
  67. at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:215)
  68. at androidx.compose.ui.platform.CompositionLocalsKt.ProvideCommonCompositionLocals(CompositionLocals.kt:148)
  69. at androidx.compose.ui.platform.AndroidCompositionLocals_androidKt$ProvideAndroidCompositionLocals$3.invoke(AndroidCompositionLocals.android.kt:114)
  70. at androidx.compose.ui.platform.AndroidCompositionLocals_androidKt$ProvideAndroidCompositionLocals$3.invoke(AndroidCompositionLocals.android.kt:113)
  71. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
  72. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
  73. at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:215)
  74. at androidx.compose.ui.platform.AndroidCompositionLocals_androidKt.ProvideAndroidCompositionLocals(AndroidCompositionLocals.android.kt:106)
  75. at androidx.compose.ui.platform.WrappedComposition$setContent$1$1$3.invoke(Wrapper.android.kt:162)
  76. at androidx.compose.ui.platform.WrappedComposition$setContent$1$1$3.invoke(Wrapper.android.kt:161)
  77. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
  78. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
  79. at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:215)
  80. at androidx.compose.ui.platform.WrappedComposition$setContent$1$1.invoke(Wrapper.android.kt:161)
  81. 2021-06-26 09:33:54.323 8865-8865/com.guru.composecookbook E/AndroidRuntime: at androidx.compose.ui.platform.WrappedComposition$setContent$1$1.invoke(Wrapper.android.kt:144)
  82. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
  83. at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
  84. at androidx.compose.runtime.ComposerKt.invokeComposable(Composer.kt:3324)
  85. at androidx.compose.runtime.ComposerImpl$doCompose$2$5.invoke(Composer.kt:2575)
  86. at androidx.compose.runtime.ComposerImpl$doCompose$2$5.invoke(Composer.kt:2571)
  87. at androidx.compose.runtime.SnapshotStateKt.observeDerivedStateRecalculations(SnapshotState.kt:523)
  88. at androidx.compose.runtime.ComposerImpl.doCompose(Composer.kt:2564)
  89. at androidx.compose.runtime.ComposerImpl.composeContent$runtime_release(Composer.kt:2515)
  90. at androidx.compose.runtime.CompositionImpl.composeContent(Composition.kt:476)
  91. at androidx.compose.runtime.Recomposer.composeInitial$runtime_release(Recomposer.kt:727)
  92. at androidx.compose.runtime.CompositionImpl.setContent(Composition.kt:432)
  93. at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:144)
  94. at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:135)
  95. at androidx.compose.ui.platform.AndroidComposeView.setOnViewTreeOwnersAvailable(AndroidComposeView.android.kt:724)
  96. at androidx.compose.ui.platform.WrappedComposition.setContent(Wrapper.android.kt:135)
  97. at androidx.compose.ui.platform.WrappedComposition.onStateChanged(Wrapper.android.kt:187)
  98. at androidx.lifecycle.LifecycleRegistry$ObserverWithState.dispatchEvent(LifecycleRegistry.java:354)
  99. at androidx.lifecycle.LifecycleRegistry.addObserver(LifecycleRegistry.java:196)
  100. at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:142)
  101. at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:135)
  102. at androidx.compose.ui.platform.AndroidComposeView.onAttachedToWindow(AndroidComposeView.android.kt:811)
  103. at android.view.View.dispatchAttachedToWindow(View.java:19553)
  104. at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3430)
  105. at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3437)
  106. at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3437)
  107. at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3437)
  108. at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3437)
  109. at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2028)
  110. at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1721)
  111. at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7598)
  112. at android.view.Choreographer$CallbackRecord.run(Choreographer.java:966)
  113. at android.view.Choreographer.doCallbacks(Choreographer.java:790)
  114. at android.view.Choreographer.doFrame(Choreographer.java:725)
  115. at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:951)
  116. at android.os.Handler.handleCallback(Handler.java:883)
  117. at android.os.Handler.dispatchMessage(Handler.java:100)
  118. at android.os.Looper.loop(Looper.java:214)
  119. at android.app.ActivityThread.main(ActivityThread.java:7356)
  120. at java.lang.reflect.Method.invoke(Native Method)
  121. at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
  122. at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement