روح الله مرادی
6 ماه پیش توسط روح الله مرادی مطرح شد
0 پاسخ

خطا در اندروید استودیو

Failed to execute the transaction: tId:1413281834 ClientTransaction{"
tId:1413281834 transactionItems=[
tId:1413281834 LaunchActivityItem{activityToken=android.os.BinderProxy@c1d3c55,intent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.example.my_moradi/.MainActivity_loding },ident=132999772,info=ActivityInfo{d698887 com.example.my_moradi.MainActivity_loding},curConfig={1.0 310mcc260mnc [en_US] ldltr sw360dp w360dp h592dp 320dpi nrml port finger qwerty/v/v dpad/v winConfig={ mBounds=Rect(0, 0 - 720, 1280) mAppBounds=Rect(0, 0 - 720, 1232) mMaxBounds=Rect(0, 0 - 720, 1280) mDisplayRotation=ROTATION_0 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.30 fontWeightAdjustment=0},overrideConfig={1.0 310mcc260mnc [en_US] ldltr sw360dp w360dp h592dp 320dpi nrml port finger qwerty/v/v dpad/v winConfig={ mBounds=Rect(0, 0 - 720, 1280) mAppBounds=Rect(0, 0 - 720, 1232) mMaxBounds=Rect(0, 0 - 720, 1280) mDisplayRotation=ROTATION_0 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_0} s.2 fontWeightAdjustment=0},deviceId=0,referrer=com.android.shell,procState=2,state=null,persistentState=null,pendingResults=null,pendingNewIntents=null,sceneTransitionInfo=null,profilerInfo=null,assistToken=android.os.BinderProxy@3316f08,shareableActivityToken=android.os.BinderProxy@410e6a1,activityWindowInfo=ActivityWindowInfo{isEmbedded=false, taskBounds=Rect(0, 0 - 0, 0), taskFragmentBounds=Rect(0, 0 - 0, 0)}}
tId:1413281834 ResumeActivityItem{mActivityToken=android.os.BinderProxy@c1d3c55,procState=-1,updateProcState=false,isForward=false,shouldSendCompatFakeFocus=false}
tId:1413281834 Target activity: com.example.my_moradi.MainActivity_loding
tId:1413281834 ]
tId:1413281834 }
2024-06-15 13:32:05.092 1706-1706 AndroidRuntime com.example.my_moradi D Shutting down VM
2024-06-15 13:32:05.132 1706-1706 AndroidRuntime com.example.my_moradi E FATAL EXCEPTION: main
Process: com.example.my_moradi, PID: 1706
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.my_moradi/com.example.my_moradi.MainActivity_loding}: java.lang.ClassCastException: com.google.android.material.textfield.TextInputLayout cannot be cast to android.widget.EditText
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4006)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4193)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:114)
at android.app.servertransaction.TransactionExecutor.executeNonLifecycleItem(TransactionExecutor.java:231)
at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:152)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:93)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2608)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loopOnce(Looper.java:232)
at android.os.Looper.loop(Looper.java:317)
at android.app.ActivityThread.main(ActivityThread.java:8628)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
Caused by: java.lang.ClassCastException: com.google.android.material.textfield.TextInputLayout cannot be cast to android.widget.EditText
at com.example.my_moradi.MainActivity_loding.onCreate(MainActivity_loding.java:47)
at android.app.Activity.performCreate(Activity.java:8980)
at android.app.Activity.performCreate(Activity.java:8958)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1526)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3988)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4193) 
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:114) 
at android.app.servertransaction.TransactionExecutor.executeNonLifecycleItem(TransactionExecutor.java:231) 
at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:152) 
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:93) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2608) 
at android.os.Handler.dispatchMessage(Handler.java:107) 
at android.os.Looper.loopOnce(Looper.java:232) 
at android.os.Looper.loop(Looper.java:317) 
at android.app.ActivityThread.main(ActivityThread.java:8628) 
at java.lang.reflect.Method.invoke(Native Method) 
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878) "


ثبت پرسش جدید

به همدیگه کمک کنیم

به روح الله مرادی کمک کنید تا مشکل خودش را حل کند؛ این‌طور می‌توانیم با هم پیشرفت کنیم.

برای ارسال پاسخ لازم است وارد شده یا ثبت‌نام کنید

ورود یا ثبت‌نام