Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem in building android #96

Open
mojtabaasadi opened this issue Sep 7, 2022 · 0 comments
Open

problem in building android #96

mojtabaasadi opened this issue Sep 7, 2022 · 0 comments

Comments

@mojtabaasadi
Copy link

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 .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant