mapbox-maps-android icon indicating copy to clipboard operation
mapbox-maps-android copied to clipboard

Incorrect number of expressions within toString Expression: expected 1, but 0 was found

Open elephant16 opened this issue 9 months ago • 1 comments

Error: Incorrect number of expressions within toString Expression: expected 1, but 0 was found. Inspection info: Incorrect number of arguments for this Expression. Issue id: IncorrectNumberOfArgumentsInExpression Vendor: Mapbox Identifier: com.mapbox.maps:style-lint

Release build is not built. Debug build is built, but the cluster is not displayed. Code from example https://github.com/mapbox/mapbox-maps-android/blob/main/app/src/main/java/com/mapbox/maps/testapp/examples/CircleLayerClusteringActivity.kt

mapboxVersion "11.3.0","11.3.1", "11.4.0-rc.2" gradle version: gradle-8.7, gradle-8.4

Please fix or provide a workaround textField(Expression.toString(get("point_count"))) not worked too

Code:

                textField(
                    format {
                        formatSection(
                            toString {
                                get {
                                    literal("point_count")
                                }
                            }
                        )
                    }
                )

elephant16 avatar May 16 '24 12:05 elephant16