Navigation Architecture Component - New Resource dialog doesn't have Navigation resource type for navigation graph

前端 未结 5 989
天命终不由人
天命终不由人 2020-12-31 00:13

New Resource dialog doesn\'t have Navigation resource type for navigation graph even after adding Navigation Architecture Component dependencies

def nav_ver         


        
5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-31 00:47

    Make sure that you checked the box Settings -> Experimental -> Enable Navigation Editor.

    The Navigation Editor is an experimental feature, so you must first enable it by opening the IDE Settings/Preferences dialog, selecting Experimental in the left pane, and checking the box next to Enable Navigation Editor.

    Help -> What's New in Android (Android Studio 3.2 Beta 1)

    after that , restart Android Studio

提交回复
热议问题