TeamAmaze / TeamAmaze/AmazeFileManager

Crash on startup in Android 9

Open
#2,105 5 comments 0 reactions 1 assignee View on GitHub

@VishalNehra is already working on this.

Since Dec 2, 2020.

From-Email Issue-Bug Issue-Severe (high)
Dominant language
Kotlin
Stars
6.4k
Forks
1.7k
Avg merge
3d 9h
Merged PRs (30d)
1

Description

Exception

  • User Action: UI Error
  • Request: Application crash
  • Version: 3.5.2
  • OS: Linux Android 10 - 29
  • Device: HWCLT
  • Model: CLT-L29
  • Product: CLT-L29
Crash log

 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3782)
 at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3961)
 at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:91)
 at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149)
 at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103)
 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2386)
 at android.os.Handler.dispatchMessage(Handler.java:107)
 at android.os.Looper.loop(Looper.java:213)
 at android.app.ActivityThread.main(ActivityThread.java:8178)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1101)
Caused by: android.view.InflateException: Binary XML file line #78 in com.amaze.filemanager:layout/main_toolbar: Binary XML file line #78: You must supply a layout_width attribute.
Caused by: java.lang.UnsupportedOperationException: Binary XML file line #78: You must supply a layout_width attribute.
 at android.content.res.TypedArray.getLayoutDimension(TypedArray.java:990)
 at android.view.ViewGroup$LayoutParams.setBaseAttributes(ViewGroup.java:8032)
 at android.view.ViewGroup$MarginLayoutParams.<init>(ViewGroup.java:8230)
 at androidx.drawerlayout.widget.DrawerLayout$LayoutParams.<init>(DrawerLayout.java:2319)
 at androidx.drawerlayout.widget.DrawerLayout.generateLayoutParams(DrawerLayout.java:1906)
 at android.view.LayoutInflater.rInflate(LayoutInflater.java:1135)
 at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1094)
 at android.view.LayoutInflater.inflate(LayoutInflater.java:692)
 at android.view.LayoutInflater.inflate(LayoutInflater.java:536)
 at android.view.LayoutInflater.inflate(LayoutInflater.java:483)
 at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:555)
 at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:161)
 at com.amaze.filemanager.ui.activities.MainActivity.onCreate(MainActivity.java:273)
 at android.app.Activity.performCreate(Activity.java:8086)
 at android.app.Activity.performCreate(Activity.java:8074)
 at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1313)
 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3755)
 at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3961)
 at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:91)
 at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149)
 at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103)
 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2386)
 at android.os.Handler.dispatchMessage(Handler.java:107)
 at android.os.Looper.loop(Looper.java:213)
 at android.app.ActivityThread.main(ActivityThread.java:8178)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1101)```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.