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

fail to build android project #1715

Open
shay-te opened this issue Feb 6, 2022 · 2 comments
Open

fail to build android project #1715

shay-te opened this issue Feb 6, 2022 · 2 comments

Comments

@shay-te
Copy link

shay-te commented Feb 6, 2022

> Task :react-native-mapbox-gl_maps:lint FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-mapbox-gl_maps:lint'.
> Lint found errors in the project; aborting build.
  
  Fix the issues identified by lint, or add the following to your build script to proceed with errors:
  ...
  android {
      lintOptions {
          abortOnError false
      }
  }
  ...
  
  Errors found:
  
  /Users/shaytessler/Desktop/dev/objective-love-mobile/node_modules/@react-native-mapbox-gl/maps/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLShapeSourceManager.java:92: Error: The logging tag can be at most 23 characters, was 24 (RCTMGLShapeSourceManager) [LongLogTag]
              Log.w(LOG_TAG, e.getLocalizedMessage());
                    ~~~~~~~
@triptec
Copy link

triptec commented Nov 23, 2022

Did @shay-te or @javadmsd solve it?
Adding

  android {
      lintOptions {
          abortOnError false
      }
  }

does not solve it..

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

3 participants
@triptec @shay-te and others