react-native-mapbox-gl icon indicating copy to clipboard operation
react-native-mapbox-gl copied to clipboard

fail to build android project

Open shay-te opened this issue 3 years ago • 2 comments


> 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());
                    ~~~~~~~

shay-te avatar Feb 06 '22 10:02 shay-te

any update?

javadmsd avatar Oct 20 '22 14:10 javadmsd

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

  android {
      lintOptions {
          abortOnError false
      }
  }

does not solve it..

triptec avatar Nov 23 '22 10:11 triptec