Jump to content
  • Status: Reported
  • Priority: Normal
  • Resolution: Unresolved
  • Platform: Android
  • Affects version: latest 1.18.8.1

Hi i get the following error building 64Bit APK

    * What went wrong:
    29 actionable tasks: 5 executed, 24 up-to-date
    Execution failed for task ':app:processDebugResources'.
    > A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
       > Android resource linking failed
    EXEC : error : C:\projekte\delphi_sp\imsys\Programme\IMSYS.Mobile.V2\.android-build\app\src\main\AndroidManifest.xml:7:3-22:17: AAPT: error: resource mipmap/ic_launcher (aka gmbh.diestelmann.IMSYSMobileV2:mipmap/ic_launcher) not found.
             
    
    * Try:
    > Run with --stacktrace option to get the stack trace.
    > Run with --info or --debug option to get more log output.
    > Run with --scan to get full insights.
    > Get more help at https://help.gradle.org.
    
    BUILD FAILED in 27s
    c:\projekte\delphi_sp\FGX Native\MSBuild\FGX.Delphi.Android.Targets(117,5): error MSB3073: Der Befehl "gradlew app:build" wurde mit dem Code 1 beendet.
Erstellen des BuildPackage-Ziels in Projekt IMSYSMobileV2.dproj beendet - Fehler beim Erstellen.
Erstellen des Projekts IMSYSMobileV2.dproj beendet - Fehler beim Erstellen.
Fehler beim Erstellen.
EXEC : error : C:\projekte\delphi_sp\imsys\Programme\IMSYS.Mobile.V2\.android-build\app\src\main\AndroidManifest.xml:7:3-22:17: AAPT: error: resource mipmap/ic_launcher (aka gmbh.diestelmann.IMSYSMobileV2:mipmap/ic_launcher) not found.
c:\projekte\delphi_sp\FGX Native\MSBuild\FGX.Delphi.Android.Targets(117,5): error MSB3073: Der Befehl "gradlew app:build" wurde mit dem Code 1 beendet.
    0 Warnung(en)
    2 Fehler
Vergangene Zeit 00:00:28.85

32Bit works as expected, iOS Works also

Use same Launcher für 32 as for 64 Bit Version.

I tried all gradlew options --stacktrace/--info/--debug/--scan but everytime same error.

 

Any Idea what wents wrong ? Or need more Information ?

 


User Feedback

Recommended Comments

  • Administrators

Could you attach your project?

Looks like you missed application icon for Android 64-bits target.

Stefan Diestelmann

Active subscription

Hi i found the reason for the error in gradle build: 

image.thumb.png.27f3ba93d174b5693dabcd887fb08c7d.png 

The Remotepath is wrong. But i don't know why the path is wrong, nor do i know who set this path.

I only changed the ic_launcher Names in Symbols.

May be it helps.

Stefan Diestelmann

Active subscription

Addition: I changed the Remote Path by Hand and now the Error is gone.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.