小编Sku*_*nka的帖子

Navigation component - No Directions class generated

I have a fragment A where an action is originated to fragment B which have to receive an argument. When I try to set the argument before navigate, 'FragmentADirections' class can't be resolve. The fact is, I have a fragment C going to D with an argument to and this work well for these two.

Fragment A class ('EntrainementAction'):

    package com.example.androidsportsomveille.Fragments;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import …
Run Code Online (Sandbox Code Playgroud)

navigation android android-studio android-architecture-navigation

8
推荐指数
3
解决办法
4068
查看次数

Flutter 需要 Android SDK 29 和 Android BuildTools 28.0.3,同时拥有两者

我尝试按照官方文档安装 Flutter,但是当我运行flutter doctor 时出现以下问题(这是我的标题): 颤振医生错误

在 Android Studio 中,我安装了以下 SDK:

安卓 SDK 29

安卓构建工具 28.0.3

我检查了这些链接,但没有一个帮助我:

有人有想法吗?

sdk android flutter

5
推荐指数
3
解决办法
7636
查看次数