Skip to content

编译出问题了 Task :app:compileDebugJavaWithJavac FAILED #203

@kelleryun

Description

@kelleryun

安装没问题.
编译错误:> Task :app:compileDebugJavaWithJavac FAILED

Task :app:compileDebugJavaWithJavac FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.2/userguide/command_line_interface.html#sec:command_line_warnings
269 actionable tasks: 30 executed, 239 up-to-date
D:\program\migu\android\app\build\generated\rncli\src\main\java\com\facebook\react\PackageList.java:83: ����: �޷����� JMessageReactPackage�еĹ����� JMessageReactPackageӦ�õ���������;
new JMessageReactPackage(false),
^
��Ҫ: û�в���
�ҵ�: boolean
ԭ��: ʵ�ʲ����б�����ʽ�����б����Ȳ�ͬ
ע: D:\program\migu\android\app\src\debug\java\com\migua\ReactNativeFlipper.javaʹ�û�����ѹ�ʱ�� API��
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
1 ������

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions