Skip to content

An error occurs when compiling the apk file #3

@kitolog

Description

@kitolog

Hi, when I'm running gradlew assembleRelease, I got this error:
.../node_modules/react-native-player/android/player/src/main/java/com/xeodou/rctplayer/ReactAudio.java:203: error: cannot find symbol
public void onLoadCompleted(int sourceId, long bytesLoaded, int type, int trigger, Format format,
^
symbol: class Format
location: class ReactAudio
.../node_modules/react-native-player/android/player/src/main/java/com/xeodou/rctplayer/ReactAudio.java:206: error: cannot find symbol
sendEvent("loadCompleted", params);
^
symbol: variable params
location: class ReactAudio
2 errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions