Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2020-08-18 23:07:32.765 8128-8128/com.example.android.templeapp D/AndroidRuntime: Shutting down VM
- 2020-08-18 23:07:32.769 8128-8128/com.example.android.templeapp E/AndroidRuntime: FATAL EXCEPTION: main
- Process: com.example.android.templeapp, PID: 8128
- 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.
- at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2913)
- at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3048)
- at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
- at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
- at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
- at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808)
- at android.os.Handler.dispatchMessage(Handler.java:106)
- at android.os.Looper.loop(Looper.java:193)
- at android.app.ActivityThread.main(ActivityThread.java:6669)
- at java.lang.reflect.Method.invoke(Native Method)
- at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
- at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
- Caused by: android.view.InflateException: Binary XML file line #10: Binary XML file line #10: You must supply a layout_height attribute.
- Caused by: java.lang.UnsupportedOperationException: Binary XML file line #10: You must supply a layout_height attribute.
- at android.content.res.TypedArray.getLayoutDimension(TypedArray.java:779)
- at android.view.ViewGroup$LayoutParams.setBaseAttributes(ViewGroup.java:7758)
- at android.view.ViewGroup$MarginLayoutParams.<init>(ViewGroup.java:7949)
- at android.widget.LinearLayout$LayoutParams.<init>(LinearLayout.java:1997)
- at android.widget.LinearLayout.generateLayoutParams(LinearLayout.java:1895)
- at android.widget.LinearLayout.generateLayoutParams(LinearLayout.java:87)
- at android.view.LayoutInflater.rInflate(LayoutInflater.java:865)
- at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
- at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
- at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
- at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
- at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:555)
- at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:161)
- at com.example.android.templeapp.MainActivity.onCreate(MainActivity.java:12)
- at android.app.Activity.performCreate(Activity.java:7136)
- at android.app.Activity.performCreate(Activity.java:7127)
- at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
- at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2893)
- at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3048)
- at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
- at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
- at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
- at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808)
- at android.os.Handler.dispatchMessage(Handler.java:106)
- at android.os.Looper.loop(Looper.java:193)
- at android.app.ActivityThread.main(ActivityThread.java:6669)
- at java.lang.reflect.Method.invoke(Native Method)
- at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
- at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
- 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