nightscout / AndroidAPS

Opensource automated insulin delivery system (closed loop)
https://wiki.aaps.app
GNU Affero General Public License v3.0
690 stars 1.69k forks source link

Build fails: MaintenancePlugin.kt - package directive does not match the file location #3229

Closed Technixx closed 6 months ago

Technixx commented 6 months ago

Building a Signed Bundle or APK on the build menu. Selecting fullRelease variant.

Build log:

e: file:///C:/Users/bjorn/StudioProjects/AndroidAPS/plugins/configuration/src/main/kotlin/app/aaps/plugins/configuration/maintenance/MaintenanceFragment.kt:47:45 Unresolved reference: MaintenancePlugin

The MaintenancePlugin itself was a file of "NUL"

screenshot Reporting bugs

Technixx commented 6 months ago

Hmm.. messed around with this issue and swiched between branches until I scratched the project and did a clean clone from master again, then it worked. Strange.

Technixx commented 6 months ago

Try deleting the project and do a new clone