How to fix ERROR: No signature of method: build_ap86oam3dut3pxce3x49rdtma.android()?

后端 未结 15 2157
野的像风
野的像风 2021-02-12 11:27

ERROR: No signature of method: build_ap86oam3dut3pxce3x49rdtma.android() is applicable for argument types: (build_ap86oam3dut3pxce3x49rdtma$_run_closure1) values: [build_ap86oam

15条回答
  •  眼角桃花
    2021-02-12 11:36

    I had this exact same issue. It is a nasty one.

    I followed the answer first here Deprecated Gradle features not compatible and ran in the terminal cd android && ./gradlew clean && ./gradlew :app:bundleRelease

    the gradlew command gave more detialed feedback, and turned out my Java and JDK were 32bit instead of 64 and also outdated...

    This resulted in further errors, but could resolve them step by step: Invalid initial heap size -Xms4096M Could not find tools.jar. Please check that C:\Program Files\Java\jre1.8.0_151 contains a valid JDK installation

提交回复
热议问题