Skip to content
CrossFly is 100% open sourceFollow us on GitHub
CrossFlyCrossFly
Get started

This page was machine-translated from Portuguese and may contain errors. The Portuguese version is canonical.

Compilation errors (2026 modernization)

The most common group after the 2026 modernization: cannot find symbol / package does not exist from using a removed or renamed API. Format: symptom → cause → fix.

Fix-up table: legacy → current

Won’t compile (legacy) Fix (current)
Settings (config/state) Device / DeviceConfig / LocaleFormats / Screen
Settings.appSettings / appSecretKey SQLite or files in Device.homeFolder
Toast / ToolTip Hint
Chart / Series / LineChart / PieChart / Velocimeter ChartView (+ ChartType)
Rect Rectangle
ScrollPosition ScrollIndicator
Color / ColorWheel class constants in UIConstants + ColorUtils
Transition class nested enum UIConstants.Transition
DefaultValues DeviceConfig
import dev.crossfly.sql.* (JDBC: Connection/Statement/ResultSet) import dev.crossfly.sqlite.* (SqliteDb/SqliteStmt/SqliteCursor)
Bluetooth JSR-82 (DiscoveryAgent/RemoteDevice) BLE/GATT (BluetoothManager…)
phone package device
anim / item package animation / listitem

Removed with no direct replacement

Grid, Tree/Node/TreeModel, TopMenu, Accordion, Spacer, Velocimeter, PDF, ESC/POS, Barcode (now via camera), printers. If your code uses one of these, you’ll need to re-architect (e.g.: Grid → GridLayout; Spacer → Gap/fractions; barcode → CameraBarcode/BarcodePicker).

Import fix-up example

// before (does not compile)
import dev.crossfly.sql.*;      // JDBC removed
new Toast("Salvo");            // Toast removed

// after
import dev.crossfly.sqlite.*;   // native API
Hint.show("Salvo", 2000);            // Hint

See also

Was this page helpful?