User Tag List

Results 1 to 6 of 6

Thread: Build 293.9 Android Build fail

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleXNA Export Module
    Dobermann's Avatar
    Join Date
    Feb 2009
    Location
    France
    Posts
    925
    Mentioned
    38 Post(s)
    Tagged
    0 Thread(s)

    Build 293.9 Android Build fail

    I've just installed the last beta version 293.9, and now, i can't build Android projects.

    Code:
    Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
    Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
    Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
    Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
    Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
    > Task :app:preBuild UP-TO-DATE
    > Task :app:preReleaseBuild UP-TO-DATE
    > Task :app:compileReleaseAidl NO-SOURCE
    > Task :app:compileReleaseRenderscript NO-SOURCE
    > Task :app:generateReleaseBuildConfig
    > Task :app:javaPreCompileRelease
    > Task :app:writeReleaseApplicationId
    > Task :app:analyticsRecordingRelease
    > Task :app:checkReleaseAarMetadata
    > Task :app:generateReleaseResValues
    > Task :app:generateReleaseResources
    > Task :app:createReleaseCompatibleScreenManifests
    > Task :app:extractDeepLinksRelease
    > Task :app:processReleaseMainManifest
    > Task :app:processReleaseManifest
    > Task :app:mergeReleaseJniLibFolders
    > Task :app:mergeReleaseShaders
    > Task :app:compileReleaseShaders NO-SOURCE
    > Task :app:generateReleaseAssets UP-TO-DATE
    > Task :app:mergeReleaseAssets
    > Task :app:compressReleaseAssets
    > Task :app:checkReleaseDuplicateClasses
    > Task :app:mergeReleaseResources
    > Task :app:processReleaseJavaRes NO-SOURCE
    > Task :app:collectReleaseDependencies
    > Task :app:sdkReleaseDependencyData
    > Task :app:validateSigningRelease
    > Task :app:desugarReleaseFileDependencies
    > Task :app:writeReleaseAppMetadata
    > Task :app:writeReleaseSigningConfigVersions
    > Task :app:processReleaseManifestForPackage
    > Task :app:mergeReleaseNativeLibs
    
    > Task :app:stripReleaseDebugSymbols
    Unable to strip the following libraries, packaging them as they are: libES1Renderer.so, libES2Renderer.so, libES3Renderer.so, libRuntimeNative.so, libgdx.so.
    
    > Task :app:extractReleaseNativeSymbolTables
    Unable to extract native debug metadata from C:\Users\William\AppData\Local\Temp\AndA066.tmp\app\build\intermediates\merged_native_libs\release\out\lib\arm64-v8a\libES1Renderer.so because unable to locate the objcopy executable for the arm64-v8a ABI.
    Unable to extract native debug metadata from C:\Users\William\AppData\Local\Temp\AndA066.tmp\app\build\intermediates\merged_native_libs\release\out\lib\arm64-v8a\libES2Renderer.so because unable to locate the objcopy executable for the arm64-v8a ABI.
    Unable to extract native debug metadata from C:\Users\William\AppData\Local\Temp\AndA066.tmp\app\build\intermediates\merged_native_libs\release\out\lib\arm64-v8a\libES3Renderer.so because unable to locate the objcopy executable for the arm64-v8a ABI.
    Unable to extract native debug metadata from C:\Users\William\AppData\Local\Temp\AndA066.tmp\app\build\intermediates\merged_native_libs\release\out\lib\arm64-v8a\libgdx.so because unable to locate the objcopy executable for the arm64-v8a ABI.
    Unable to extract native debug metadata from C:\Users\William\AppData\Local\Temp\AndA066.tmp\app\build\intermediates\merged_native_libs\release\out\lib\arm64-v8a\libRuntimeNative.so because unable to locate the objcopy executable for the arm64-v8a ABI.
    Unable to extract native debug metadata from C:\Users\William\AppData\Local\Temp\AndA066.tmp\app\build\intermediates\merged_native_libs\release\out\lib\armeabi-v7a\libES1Renderer.so because unable to locate the objcopy executable for the armeabi-v7a ABI.
    Unable to extract native debug metadata from C:\Users\William\AppData\Local\Temp\AndA066.tmp\app\build\intermediates\merged_native_libs\release\out\lib\armeabi-v7a\libES2Renderer.so because unable to locate the objcopy executable for the armeabi-v7a ABI.
    Unable to extract native debug metadata from C:\Users\William\AppData\Local\Temp\AndA066.tmp\app\build\intermediates\merged_native_libs\release\out\lib\armeabi-v7a\libES3Renderer.so because unable to locate the objcopy executable for the armeabi-v7a ABI.
    Unable to extract native debug metadata from C:\Users\William\AppData\Local\Temp\AndA066.tmp\app\build\intermediates\merged_native_libs\release\out\lib\armeabi-v7a\libgdx.so because unable to locate the objcopy executable for the armeabi-v7a ABI.
    Unable to extract native debug metadata from C:\Users\William\AppData\Local\Temp\AndA066.tmp\app\build\intermediates\merged_native_libs\release\out\lib\armeabi-v7a\libRuntimeNative.so because unable to locate the objcopy executable for the armeabi-v7a ABI.
    Unable to extract native debug metadata from C:\Users\William\AppData\Local\Temp\AndA066.tmp\app\build\intermediates\merged_native_libs\release\out\lib\x86\libES1Renderer.so because unable to locate the objcopy executable for the x86 ABI.
    Unable to extract native debug metadata from C:\Users\William\AppData\Local\Temp\AndA066.tmp\app\build\intermediates\merged_native_libs\release\out\lib\x86\libES2Renderer.so because unable to locate the objcopy executable for the x86 ABI.
    Unable to extract native debug metadata from C:\Users\William\AppData\Local\Temp\AndA066.tmp\app\build\intermediates\merged_native_libs\release\out\lib\x86\libES3Renderer.so because unable to locate the objcopy executable for the x86 ABI.
    Unable to extract native debug metadata from C:\Users\William\AppData\Local\Temp\AndA066.tmp\app\build\intermediates\merged_native_libs\release\out\lib\x86\libgdx.so because unable to locate the objcopy executable for the x86 ABI.
    Unable to extract native debug metadata from C:\Users\William\AppData\Local\Temp\AndA066.tmp\app\build\intermediates\merged_native_libs\release\out\lib\x86\libRuntimeNative.so because unable to locate the objcopy executable for the x86 ABI.
    Unable to extract native debug metadata from C:\Users\William\AppData\Local\Temp\AndA066.tmp\app\build\intermediates\merged_native_libs\release\out\lib\x86_64\libES1Renderer.so because unable to locate the objcopy executable for the x86_64 ABI.
    Unable to extract native debug metadata from C:\Users\William\AppData\Local\Temp\AndA066.tmp\app\build\intermediates\merged_native_libs\release\out\lib\x86_64\libES2Renderer.so because unable to locate the objcopy executable for the x86_64 ABI.
    Unable to extract native debug metadata from C:\Users\William\AppData\Local\Temp\AndA066.tmp\app\build\intermediates\merged_native_libs\release\out\lib\x86_64\libES3Renderer.so because unable to locate the objcopy executable for the x86_64 ABI.
    Unable to extract native debug metadata from C:\Users\William\AppData\Local\Temp\AndA066.tmp\app\build\intermediates\merged_native_libs\release\out\lib\x86_64\libgdx.so because unable to locate the objcopy executable for the x86_64 ABI.
    Unable to extract native debug metadata from C:\Users\William\AppData\Local\Temp\AndA066.tmp\app\build\intermediates\merged_native_libs\release\out\lib\x86_64\libRuntimeNative.so because unable to locate the objcopy executable for the x86_64 ABI.
    
    > Task :app:mergeReleaseNativeDebugMetadata NO-SOURCE
    > Task :app:mergeReleaseJavaResource
    > Task :app:processReleaseResources
    > Task :app:mergeExtDexRelease
    
    > Task :app:compileReleaseJavaWithJavac
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    
    > Task :app:compileReleaseSources
    > Task :app:dexBuilderRelease
    > Task :app:optimizeReleaseResources
    
    > Task :app:mergeDexRelease FAILED
    ERROR:: D8: Cannot fit requested classes in a single dex file (# methods: 68268 > 65536)
    com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: 
    The number of method references in a .dex file cannot exceed 64K.
    Learn how to resolve this issue at https://developer.android.com/tools/building/multidex.html
    	at com.android.builder.dexing.D8DexArchiveMerger.getExceptionToRethrow(D8DexArchiveMerger.java:128)
    	at com.android.builder.dexing.D8DexArchiveMerger.mergeDexArchives(D8DexArchiveMerger.java:115)
    	at com.android.build.gradle.internal.transforms.DexMergerTransformCallable.call(DexMergerTransformCallable.java:111)
    	at com.android.build.gradle.internal.tasks.DexMergingWorkAction.merge(DexMergingTask.kt:805)
    	at com.android.build.gradle.internal.tasks.DexMergingWorkAction.run(DexMergingTask.kt:760)
    	at com.android.build.gradle.internal.profile.ProfileAwareWorkAction.execute(ProfileAwareWorkAction.kt:74)
    	at org.gradle.workers.internal.DefaultWorkerServer.execute(DefaultWorkerServer.java:63)
    	at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:66)
    	at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:62)
    	at org.gradle.internal.classloader.ClassLoaderUtils.executeInClassloader(ClassLoaderUtils.java:97)
    	at org.gradle.workers.internal.NoIsolationWorkerFactory$1.lambda$execute$0(NoIsolationWorkerFactory.java:62)
    	at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:44)
    	at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:41)
    	at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
    	at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
    	at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
    	at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
    	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
    	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
    	at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62)
    	at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecutor.java:76)
    	at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54)
    	at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:76)
    	at org.gradle.workers.internal.AbstractWorker.executeWrappedInBuildOperation(AbstractWorker.java:41)
    	at org.gradle.workers.internal.NoIsolationWorkerFactory$1.execute(NoIsolationWorkerFactory.java:59)
    	at org.gradle.workers.internal.DefaultWorkerExecutor.lambda$submitWork$2(DefaultWorkerExecutor.java:206)
    	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    	at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runExecution(DefaultConditionalExecutionQueue.java:214)
    	at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:164)
    	at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.run(DefaultConditionalExecutionQueue.java:131)
    	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
    	at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
    	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    	at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
    	at java.base/java.lang.Thread.run(Thread.java:834)
    Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, position: null
    	at Version.fakeStackEntry(Version_2.2.71.java:0)
    	at com.android.tools.r8.utils.a0.a(SourceFile:89)
    	at com.android.tools.r8.D8.run(D8.java:11)
    	at com.android.builder.dexing.D8DexArchiveMerger.mergeDexArchives(D8DexArchiveMerger.java:113)
    	... 36 more
    Caused by: com.android.tools.r8.utils.b: Cannot fit requested classes in a single dex file (# methods: 68268 > 65536)
    	at com.android.tools.r8.utils.V0.a(SourceFile:22)
    	at com.android.tools.r8.utils.V0.a(SourceFile:25)
    	at com.android.tools.r8.dex.P.a(SourceFile:55)
    	at com.android.tools.r8.dex.P$h.a(SourceFile:7)
    	at com.android.tools.r8.dex.b.a(SourceFile:14)
    	at com.android.tools.r8.dex.b.c(SourceFile:30)
    	at com.android.tools.r8.D8.d(D8.java:163)
    	at com.android.tools.r8.D8.b(D8.java:1)
    	at com.android.tools.r8.utils.a0.a(SourceFile:47)
    	... 38 more
    
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':app:mergeDexRelease'.
    > A failure occurred while executing com.android.build.gradle.internal.tasks.DexMergingTaskDelegate
       > There was a failure while executing work items
          > A failure occurred while executing com.android.build.gradle.internal.tasks.DexMergingWorkAction
             > com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: 
               The number of method references in a .dex file cannot exceed 64K.
               Learn how to resolve this issue at https://developer.android.com/tools/building/multidex.html
    
    * 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 13s
    33 actionable tasks: 33 executed

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleXNA Export Module
    Dobermann's Avatar
    Join Date
    Feb 2009
    Location
    France
    Posts
    925
    Mentioned
    38 Post(s)
    Tagged
    0 Thread(s)
    I've reverted to build 293.6 and no issue.

  3. #3
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,179
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    @Dobermann, there is no problem with runtime only that you have more than 64K using new libs androidx,

    can you tell us what are teh target, min, and build api you are using

    I recommend to set min target as 5.0 or 5.1
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleXNA Export Module
    Dobermann's Avatar
    Join Date
    Feb 2009
    Location
    France
    Posts
    925
    Mentioned
    38 Post(s)
    Tagged
    0 Thread(s)
    Using 4.4, targeting 11, build 30. But i don't want to loose 4.4 compatibility... It means, loosing incomes from a game that works fine on 4.4. So i'll stuck to 293.6 for now.

  5. #5
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,179
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    Hey don't blame us. All application games are moving forward to 20, 21 because the benefit that brings the ART which was conceptualized to run with DEX features and offer more stability, which at the end allow to have more than 64K methods, this numbers is due to the extensions you are using, mostly those extension that requires external SDK, which are huge.

    4.4 and 4.2 are less than 1%
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  6. #6
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,288
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)
    Android 4.4 = 1% of Android devices, and it's continuously decreasing, I imagine you won't lose a lot.

Similar Threads

  1. Android Exporter Build Fail - app:compileReleaseJavaWithJavac?
    By cdhexter in forum Android Export Module 2.5
    Replies: 2
    Last Post: 16th September 2021, 03:41 PM
  2. Many extensions fail to build - is there a solution?
    By CrazyFrezi in forum Android Export Module 2.5
    Replies: 7
    Last Post: 10th September 2021, 05:21 PM
  3. Calculate Text Rect. Object Build Fail
    By CruddyBuddy in forum Android Export Module 2.5
    Replies: 11
    Last Post: 16th November 2018, 08:45 PM
  4. Android "build.xml" compile fail with the lacewing object
    By Naturium in forum Android Export Module 2.5
    Replies: 2
    Last Post: 13th January 2018, 12:11 AM
  5. Android Exporter Build Fail
    By FinalSpecimen in forum Android Export Module 2.5
    Replies: 14
    Last Post: 29th April 2016, 04:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •