NavHostFragment not accessible from XML

前端 未结 6 1603
天涯浪人
天涯浪人 2021-02-14 06:08

I wanted to try new Navigation library. After following this guideline I experienced error at runtime:

Caused by: android.view.InflateException: Binary XML file          


        
6条回答
  •  鱼传尺愫
    2021-02-14 06:35

    Yep, as mentioned by Levi Albuquerque, this is a known bug in latest Canary Android Studio release (14). You can vote to this bug, subscribe and provide some useful information here.

    Update:

    Issue will be fixed in Android Gradle plugin 3.2.0-alpha17

提交回复
热议问题