User Tag List

Results 1 to 8 of 8

Thread: Many extensions fail to build - is there a solution?

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)

    Join Date
    Jul 2019
    Posts
    105
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Question Many extensions fail to build - is there a solution?

    Ever since Google decided they support only .aab builds, build api minimum 30 and Android 11 targeted, most of my .mfa's won't build.
    When I trouble shoot the issue, if I get rid of extensions (like 9 slice or Clickteam's official InApp Review), it suddenly builds.

    Is there a simple workaround this issue, to build with all extensions?

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,050
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    strange inApp Review from clickstore seems to be working fine with latest 293.6

    what error do you get there?
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)

    Join Date
    Jul 2019
    Posts
    105
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fernando View Post
    strange inApp Review from clickstore seems to be working fine with latest 293.6

    what error do you get there?
    Sorry for the late reply Fernando, I was on vacation. Here is the log file (it builds ok if I remove the InApp Review extension):


    WARNING:: Please remove usages of `jcenter()` Maven repository from your build scripts and migrate your build to other Maven repositories.
    This repository is deprecated and it will be shut down in the future.
    See http://developer.android.com/r/tools...end-of-service for more information.
    Currently detected usages in: root project 'And5FC2.tmp', project ':app'
    > Task :app:preBuild UP-TO-DATE
    > Task :app:preReleaseBuild UP-TO-DATE
    > Task :app:writeReleaseApplicationId
    > Task :app:analyticsRecordingRelease
    > Task :app:compileReleaseRenderscript NO-SOURCE
    > Task :app:generateReleaseResValues
    > Task :app:generateReleaseResources
    > Task :app:createReleaseCompatibleScreenManifests
    > Task :app:extractDeepLinksRelease
    > Task :app:processReleaseMainManifest
    > Task :app:processReleaseManifest
    > Task :app:processApplicationManifestReleaseForBundle
    > Task :app:compileReleaseAidl NO-SOURCE
    > Task :app:generateReleaseBuildConfig
    > Task :app:javaPreCompileRelease
    > Task :app:checkReleaseDuplicateClasses
    > Task :app:mergeReleaseResources
    > Task :app:checkReleaseAarMetadata
    > Task :app:mergeReleaseShaders
    > Task :app:compileReleaseShaders NO-SOURCE
    > Task :app:generateReleaseAssets UP-TO-DATE
    > Task :app:mergeReleaseAssets
    > Task :app:processReleaseJavaRes NO-SOURCE
    > Task :app:desugarReleaseFileDependencies
    > Task :app:mergeReleaseJniLibFolders
    > Task :app:collectReleaseDependencies
    > Task :app:configureReleaseDependencies
    > Task :app:parseReleaseIntegrityConfig
    > Task :app:writeReleaseAppMetadata
    > Task :app:validateSigningRelease
    > Task :app:processReleaseManifestForPackage
    > Task :app:mergeReleaseJavaResource
    > 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\Yaron\AppData\Local\Temp\And5FC2.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\Yaron\AppData\Local\Temp\And5FC2.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\Yaron\AppData\Local\Temp\And5FC2.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\Yaron\AppData\Local\Temp\And5FC2.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\Yaron\AppData\Local\Temp\And5FC2.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\Yaron\AppData\Local\Temp\And5FC2.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\Yaron\AppData\Local\Temp\And5FC2.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\Yaron\AppData\Local\Temp\And5FC2.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\Yaron\AppData\Local\Temp\And5FC2.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\Yaron\AppData\Local\Temp\And5FC2.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\Yaron\AppData\Local\Temp\And5FC2.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\Yaron\AppData\Local\Temp\And5FC2.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\Yaron\AppData\Local\Temp\And5FC2.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\Yaron\AppData\Local\Temp\And5FC2.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\Yaron\AppData\Local\Temp\And5FC2.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\Yaron\AppData\Local\Temp\And5FC2.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\Yaron\AppData\Local\Temp\And5FC2.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\Yaron\AppData\Local\Temp\And5FC2.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\Yaron\AppData\Local\Temp\And5FC2.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\Yaron\AppData\Local\Temp\And5FC2.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:bundleReleaseResources
    > Task :app:mergeExtDexRelease
    > Task :app:processReleaseResources

    > 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:dexBuilderRelease

    > Task :app:mergeDexRelease FAILED
    ERROR:: D8: Cannot fit requested classes in a single dex file (# methods: 71147 > 65536)
    com.android.builder.dexing.DexArchiveMergerExcepti on: 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/.../multidex.html
    at com.android.builder.dexing.D8DexArchiveMerger.getE xceptionToRethrow(D8DexArchiveMerger.java:128)
    at com.android.builder.dexing.D8DexArchiveMerger.merg eDexArchives(D8DexArchiveMerger.java:115)
    at com.android.build.gradle.internal.transforms.DexMe rgerTransformCallable.call(DexMergerTransformCalla ble.java:111)
    at com.android.build.gradle.internal.tasks.DexMerging WorkAction.merge(DexMergingTask.kt:805)
    at com.android.build.gradle.internal.tasks.DexMerging WorkAction.run(DexMergingTask.kt:760)
    at com.android.build.gradle.internal.profile.ProfileA wareWorkAction.execute(ProfileAwareWorkAction.kt:7 4)
    at org.gradle.workers.internal.DefaultWorkerServer.ex ecute(DefaultWorkerServer.java:63)
    at org.gradle.workers.internal.NoIsolationWorkerFacto ry$1$1.create(NoIsolationWorkerFactory.java:67)
    at org.gradle.workers.internal.NoIsolationWorkerFacto ry$1$1.create(NoIsolationWorkerFactory.java:63)
    at org.gradle.internal.classloader.ClassLoaderUtils.e xecuteInClassloader(ClassLoaderUtils.java:97)
    at org.gradle.workers.internal.NoIsolationWorkerFacto ry$1.lambda$execute$0(NoIsolationWorkerFactory.jav a:63)
    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.DefaultBuildOperati onRunner$CallableBuildOperationWorker.execute(Defa ultBuildOperationRunner.java:200)
    at org.gradle.internal.operations.DefaultBuildOperati onRunner$CallableBuildOperationWorker.execute(Defa ultBuildOperationRunner.java:195)
    at org.gradle.internal.operations.DefaultBuildOperati onRunner$3.execute(DefaultBuildOperationRunner.jav a:75)
    at org.gradle.internal.operations.DefaultBuildOperati onRunner$3.execute(DefaultBuildOperationRunner.jav a:68)
    at org.gradle.internal.operations.DefaultBuildOperati onRunner.execute(DefaultBuildOperationRunner.java: 153)
    at org.gradle.internal.operations.DefaultBuildOperati onRunner.execute(DefaultBuildOperationRunner.java: 68)
    at org.gradle.internal.operations.DefaultBuildOperati onRunner.call(DefaultBuildOperationRunner.java:62)
    at org.gradle.internal.operations.DefaultBuildOperati onExecutor.lambda$call$2(DefaultBuildOperationExec utor.java:76)
    at org.gradle.internal.operations.UnmanagedBuildOpera tionWrapper.callWithUnmanagedSupport(UnmanagedBuil dOperationWrapper.java:54)
    at org.gradle.internal.operations.DefaultBuildOperati onExecutor.call(DefaultBuildOperationExecutor.java :76)
    at org.gradle.workers.internal.AbstractWorker.execute WrappedInBuildOperation(AbstractWorker.java:41)
    at org.gradle.workers.internal.NoIsolationWorkerFacto ry$1.execute(NoIsolationWorkerFactory.java:60)
    at org.gradle.workers.internal.DefaultWorkerExecutor. lambda$submitWork$2(DefaultWorkerExecutor.java:200 )
    at java.util.concurrent.FutureTask.run(FutureTask.jav a:266)
    at org.gradle.internal.work.DefaultConditionalExecuti onQueue$ExecutionRunner.runExecution(DefaultCondit ionalExecutionQueue.java:215)
    at org.gradle.internal.work.DefaultConditionalExecuti onQueue$ExecutionRunner.runBatch(DefaultConditiona lExecutionQueue.java:164)
    at org.gradle.internal.work.DefaultConditionalExecuti onQueue$ExecutionRunner.run(DefaultConditionalExec utionQueue.java:131)
    at java.util.concurrent.Executors$RunnableAdapter.cal l(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.jav a:266)
    at org.gradle.internal.concurrent.ExecutorPolicy$Catc hAndRecordFailures.onExecute(ExecutorPolicy.java:6 4)
    at org.gradle.internal.concurrent.ManagedExecutorImpl $1.run(ManagedExecutorImpl.java:48)
    at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:624)
    at org.gradle.internal.concurrent.ThreadFactoryImpl$M anagedThreadRunnable.run(ThreadFactoryImpl.java:56 )
    at java.lang.Thread.run(Thread.java:748)
    Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, position: null
    at Version.fakeStackEntry(Version_2.2.66.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.merg eDexArchives(D8DexArchiveMerger.java:113)
    ... 36 more
    Caused by: com.android.tools.r8.utils.b: Cannot fit requested classes in a single dex file (# methods: 71147 > 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.DexMerging TaskDelegate
    > There was a failure while executing work items
    > A failure occurred while executing com.android.build.gradle.internal.tasks.DexMerging WorkAction
    > com.android.builder.dexing.DexArchiveMergerExcepti on: 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/.../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

  4. #4
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,050
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    mm are you using inApp Review from Clickteam, right?

    it says your project exceed the max number of methods of 64K

    also can you post a list of the extensions you are using in this project
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #5
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)

    Join Date
    Jul 2019
    Posts
    105
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I tried inApp Review from Clickteam, yes.
    I've paid again to the private developer haoujey for his plug in in the store, and it works just fine and builds (with a version he sent me on a private message - his clickstore version doesn't build as well).

    AdMob, Android object, AndroidPlus, Ini, inApp Review

  6. #6
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,050
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    mm, not sure what is happening there but with those extensions doesn't sound a problem with our extension are you sure is this one

    https://clickstore.clickteam.com/plugins/extensions/inapp_reviews

    =================================

    something strange is that your build try to strip debug information in c libs which doesn't exist
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  7. #7
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)

    Join Date
    Jul 2019
    Posts
    105
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fernando View Post
    mm, not sure what is happening there but with those extensions doesn't sound a problem with our extension are you sure is this one

    https://clickstore.clickteam.com/plugins/extensions/inapp_reviews

    =================================

    something strange is that your build try to strip debug information in c libs which doesn't exist
    Yep, that's the one.

  8. #8
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,050
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    not sure why, just build again an example with all these extensions and seems fine, here, are you using a runtimeandroid without any modification and of course androidX version?
    Regards,


    Fernando Vivolo

    ... new things are coming ...

Similar Threads

  1. Replies: 21
    Last Post: 20th July 2019, 04:43 AM
  2. 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
  3. Android Exporter Build Fail
    By FinalSpecimen in forum Android Export Module 2.5
    Replies: 14
    Last Post: 29th April 2016, 04:10 AM
  4. Cannot build Lacewing, seeking for solution
    By temeks in forum Lacewing
    Replies: 2
    Last Post: 9th April 2014, 01:16 PM
  5. Build fail due to lack of support for setting sound volume
    By BrashMonkey in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 15th November 2011, 07:46 PM

Posting Permissions

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