Hi,
I have a problem with android build. I use MacOs Mojave. I tried many different java versions but could not find a solution.
Nov 17 13:26:26.103 Copyright © 2009-2020 C o r o n a L a b s I n c .
Version: 3.0.0
Build: 2020.3626
Nov 17 13:26:27.226 Copyright © 2009-2020 C o r o n a L a b s I n c .
Version: 3.0.0
Build: 2020.3626
Nov 17 13:26:27.232 Loading project from: ~/Documents/Corona/Virus Fighter/v7
Nov 17 13:26:27.232 Project sandbox folder: ~/Library/Application Support/Corona Simulator/v7-99B0DA6E87828EEFA3336C7E40D12ED4
Nov 17 13:26:27.269 Platform: iPhone / x86_64 / 10.14.5 / AMD Radeon Pro 560X OpenGL Engine / 2.1 ATI-2.9.26 / 2020.3626 / tr-TR | TR | en_TR | en
Nov 17 13:26:27.339 admob.init() WARNING: The AdMob plugin is only supported on Android & iOS devices. Please build for device
Nov 17 13:26:27.340 admob.isLoaded() WARNING: The AdMob plugin is only supported on Android & iOS devices. Please build for device
Nov 17 13:26:27.340
Nov 17 13:26:31.877 Using java version “1.8.0_241”
Java™ SE Runtime Environment (build 1.8.0_241-b07)
Java HotSpot™ 64-Bit Server VM (build 25.241-b07, mixed mode)
Nov 17 13:26:31.935 Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
Nov 17 13:26:32.107 Warning:
The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using “keytool -importkeystore -srckeystore /Users/dogangokce/Desktop/Corona-3626/Corona Simulator.app/Contents/Resources/debug.keystore -destkeystore /Users/dogangokce/Desktop/Corona-3626/Corona Simulator.app/Contents/Resources/debug.keystore -deststoretype pkcs12”.
Nov 17 13:26:32.107
Nov 17 13:26:33.784 Using java version “1.8.0_241”
Java™ SE Runtime Environment (build 1.8.0_241-b07)
Java HotSpot™ 64-Bit Server VM (build 25.241-b07, mixed mode)
Nov 17 13:26:36.247 BUILD SUCCESSFUL
Total time: 1 second
Nov 17 13:26:47.416 Excluding specified files from build:
excluding: LaunchScreen.storyboardc
excluding: Icon.png
excluding: Icon-*dpi.png
excluding: Images.xcassets
/private/var/folders/c9/qm3yxv1d0cxggn31j8z7t2f40000gn/T/CLtmp3zuBN9/template/app/src/main/AndroidManifest.xml Error:
uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library [com.google.android.gms:play-services-ads:19.3.0] /Users/dogangokce/.gradle/caches/transforms-2/files-2.1/45a9235d65534d8fd9a377e7777608d8/jetified-play-services-ads-19.3.0/AndroidManifest.xml as the library might be using APIs not available in 15
Suggestion: use a compatible library with a minSdk of at most 15,
or increase this project’s minSdk version to at least 16,
or use tools:overrideLibrary=“com.google.android.gms.ads.impl” to force usage (may lead to runtime failures)
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:App:processReleaseManifest’.
Manifest merger failed : uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library [com.google.android.gms:play-services-ads:19.3.0] /Users/dogangokce/.gradle/caches/transforms-2/files-2.1/45a9235d65534d8fd9a377e7777608d8/jetified-play-services-ads-19.3.0/AndroidManifest.xml as the library might be using APIs not available in 15
Suggestion: use a compatible library with a minSdk of at most 15,
or increase this project’s minSdk version to at least 16,
or use tools:overrideLibrary=“com.google.android.gms.ads.impl” to force usage (may lead to runtime failures)
-
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
BUİLD FAILED in 10s
Nov 17 13:26:47.462 Android build failed (256) after 13 seconds
Nov 17 13:26:47.719 ERROR: Build Failed: Error code: 256
Nov 17 13:26:47.719