java.lang.RuntimeException: Unable to start activity ComponentInfo{com.my.personal.project/com.my.personal.project.MainActivity}: android.view.InflateException: Binary XML file line #16: Binary XML file line #16: Error inflating class android.support.design.widget.NavigationView

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    My app is crashing when I use proguard obfuscation (Android Jack compiler)

    Stack Overflow | 5 months ago | Pelayo Rodriguez
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.my.personal.project/com.my.personal.project.MainActivity}: android.view.InflateException: Binary XML file line #16: Binary XML file line #16: Error inflating class android.support.design.widget.NavigationView

    Root Cause Analysis

    1. java.lang.VerifyError

      Rejecting class android.support.v7.widget.r because it failed compile-time verification (declaration of 'android.support.v7.widget.r' appears in /data/app/com.my.personal.project-2/base.apk)

      at android.support.v7.widget.bw.<init>()
    2. Android v7
      bw.<init>
      1. android.support.v7.widget.bw.<init>(Unknown Source)
      1 frame
    3. android.support.design
      NavigationMenuView.<init>
      1. android.support.design.internal.NavigationMenuView.<init>(Unknown Source)
      1 frame