vrooming13 / Heallo

0 stars 0 forks source link

[ERROR] activity_main.xml 컴포넌트 변수명 에러 [해결]. #1

Open namjh654 opened 3 years ago

namjh654 commented 3 years ago

activity_main.xml

E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.heallo, PID: 28302 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.heallo/com.example.heallo.MainActivity}: android.view.InflateException: Binary XML file line #37 in com.example.heallo:layout/activity_main: Binary XML file line #37 in com.example.heallo:layout/activity_main: Error inflating class ListViewView at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3449) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3601) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85) 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:2066) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:223) at android.app.ActivityThread.main(ActivityThread.java:7656) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947) Caused by: android.view.InflateException: Binary XML file line #37 in com.example.heallo:layout/activity_main: Binary XML file line #37 in com.example.heallo:layout/activity_main: Error inflating class ListViewView Caused by: android.view.InflateException: Binary XML file line #37 in com.example.heallo:layout/activity_main: Error inflating class ListViewView Caused by: java.lang.ClassNotFoundException: android.view.ListViewView at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:454) at android.view.LayoutInflater.createView(LayoutInflater.java:813) at android.view.LayoutInflater.createView(LayoutInflater.java:774) at android.view.LayoutInflater.onCreateView(LayoutInflater.java:911) at com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:68) at android.view.LayoutInflater.onCreateView(LayoutInflater.java:928) at android.view.LayoutInflater.onCreateView(LayoutInflater.java:948) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1002) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:959) at android.view.LayoutInflater.rInflate(LayoutInflater.java:1121) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1082) at android.view.LayoutInflater.rInflate(LayoutInflater.java:1124) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1082) at android.view.LayoutInflater.rInflate(LayoutInflater.java:1124) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1082) at android.view.LayoutInflater.inflate(LayoutInflater.java:680) at android.view.LayoutInflater.inflate(LayoutInflater.java:532) at android.view.LayoutInflater.inflate(LayoutInflater.java:479) at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:555) at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:161) at com.example.heallo.MainActivity.onCreate(MainActivity.kt:9) at android.app.Activity.performCreate(Activity.java:8000) at android.app.Activity.performCreate(Activity.java:7984) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3422) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3601) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85) 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:2066) at android.os.Handler.dispatchMessage(Handler.java:106)

    ----------------

    listview 명 변경.