Einzelnen Beitrag anzeigen

Stewag

Registriert seit: 12. Jun 2008
161 Beiträge
 
Delphi 12 Athens
 
#1

Problem bei Android App Bundle Erstellung

  Alt 29. Nov 2019, 12:11
Ich möchte ein bestehendes 32Bit Projekt mit 10.3.3 nun als 32/64 Bit App Bundle compilieren.

Habe die Compileroption zur Erstellung der Paketdatei (arm + arm64) aktiviert und das Projekt dann unter 64Bit erstellt.
Eine 64Bit .apk Datei wird durch die Erstellung aber nicht erzeugt.

Beim Start erhalte ich die folgenden Fehlermeldungen mit denen ich nichts anfangen kann:

[PAClient Fehler] Fehler: E6408 ""C:\Program Files\Java\jdk1.8.0_60\bin\java.exe" -jar "c:\program files (x86)\embarcadero\studio\20.0\bin\android\bundleto ol-all-0.10.3.jar" build-bundle --modules="H:\DELPHI Source\diverse\Wattpaddler.10\Android64\Release\Wa ttpaddler\base.zip" --output="H:\DELPHI Source\diverse\Wattpaddler.10\Android64\Release\Wa ttpaddler\bin\Wattpaddler-unsigned.aab" --config="H:\DELPHI Source\diverse\Wattpaddler.10\Android64\Release\Wa ttpaddler\buildconfig.json"" kann nicht ausgeführt werden (Fehler 1)
[PAClient Fehler] Fehler: E6408 [BT:0.10.3] Error: Module 'base' has no dex files but the attribute 'hasCode' is not set to false in the AndroidManifest.xml.
[PAClient Fehler] Fehler: E6408 com.android.tools.build.bundletool.model.exception s.ValidationException: Module 'base' has no dex files but the attribute 'hasCode' is not set to false in the AndroidManifest.xml.
[PAClient Fehler] Fehler: E6408 at com.android.tools.build.bundletool.model.exception s.ValidationException$Builder.build(ValidationExce ption.java:49)
[PAClient Fehler] Fehler: E6408 at com.android.tools.build.bundletool.model.exception s.ValidationException$Builder.build(ValidationExce ption.java:41)
[PAClient Fehler] Fehler: E6408 at com.android.tools.build.bundletool.validation.DexF ilesValidator.validateHasCode(DexFilesValidator.ja va:93)
[PAClient Fehler] Fehler: E6408 at com.android.tools.build.bundletool.validation.DexF ilesValidator.validateModule(DexFilesValidator.jav a:64)
[PAClient Fehler] Fehler: E6408 at com.android.tools.build.bundletool.validation.Vali datorRunner.validateBundleModulesUsingSubValidator (ValidatorRunner.java:78)
[PAClient Fehler] Fehler: E6408 at com.android.tools.build.bundletool.validation.Vali datorRunner.lambda$validateBundleModules$4(Validat orRunner.java:64)
[PAClient Fehler] Fehler: E6408 at com.google.common.collect.ImmutableList.forEach(Im mutableList.java:406)
[PAClient Fehler] Fehler: E6408 at com.android.tools.build.bundletool.validation.Vali datorRunner.validateBundleModules(ValidatorRunner. java:63)
[PAClient Fehler] Fehler: E6408 at com.android.tools.build.bundletool.validation.Bund leModulesValidator.validate(BundleModulesValidator .java:84)
[PAClient Fehler] Fehler: E6408 at com.android.tools.build.bundletool.commands.BuildB undleCommand.execute(BuildBundleCommand.java:208)
[PAClient Fehler] Fehler: E6408 at com.android.tools.build.bundletool.BundleToolMain. main(BundleToolMain.java:70)
[PAClient Fehler] Fehler: E6408 at com.android.tools.build.bundletool.BundleToolMain. main(BundleToolMain.java:46)
Misslungen

In der AndroidManifest.template.xml gibt es keinen Eintrag "hasCode".

Hat jemand eine Idee was zu tun ist?
Steffen
  Mit Zitat antworten Zitat