Android中rememberNavController出现无明确提示报错的问题求助
各位大佬好!我最近做Android开发的时候卡壳了:用下面这段代码的时候,rememberNavController()相关的部分全红了——不管是对应的导入语句,还是调用这个方法的地方都标红,但我完全看不到具体的错误提示内容。我已经在代码里标注了出错的位置,麻烦大家帮我排查下问题出在哪呀?
以下是我的代码:
package com.example.appname /* * Copyright 2025 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licens
内容来源于stack exchange
相关产品推荐
相关产品推荐

