AndroidManifest invalid package when building with gluonfx-gradle-plugin

146 views Asked by At

I'm trying to use the gradle plugin gluonfx-gradle-plugin to package my application for Android.

With a template project provided in Intellij, I'm getting the following error when launching the nativePackage task :

[lun. déc. 19 21:22:05 CET 2022][PRÉCIS] [SUB] Execution failed for task ':app:processDebugResources'. [lun. déc. 19 21:22:05 CET 2022][PRÉCIS] [SUB] > A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction [lun. déc. 19 21:22:05 CET 2022][PRÉCIS] [SUB] > Android resource linking failed [lun. déc. 19 21:22:05 CET 2022][PRÉCIS] [SUB] /home/***/TestGluonMobile/Gluon-SingleViewProject/build/gluonfx/aarch64-android/gvm/android_project/app/build/intermediates/packaged_manifests/debug/AndroidManifest.xml:2: error: attribute 'package' in tag is not a valid Android package name: '.GluonSingleViewProject'.

The package name is malformed. I haven't seen where the package is set.

My configuration is the following :

  • Gradle 7.2
  • Java 17.0.4
  • gluonfx-gradle-plugin 1.0.16
  • JavaFX 17

Thank you for advance

0

There are 0 answers