I am getting this error in with my Android app

Hi All,
I am using Nutmeg version with Tutor in my Production Env but i am facing an issue with my mobile app. User cannot sign up or sign in into the app and i am getting this error I am using this Release Release 3.2.6 · openedx/edx-app-android · GitHub version of Android app code. Using Windows Laptop to compile mobile app.

2023-02-01 22:35:15.958 4072-4072/com.appuser.user E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.appuser.user, PID: 4072
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.appuser.user/org.edx.mobile.view.RegisterActivity}: java.lang.RuntimeException: java.lang.InstantiationException: java.lang.Class<org.edx.mobile.util.Config$ApiUrlVersionConfig> has no zero argument constructor
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4166)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4312)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
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:2571)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8741)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
Caused by: java.lang.RuntimeException: java.lang.InstantiationException: java.lang.Class<org.edx.mobile.util.Config$ApiUrlVersionConfig> has no zero argument constructor
at org.edx.mobile.util.Config.getObjectOrNewInstance(Config.java:783)
at org.edx.mobile.util.Config.getApiUrlVersionConfig(Config.java:760)
at org.edx.mobile.view.RegisterActivity.getRegistrationForm(RegisterActivity.java:272)
at org.edx.mobile.view.RegisterActivity.onCreate(RegisterActivity.java:190)
at android.app.Activity.performCreate(Activity.java:8578)
at android.app.Activity.performCreate(Activity.java:8557)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1384)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4147)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4312)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
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:2571)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8741)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
Caused by: java.lang.InstantiationException: java.lang.Class<org.edx.mobile.util.Config$ApiUrlVersionConfig> has no zero argument constructor
at java.lang.Class.newInstance(Native Method)
at org.edx.mobile.util.Config.getObjectOrNewInstance(Config.java:781)
at org.edx.mobile.util.Config.getApiUrlVersionConfig(Config.java:760)
at org.edx.mobile.view.RegisterActivity.getRegistrationForm(RegisterActivity.java:272)
at org.edx.mobile.view.RegisterActivity.onCreate(RegisterActivity.java:190)
at android.app.Activity.performCreate(Activity.java:8578)
at android.app.Activity.performCreate(Activity.java:8557)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1384)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4147)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4312)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
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:2571)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8741)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)

Hi @johnnyak , @SIDDHARTH_KALE , @Melsu ,

I am really sorry to tag you like this in discussion forum but I am in dire need thats why actually android and ios app don’t have any proper documentation. I am requesting you please help me in your spare time my team tried to build the app but we are not getting any success please help us since you are using mobile app for your refernce I have put all the logs into my thread.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.