skip to Main Content

Android Studio – "error: package R does not exist" in Navigation after adding Assets folder: Android Studio

Since adding an Assets folder to my project I now get: error: package R does not exist "return new ActionOnlyNavDirections(R.id.action_newAlarmFragment_to_homeFragment);" which is from this auto generated code: import androidx.annotation.NonNull; import androidx.navigation.ActionOnlyNavDirections; import androidx.navigation.NavDirections; public class SetNewAlarmFragmentDirections { private SetNewAlarmFragmentDirections() {…

VIEW QUESTION
Back To Top
Search