rnmapbox / maps

A Mapbox react native module for creating custom maps
MIT License
2.26k stars 847 forks source link

Impossible to start / Error: Requiring unknown module "undefined". #2119

Closed Koxx3 closed 2 years ago

Koxx3 commented 2 years ago

Environment

Steps to reproduce

git clone https://github.com/rnmapbox/maps.git
cd example
# generate xxxxxxxxxxxxx access tocken with download permission
echo "xxxxxxxxxxxxx" > accesstoken 
npx yarn install
npx yarn start

Result

React app fail to start

Logs

yarn install v1.22.19
warning ..\..\..\..\..\package.json: No license field
info No lockfile found.
[1/4] Resolving packages...
warning react-native > @react-native-community/cli > @react-native-community/cli-plugin-metro > metro > metro-minify-uglify > uglify-es@3.3.9: 
support for ECMAScript is superseded by `uglify-js` as of v3.13.0
warning react-native > react-native-codegen > jscodeshift > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
warning react-native > react-native-codegen > jscodeshift > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning react-native > react-native-codegen > jscodeshift > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning react-native > react-native-codegen > jscodeshift > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
warning detox > tempfile > uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, 
which is known to be problematic.  See https://v8.dev/blog/math-random for details.
[2/4] Fetching packages...
...
[#############################################################################################################################################################################################################################################################################################
[3/4] Linking dependencies...
warning "react-native > react-native-codegen > jscodeshift@0.13.1" has unmet peer dependency "@babel/preset-env@^7.1.6".
warning " > react-navigation-stack@2.10.4" has unmet peer dependency "@react-native-community/masked-view@>=0.1.0".
...
[---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1762/186[###########################################################################################################################################################################################################################################################################################################] 1864/186[4/4] Building fresh packages...
success Saved lockfile.
$ node ./scripts/set_access_token.js && jetifier
Jetifier is deprecated. Future versions of react-native CLI may not run it by default.
Jetifier found 1249 file(s) to forward-jetify. Using 16 workers...
Jetifier: propose an AndroidX conversion PR to this repository: node_modules\detox\android\detox\src\full\java\com\wix\detox\Detox.java
Jetifier: propose an AndroidX conversion PR to this repository: node_modules\detox\android\detox\src\testFull\java\com\wix\invoke\JsonParserTest.java      
Jetifier: propose an AndroidX conversion PR to this repository: node_modules\detox\android\detox\src\testFull\java\com\wix\invoke\JsonParserTest.java      
Done in 127.60s.
yarn run v1.22.19
warning ..\..\..\..\..\package.json: No license field
$ react-native run-android
warn Package react-native-vector-icons contains invalid configuration: "dependency.assets" is not allowed. Please verify it's properly linked using "react-native config" command and contact the package maintainers about this.
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 1249 file(s) to forward-jetify. Using 16 workers...
info JS server already running.
info Installing the app...

> Task :react-native-gradle-plugin:compileKotlin
'compileJava' task (current target is 1.8) and 'compileKotlin' task (current target is 11) jvm target compatibility should be set to the same Java version.
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-gradle-plugin\src\main\kotlin\com\facebook\react\ReactExtension.kt: (10, 37): 'BaseVariant' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-gradle-plugin\src\main\kotlin\com\facebook\react\ReactExtension.kt: (119, 30): 'BaseVariant' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-gradle-plugin\src\main\kotlin\com\facebook\react\ReactExtension.kt: (135, 26): 'BaseVariant' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-gradle-plugin\src\main\kotlin\com\facebook\react\ReactExtension.kt: (157, 32): 'BaseVariant' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-gradle-plugin\src\main\kotlin\com\facebook\react\ReactExtension.kt: (163, 31): 'BaseVariant' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-gradle-plugin\src\main\kotlin\com\facebook\react\ReactExtension.kt: (171, 36): 'BaseVariant' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-gradle-plugin\src\main\kotlin\com\facebook\react\ReactPlugin.kt: (100, 48): 'reactRoot: DirectoryProperty' is deprecated. reactRoot was confusing and has been replace with root to point to your root project and reactNativeDir to point to the folder of the react-native NPM package
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-gradle-plugin\src\main\kotlin\com\facebook\react\TaskConfiguration.kt: (10, 37): 'ApplicationVariant' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-gradle-plugin\src\main\kotlin\com\facebook\react\TaskConfiguration.kt: (11, 37): 'BaseVariant' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-gradle-plugin\src\main\kotlin\com\facebook\react\TaskConfiguration.kt: (12, 37): 'LibraryVariant' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-gradle-plugin\src\main\kotlin\com\facebook\react\TaskConfiguration.kt: (27, 51): 'BaseVariant' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-gradle-plugin\src\main\kotlin\com\facebook\react\TaskConfiguration.kt: (130, 12): 'ApplicationVariant' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-gradle-plugin\src\main\kotlin\com\facebook\react\TaskConfiguration.kt: (131, 12): 'LibraryVariant' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-gradle-plugin\src\main\kotlin\com\facebook\react\TaskConfiguration.kt: (251, 14): 'BaseVariant' is deprecated. Deprecated in Java

> Task :react-native-gradle-plugin:compileJava

The Kotlin Gradle plugin was loaded multiple times in different subprojects, which is not supported and may break the build.     
This might happen in subprojects that apply the Kotlin plugins with the Gradle 'plugins { ... }' DSL if they specify explicit versions, even if the versions are equal.
Please add the Kotlin plugin to the common parent project or the root project, then remove the versions in the subprojects.      
If the parent project does not need the plugin, add 'apply false' to the plugin line.
See: https://docs.gradle.org/current/userguide/plugins.html#sec:subprojects_plugins_dsl
The Kotlin plugin was loaded in the following projects: ':rctmgl', ':react-native-screens'

> Task :react-native-gesture-handler:compileDebugJavaWithJavac

> Task :react-native-svg:compileDebugJavaWithJavac

> Task :react-native-safe-area-context:compileDebugJavaWithJavac

> Task :react-native-screens:compileDebugKotlin
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\Screen.kt: (77, 22): 'constructor GuardedRunnable(ReactContext!)' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\ScreenStackFragment.kt: (64, 28): 'setter for targetElevation: Float' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\ScreenStackFragment.kt: (120, 28): 'setter for targetElevation: Float' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\ScreenStackHeaderConfig.kt: (21, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\ScreenStackHeaderConfig.kt: (69, 47): 'RCTEventEmitter' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\ScreenStackHeaderConfig.kt: (70, 15): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\ScreenStackHeaderConfig.kt: (89, 34): 'getter for systemWindowInsetTop: Int' is deprecated. Deprecated in Java    
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\ScreenStackHeaderConfig.kt: (238, 29): 'setColorFilter(Int, PorterDuff.Mode): Unit' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\ScreenWindowTraits.kt: (63, 22): 'constructor GuardedRunnable(ReactContext!)' is deprecated. Deprecated in Java   
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\ScreenWindowTraits.kt: (108, 22): 'constructor GuardedRunnable(ReactContext!)' is deprecated. Deprecated in Java  
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\ScreenWindowTraits.kt: (117, 43): 'replaceSystemWindowInsets(Int, Int, Int, Int): WindowInsetsCompat' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\ScreenWindowTraits.kt: (118, 47): 'getter for systemWindowInsetLeft: Int' is deprecated. Deprecated in Java       
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\ScreenWindowTraits.kt: (120, 47): 'getter for systemWindowInsetRight: Int' is deprecated. Deprecated in Java      
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\ScreenWindowTraits.kt: (121, 47): 'getter for systemWindowInsetBottom: Int' is deprecated. Deprecated in Java     
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\SearchBarView.kt: (9, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\SearchBarView.kt: (122, 47): 'RCTEventEmitter' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\SearchBarView.kt: (123, 15): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java   
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\HeaderBackButtonClickedEvent.kt: (5, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\HeaderBackButtonClickedEvent.kt: (7, 51): 'constructor Event<T : Event<(raw) Event<*>>!>(Int)' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\HeaderBackButtonClickedEvent.kt: (17, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\HeaderBackButtonClickedEvent.kt: (18, 25): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. 
Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\ScreenAppearEvent.kt: (5, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\ScreenAppearEvent.kt: (7, 40): 'constructor Event<T : Event<(raw) Event<*>>!>(Int)' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\ScreenAppearEvent.kt: (13, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\ScreenAppearEvent.kt: (14, 25): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated 
in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\ScreenDisappearEvent.kt: (5, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\ScreenDisappearEvent.kt: (7, 43): 'constructor Event<T : Event<(raw) Event<*>>!>(Int)' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\ScreenDisappearEvent.kt: (13, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\ScreenDisappearEvent.kt: (14, 25): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\ScreenDismissedEvent.kt: (5, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\ScreenDismissedEvent.kt: (7, 43): 'constructor Event<T : Event<(raw) Event<*>>!>(Int)' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\ScreenDismissedEvent.kt: (13, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\ScreenDismissedEvent.kt: (17, 25): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\ScreenTransitionProgressEvent.kt: (5, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\ScreenTransitionProgressEvent.kt: (13, 5): 'constructor Event<T : Event<(raw) Event<*>>!>(Int)' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\ScreenTransitionProgressEvent.kt: (22, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\ScreenTransitionProgressEvent.kt: (27, 25): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\ScreenWillAppearEvent.kt: (5, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\ScreenWillAppearEvent.kt: (7, 44): 'constructor Event<T : Event<(raw) Event<*>>!>(Int)' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\ScreenWillAppearEvent.kt: (13, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\ScreenWillAppearEvent.kt: (14, 25): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\ScreenWillDisappearEvent.kt: (5, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\ScreenWillDisappearEvent.kt: (7, 47): 'constructor Event<T : Event<(raw) Event<*>>!>(Int)' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\ScreenWillDisappearEvent.kt: (13, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\ScreenWillDisappearEvent.kt: (14, 25): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\StackFinishTransitioningEvent.kt: (5, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\StackFinishTransitioningEvent.kt: (7, 52): 'constructor Event<T : Event<(raw) Event<*>>!>(Int)' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\StackFinishTransitioningEvent.kt: (13, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\events\StackFinishTransitioningEvent.kt: (14, 25): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\paper\java\com\swmansion\rnscreens\FabricEnabledViewGroup.kt: (7, 42): Parameter 'width' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\example\node_modules\react-native-screens\android\src\paper\java\com\swmansion\rnscreens\FabricEnabledViewGroup.kt: (7, 54): Parameter 'height' is never used

> Task :rctmgl:compileDebugKotlin
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\annotation\RCTMGLPointAnnotation.kt: (296, 9): Visibility modifiers are redundant in getter
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\images\RCTMGLImages.kt: (123, 43): Parameter 'map' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\images\RCTMGLImages.kt: (182, 18): 'execute(vararg Map.Entry<String, ImageEntry>!): AsyncTask<Map.Entry<String, ImageEntry>!, Void?, List<Map.Entry<String, Bitmap>>?>!' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapView.kt: (117, 64): Parameter 'cameraChangedEventData' is never used, could be renamed to _
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapView.kt: (121, 54): Parameter 'mapIdleEventData' is never used, could be renamed to _
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapView.kt: (130, 38): The corresponding parameter in the supertype 'OnMoveListener' is named 'detector'. This may cause problems when calling this function with named arguments.
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapView.kt: (135, 33): The corresponding parameter in the supertype 'OnMoveListener' is named 'detector'. This may cause problems when calling this function with named arguments.
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapView.kt: (141, 36): The corresponding parameter in the supertype 'OnMoveListener' is named 'detector'. This may cause problems when calling this function with named arguments.
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapView.kt: (165, 33): No cast needed
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapView.kt: (172, 33): No cast needed
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapView.kt: (180, 17): Variable 'marker' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapView.kt: (186, 33): No cast needed
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapView.kt: (205, 17): Elvis operator (?:) always returns the left operand of non-nullable type AbstractMapFeature
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapView.kt: (265, 9): Visibility modifiers are redundant in getter
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapView.kt: (335, 57): The corresponding parameter in the supertype 'OnMapLoadErrorListener' is named 'eventData'. This may cause problems when calling this function with named arguments.
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapView.kt: (408, 94): Unchecked cast: List<RCTSource<*>?>? to List<RCTSource<*>>?
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapView.kt: (411, 53): Unchecked cast: List<Feature?>? to List<Feature>
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapView.kt: (537, 29): Parameter 'style' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapView.kt: (594, 35): Parameter 'style' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapView.kt: (655, 40): Unnecessary non-null assertion (!!) on a non-null receiver of type CameraState
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapView.kt: (666, 38): Unnecessary non-null assertion (!!) on a non-null receiver of type CameraState
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapView.kt: (679, 13): Variable 'screenCoordinate' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapView.kt: (700, 15): 'queryRenderedFeatures(ScreenCoordinate, RenderedQueryOptions, QueryFeaturesCallback): Unit' is deprecated. Should be replaced overloaded function taking RenderedQueryGeometry and returning cancelable
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapView.kt: (753, 59): Unnecessary non-null assertion (!!) on a non-null receiver of type MapboxMap
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapView.kt: (807, 25): Unnecessary non-null assertion (!!) on a non-null receiver of type MapboxMap
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapView.kt: (831, 60): Destructured parameter 'begin' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapView.kt: (831, 67): Destructured parameter 'end' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapView.kt: (832, 76): Destructured parameter 'begin' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapView.kt: (832, 83): Destructured parameter 'end' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapView.kt: (889, 13): Variable 'right_mask' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapViewManager.kt: (42, 13): Condition 'mapView.getMapboxMap() == null' is always 'false'
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapViewManager.kt: (87, 37): Parameter 'mapView' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapViewManager.kt: (87, 62): Parameter 'preferredFramesPerSecond' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapViewManager.kt: (92, 27): Parameter 'mapView' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapViewManager.kt: (92, 52): Parameter 'localizeLabels' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapViewManager.kt: (145, 68): Unnecessary non-null assertion (!!) on a non-null receiver of type Boolean
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapViewManager.kt: (155, 66): Unnecessary non-null assertion (!!) on a non-null receiver of type Int
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapViewManager.kt: (164, 25): Parameter 'mapView' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapViewManager.kt: (164, 50): Parameter 'array' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapViewManager.kt: (169, 22): Parameter 'mapView' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapViewManager.kt: (169, 47): Parameter 'tintColor' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapViewManager.kt: (205, 13): Variable 'mapboxMap' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapViewManager.kt: (206, 13): Elvis operator (?:) always returns the left operand of non-nullable type MapboxMap
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapViewManager.kt: (230, 24): Unnecessary non-null assertion (!!) on a non-null receiver of type RCTMGLMapView
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapViewManager.kt: (232, 25): Unnecessary non-null assertion (!!) on a non-null receiver of type ReadableArray
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapViewManager.kt: (233, 25): Unnecessary non-null assertion (!!) on a non-null receiver of type ReadableArray
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapViewManager.kt: (239, 47): Unnecessary non-null assertion (!!) on a non-null receiver of type ReadableArray
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapViewManager.kt: (240, 47): Unnecessary non-null assertion (!!) on a non-null receiver of type ReadableArray
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapViewManager.kt: (241, 51): Unnecessary non-null assertion (!!) on a non-null receiver of type ReadableArray
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapViewManager.kt: (248, 51): Unnecessary non-null assertion (!!) on a non-null receiver of type ReadableArray
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\mapview\RCTMGLMapViewManager.kt: (249, 55): Unnecessary non-null assertion (!!) on a non-null receiver of type ReadableArray
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\styles\RCTMGLStyle.kt: (55, 14): 'execute(vararg Map.Entry<String, ImageEntry>!): AsyncTask<Map.Entry<String, ImageEntry>!, Void?, List<Map.Entry<String, Bitmap>>?>!' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\styles\RCTMGLStyleValue.kt: (42, 48): 'toUpperCase(): String' is deprecated. Use uppercase() instead.
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\styles\RCTMGLStyleValue.kt: (127, 16): Parameter '_key' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\styles\RCTMGLStyleValue.kt: (160, 17): Variable 'enablePlacementTransitions' is assigned but never accessed
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\styles\RCTMGLStyleValue.kt: (162, 17): The value 'config.getMap("enablePlacementTransitions")!!.getBoolean("value")' assigned to 'var enablePlacementTransitions: Boolean defined in com.mapbox.rctmgl.components.styles.RCTMGLStyleValue.<get-transition>' is never used    
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\styles\RCTMGLStyleValue.kt: (215, 25): Condition 'map != null' is always 'true'
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\styles\layers\RCTLayer.kt: (176, 13): Name shadowed: index
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\styles\layers\RCTLayer.kt: (223, 43): Parameter 'id' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\styles\layers\RCTLayer.kt: (226, 20): Unchecked cast: Layer? to T?
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\styles\layers\RCTLayer.kt: (259, 9): Visibility modifiers are redundant in getter
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\styles\layers\RCTMGLSkyLayer.kt: (32, 26): Parameter 'sourceLayerID' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\styles\light\RCTMGLLight.kt: (44, 9): Visibility modifiers are redundant in getter
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\styles\sources\RCTMGLShapeSource.kt: (40, 17): Variable 'map' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\styles\sources\RCTMGLShapeSource.kt: (65, 17): Variable 'result' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\styles\sources\RCTMGLShapeSource.kt: (185, 21): Variable 'payload' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\styles\sources\RCTMGLShapeSource.kt: (188, 25): Name shadowed: payload
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\styles\sources\RCTMGLShapeSource.kt: (214, 13): Variable '_this' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\styles\sources\RCTMGLShapeSource.kt: (239, 13): Variable '_this' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\styles\sources\RCTSource.kt: (51, 43): Parameter 'id' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\styles\sources\RCTSource.kt: (54, 20): Unchecked cast: Source? to T?
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\components\styles\terrain\RCTMGLTerrain.kt: (55, 26): Parameter 'sourceLayerID' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\modules\RCTMGLLogging.kt: (21, 21): Parameter 'eventName' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\modules\RCTMGLLogging.kt: (26, 25): Parameter 'count' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\modules\RCTMGLLogging.kt: (33, 24): Variable 'logLevel' initializer is redundant
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\modules\RCTMGLLogging.kt: (45, 59): Parameter 'tr' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\modules\RCTMGLModule.kt: (122, 32): Parameter 'tileServer' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\modules\RCTMGLOfflineModule.kt: (61, 21): Parameter 'eventName' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\modules\RCTMGLOfflineModule.kt: (66, 25): Parameter 'count' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\modules\RCTMGLOfflineModule.kt: (73, 13): Variable 'name' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\modules\RCTMGLOfflineModule.kt: (91, 35): Type mismatch: inferred type is String? but String was expected
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\modules\RCTMGLOfflineModule.kt: (428, 27): Parameter 'tileCountLimit' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\modules\RCTMGLOfflineModule.kt: (429, 13): Variable 'offlineManager' is never used
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\modules\RCTMGLOfflineModule.kt: (456, 32): Type mismatch: inferred type is String? but String was expected
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\modules\RCTMGLOfflineModule.kt: (512, 9): Visibility modifiers are redundant in getter
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\utils\DownloadMapImageTask.kt: (8, 19): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\utils\DownloadMapImageTask.kt: (31, 5): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\utils\DownloadMapImageTask.kt: (31, 5): 'constructor AsyncTask<Params : Any!, Progress : Any!, Result : Any!>()' is deprecated. Deprecated in Java     
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\utils\DownloadMapImageTask.kt: (87, 36): Type mismatch: inferred type is String? but String was expected
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\utils\GeoJSONUtils.kt: (75, 13): Elvis operator (?:) always returns the left operand of non-nullable type (Mutable)List<(Mutable)List<Point!>!>        
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\utils\Logger.kt: (9, 27): Unnecessary non-null assertion (!!) on a non-null receiver of type String
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\utils\Logger.kt: (17, 
27): Unnecessary non-null assertion (!!) on a non-null receiver of type String
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\utils\Logger.kt: (21, 
27): Unnecessary non-null assertion (!!) on a non-null receiver of type String
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\utils\Logger.kt: (25, 
27): Unnecessary non-null assertion (!!) on a non-null receiver of type String
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\utils\Logger.kt: (33, 
27): Unnecessary non-null assertion (!!) on a non-null receiver of type String
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\utils\Logger.kt: (37, 
27): Unnecessary non-null assertion (!!) on a non-null receiver of type String
w: C:\Users\Francois\Documents\PlatformIO\Projects\maps\android\rctmgl\src\main\java-v10\com\mapbox\rctmgl\utils\Logger.kt: (41, 
27): Unnecessary non-null assertion (!!) on a non-null receiver of type String

> Task :app:stripDebugDebugSymbols
Unable to strip the following libraries, packaging them as they are: libc++_shared.so, libevent-2.1.so, libevent_core-2.1.so, libevent_extra-2.1.so, libfabricjni.so, libfb.so, libfbjni.so, libflipper.so, libfolly_runtime.so, libglog.so, libglog_init.so, libimagepipeline.so, libjsc.so, libjscexecutor.so, libjsi.so, libjsijniprofiler.so, libjsinspector.so, liblogger.so, libmapbox-common.so, libmapbox-maps.so, libmapbufferjni.so, libnative-filters.so, libnative-imagetranscoder.so, libreact_codegen_rncore.so, libreact_config.so, libreact_debug.so, libreact_nativemodule_core.so, libreact_render_animations.so, libreact_render_attributedstring.so, libreact_render_componentregistry.so, libreact_render_core.so, libreact_render_debug.so, libreact_render_graphics.so, libreact_render_imagemanager.so, libreact_render_leakchecker.so, libreact_render_mapbuffer.so, libreact_render_mounting.so, libreact_render_runtimescheduler.so, libreact_render_scheduler.so, libreact_render_telemetry.so, libreact_render_templateprocessor.so, libreact_render_textlayoutmanager.so, libreact_render_uimanager.so, libreact_utils.so, libreactnativeblob.so, libreactnativejni.so, libreactnativeutilsjni.so, libreactperfloggerjni.so, librrc_image.so, librrc_root.so, librrc_scrollview.so, librrc_text.so, librrc_textinput.so, librrc_unimplementedview.so, librrc_view.so, libruntimeexecutor.so, libturbomodulejsijni.so, libyoga.so.

> Task :rctmgl:compileDebugJavaWithJavac

> Task :app:compileDebugJavaWithJavac

> Task :app:installDebug
Installing APK 'app-debug.apk' on 'Pixel 6a - 12' for app:debug
Installed on 1 device.
w: Detected multiple Kotlin daemon sessions at build\kotlin\sessions

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or 
plugins.

See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 1m
144 actionable tasks: 144 executed
info Connecting to the development server...
info Starting the app on "25231JEGR07719"...
Starting: Intent { cmp=com.rnmapboxglexample/.MainActivity }
Done in 71.85s.
mfazekas commented 2 years ago

Should be fixed now

Koxx3 commented 2 years ago

Now, after new cloning, I executed :

git clone https://github.com/rnmapbox/maps.git
cd maps
cd example
# generate xxxxxxxxxxxxx access tocken with download permission
echo "xxxxx > accesstoken 

npx yarn install
npx yarn start --reset-cache
npx yarn run android

and it still crash, but with this logcat :

2022-08-17 09:20:31.218 30318-30582/com.rnmapboxglexample W/unknown:ReactContext: initializeMessageQueueThreads() is called.
2022-08-17 09:20:31.219 30318-30582/com.rnmapboxglexample D/SoLoader: libyoga.so not found on /data/data/com.rnmapboxglexample/lib-main
2022-08-17 09:20:31.219 30318-30582/com.rnmapboxglexample D/SoLoader: libyoga.so found on /data/app/~~H5tQSQfpEz3xyzB3KGfnGQ==/com.rnmapboxglexample-gmr_3zhalLskZKlTcidt3g==/lib/arm64
2022-08-17 09:20:31.219 30318-30582/com.rnmapboxglexample D/SoLoader: Not resolving dependencies for libyoga.so
2022-08-17 09:20:31.249 30318-30582/com.rnmapboxglexample I/flipper: flipper: FlipperClient::addPlugin Fresco
2022-08-17 09:20:31.375 30318-30581/com.rnmapboxglexample E/unknown:ReactNative: Exception in native call from JS
    com.facebook.react.devsupport.JSException: Unexpected EOF
        at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
        at android.os.Handler.handleCallback(Handler.java:938)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
        at android.os.Looper.loopOnce(Looper.java:201)
        at android.os.Looper.loop(Looper.java:288)
        at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:228)
        at java.lang.Thread.run(Thread.java:920)
     Caused by: com.facebook.jni.CppException: Unexpected EOF

    no stack
        ... 8 more
2022-08-17 09:20:31.383 30318-30581/com.rnmapboxglexample E/ReactNativeJNI: Attempting to call JS function on a bad application bundle: HMRClient.setup()
2022-08-17 09:20:31.383 30318-30581/com.rnmapboxglexample E/unknown:ReactNative: Exception in native call
    java.lang.RuntimeException: Attempting to call JS function on a bad application bundle: HMRClient.setup()
        at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
        at android.os.Handler.handleCallback(Handler.java:938)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
        at android.os.Looper.loopOnce(Looper.java:201)
        at android.os.Looper.loop(Looper.java:288)
        at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:228)
        at java.lang.Thread.run(Thread.java:920)
2022-08-17 09:20:31.384 30318-30581/com.rnmapboxglexample E/ReactNativeJNI: Attempting to call JS function on a bad application bundle: AppRegistry.runApplication()
2022-08-17 09:20:31.385 30318-30581/com.rnmapboxglexample E/unknown:ReactNative: Exception in native call
    java.lang.RuntimeException: Attempting to call JS function on a bad application bundle: AppRegistry.runApplication()
        at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
        at android.os.Handler.handleCallback(Handler.java:938)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
        at android.os.Looper.loopOnce(Looper.java:201)
        at android.os.Looper.loop(Looper.java:288)
        at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:228)
        at java.lang.Thread.run(Thread.java:920)