Skip to content

problem in building android #96

@mojtabaasadi

Description

@mojtabaasadi

Hi ,
I was tying to build android debug apk , i face this error

E:\projects\komodaamonorepo\node_modules\react-native-audiowaveform\android\src\main\java\com\otomogroove\OGReactNativeWaveform\OGWaveManager.java:3: error: package android.support.annotation does not exist
import android.support.annotation.Nullable;
                                 ^
E:\projects\komodaamonorepo\node_modules\react-native-audiowaveform\android\src\main\java\com\otomogroove\OGReactNativeWaveform\OGWaveManager.java:81: error: cannot find symbol
    public void setSrc(OGWaveView view, @Nullable ReadableMap src) {
                                         ^
  symbol:   class Nullable
  location: class OGWaveManager
E:\projects\komodaamonorepo\node_modules\react-native-audiowaveform\android\src\main\java\com\otomogroove\OGReactNativeWaveform\OGWaveManager.java:102: error: cannot find symbol
    public void setWaveFormStyle(OGWaveView view, @Nullable ReadableMap waveFormStyle) {
                                                   ^
  symbol:   class Nullable
  location: class OGWaveManager
E:\projects\komodaamonorepo\node_modules\react-native-audiowaveform\android\src\main\java\com\otomogroove\OGReactNativeWaveform\OGWaveManager.java:109: error: cannot find symbol
    public void setPlay(OGWaveView view, @Nullable boolean play) {
                                          ^
  symbol:   class Nullable
  location: class OGWaveManager
E:\projects\komodaamonorepo\node_modules\react-native-audiowaveform\android\src\main\java\com\otomogroove\OGReactNativeWaveform\OGWaveManager.java:152: error: cannot find symbol
                           @Nullable WritableMap params) {
                            ^
  symbol:   class Nullable
  location: class OGWaveManager
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
5 errors

FAILURE: Build failed with an exception.```



don't know how to resolve it.
thanks for your efforts on this package by the way .

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