Skip to content

安卓build失败 #38

Description

@Calvin92

Hi, 亲:
我在安卓下的报错信息如下:
/Users/ruanjiawei/workingspace/aurora-react-native/android/app/src/main/java/com/aurorarn/MainActivity.java:6: 错误: 找不到符号
public static Activity activity;
^
符号: 类 Activity
位置: 类 MainActivity
1 个错误
:app:compileDebugJavaWithJavac FAILED

FAILURE: Build failed with an exception.

请问这怎么修改?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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