This message was deleted.
# android
s
This message was deleted.
j
Hey. This error is too generic to give any helpful advice I think.. Can you please share the complete stacktrace or even better a build scan (run with
--scan
and share the link you get then). Chances are higher that someone might have seen this before and can help.
n
E/AndroidRuntime: FATAL EXCEPTION: main Process: co.gradeup.android, PID: 31399 java.lang.NoSuchMethodError: No static method setContent$default(Landroidx/activity/ComponentActivity;Landroidx/compose/runtime/CompositionContext;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V in class Landroidx/activity/compose/ComponentActivityKt; or its super classes (declaration of 'androidx.activity.compose.ComponentActivityKt' appears in /data/app/~~3hRwWrB27pXpRe9a2Qcsaw==/co.gradeup.android-1Tv-bkM41TRUHWvXzY-AaQ==/base.apk) at co.gradeup.android.view.compose.ComposeActivity.onCreate(ComposeActivity.kt:12) at android.app.Activity.performCreate(Activity.java:8395) at android.app.Activity.performCreate(Activity.java:8374) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1403) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3837) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4006) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:111) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2466) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:240) at android.os.Looper.loop(Looper.java:351) at android.app.ActivityThread.main(ActivityThread.java:8321) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1012)
c
n
Yes @Colton Idle. This is the issue but none of the solutions mentioned worked for me 😞
c
Do you use buildSrc?
n
Yes
Ho do I solve it?