36
Views
4
Comments
[Significant Change Location Plugin] Build failed with Mabs 9 or 10
Question
significant-change-location-plugin
Mobile icon
Forge asset by Bruno Domingues
Application Type
Mobile

[2024-02-21T15:08:02.806Z] [ERROR] [Build] The build phase failed to complete!

[2024-02-21T15:08:02.806Z] [ERROR] [Build] Reason: Couldn't compile the Cordova plugin main/java/com/marianhello/bgloc/data/sqlite/SQLiteOpenHelper.java:121: error: ')' expected. Review your plugin configurations and check our documentation for more information if the problem persists.

[2024-02-21T15:08:02.806Z] [ERROR] [Build] Additional information:

[2024-02-21T15:08:02.807Z] [ERROR] [Build] Note: Some input files use or override a deprecated API.

[2024-02-21T15:08:02.807Z] [ERROR] [Build] Note: Recompile with -Xlint:deprecation for details.

[2024-02-21T15:08:02.807Z] [ERROR] [Build] source/platforms/android/app/src/main/java/com/marianhello/bgloc/data/sqlite/SQLiteOpenHelper.java:121: error: ')' expected

[2024-02-21T15:08:02.807Z] [ERROR] [Build]                                         " SET " + LocationEntry.COLUMN_NAME_VERTICAL_ACCURACY + "= -1,"

[2024-02-21T15:08:02.807Z] [ERROR] [Build]                                                                                                        ^

[2024-02-21T15:08:02.807Z] [ERROR] [Build] source/platforms/android/app/src/main/java/com/marianhello/bgloc/data/sqlite/SQLiteOpenHelper.java:122: error: not a statement

[2024-02-21T15:08:02.807Z] [ERROR] [Build]                                         LocationEntry.COLUMN_NAME_HAS_VERTICAL_ACCURACY + "= 0"

[2024-02-21T15:08:02.807Z] [ERROR] [Build]                                                                                         ^

[2024-02-21T15:08:02.807Z] [ERROR] [Build] source/platforms/android/app/src/main/java/com/marianhello/bgloc/data/sqlite/SQLiteOpenHelper.java:122: error: ';' expected

[2024-02-21T15:08:02.807Z] [ERROR] [Build]                                         LocationEntry.COLUMN_NAME_HAS_VERTICAL_ACCURACY + "= 0"

[2024-02-21T15:08:02.807Z] [ERROR] [Build]                                                                                                ^

[2024-02-21T15:08:02.807Z] [ERROR] [Build] 3 errors

2023-12-19 16-46-19
Castro Vieira

Hello,

check the SQLiteOpenHelper.java file and make sure that the string concatenation is correct, with the correct closing characters ')' and ';'. -Also make sure that there are no syntax or logic errors in the line mentioned.


After correcting the problem in the source code, try rebuilding the application to check if the error has been resolved. If the problem persists, review the Cordova plugin settings.

2023-07-12 13-18-44
Jens Runge

Hello Luis,

it seem to be an issue in the dependency github project:

As I see it, the issue is in here, as Castro mentioned, missing "+" and ")" and ";".

I have the issue as well on ODC side using this Forge Component.

I try to contact the Forge provider and the github repo manager.


Best regards

Jens

2023-07-12 13-18-44
Jens Runge

Hello @Luis Lusquinhos

the issue has been solved on the github project.

You can compile your project now, it should work again! :-)


Best regards

Jens


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.