openvehicles / Open-Vehicle-Android

Android App for OVMS
Other
54 stars 45 forks source link

Merge LuttuLibrary module into app module #156

Closed francos closed 10 months ago

francos commented 10 months ago
francos commented 10 months ago

Hey @dexterbg, new PR merging the code in LuttuLibrary into the app module (also renamed the module to app to follow the usual naming used when creating new projects in Android Studio).

dexterbg commented 10 months ago

Franco, I get errors & cannot build with this change.

2024-01-07 09:19:24,521 [   9769]   WARN - #com.android.tools.idea.run.util.LaunchUtils - com.android.tools.idea.model.MergedManifestException$MissingElement: Error parsing the merged manifest for module "Open-Vehicle-Android.OpenVehicleApp.main": Missing element "manifest"
…
Cannot locate tasks that match ':OpenVehicleApp:assembleDebug' as project 'OpenVehicleApp' not found in root project 'Open-Vehicle-Android'.

Also, Android Studio tags all files as being "outside of source root".

I tried syncing & reopening the project, no change.

The Android Studio project configuration shows two "OpenVehicleApp" entries, the second is "Unknown" & shows an error "Error: Required plugin Android App is disabled" -- with a "Fix" button that leads to the plugin configuration, but there is no "Android App" plugin to be found locally or in the marketplace.

Please advise.

dexterbg commented 10 months ago

Never mind, I found the issue: I also had to invalidate the Android Studio caches.