Advertisement
Guest User

Untitled

a guest
Aug 18th, 2020
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.14 KB | None | 0 0
  1. 2020-08-18 23:07:32.765 8128-8128/com.example.android.templeapp D/AndroidRuntime: Shutting down VM
  2. 2020-08-18 23:07:32.769 8128-8128/com.example.android.templeapp E/AndroidRuntime: FATAL EXCEPTION: main
  3. Process: com.example.android.templeapp, PID: 8128
  4. java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.android.templeapp/com.example.android.templeapp.MainActivity}: android.view.InflateException: Binary XML file line #10: Binary XML file line #10: You must supply a layout_height attribute.
  5. at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2913)
  6. at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3048)
  7. at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
  8. at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
  9. at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
  10. at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808)
  11. at android.os.Handler.dispatchMessage(Handler.java:106)
  12. at android.os.Looper.loop(Looper.java:193)
  13. at android.app.ActivityThread.main(ActivityThread.java:6669)
  14. at java.lang.reflect.Method.invoke(Native Method)
  15. at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
  16. at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
  17. Caused by: android.view.InflateException: Binary XML file line #10: Binary XML file line #10: You must supply a layout_height attribute.
  18. Caused by: java.lang.UnsupportedOperationException: Binary XML file line #10: You must supply a layout_height attribute.
  19. at android.content.res.TypedArray.getLayoutDimension(TypedArray.java:779)
  20. at android.view.ViewGroup$LayoutParams.setBaseAttributes(ViewGroup.java:7758)
  21. at android.view.ViewGroup$MarginLayoutParams.<init>(ViewGroup.java:7949)
  22. at android.widget.LinearLayout$LayoutParams.<init>(LinearLayout.java:1997)
  23. at android.widget.LinearLayout.generateLayoutParams(LinearLayout.java:1895)
  24. at android.widget.LinearLayout.generateLayoutParams(LinearLayout.java:87)
  25. at android.view.LayoutInflater.rInflate(LayoutInflater.java:865)
  26. at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
  27. at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
  28. at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
  29. at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
  30. at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:555)
  31. at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:161)
  32. at com.example.android.templeapp.MainActivity.onCreate(MainActivity.java:12)
  33. at android.app.Activity.performCreate(Activity.java:7136)
  34. at android.app.Activity.performCreate(Activity.java:7127)
  35. at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
  36. at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2893)
  37. at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3048)
  38. at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
  39. at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
  40. at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
  41. at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808)
  42. at android.os.Handler.dispatchMessage(Handler.java:106)
  43. at android.os.Looper.loop(Looper.java:193)
  44. at android.app.ActivityThread.main(ActivityThread.java:6669)
  45. at java.lang.reflect.Method.invoke(Native Method)
  46. at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
  47. at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
  48. 2020-08-18 23:07:32.785 8128-8128/com.example.android.templeapp I/Process: Sending signal. PID: 8128 SIG: 9
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement