[Resolved] Build not working

Application assembly does not work. Yesterday everything worked, today it doesn’t.

Tried deleting C: \ Users \ Admin \ .gradle - doesn’t help, same error.

Logs:

14:16:35.504
14:16:35.504 Corona Simulator 2020.3622 (Oct 23 2020 08:12:33)
14:16:35.504
14:16:35.504
14:16:35.504 Copyright © 2009-2020 C o r o n a L a b s I n c .
14:16:35.504 Version: 3.0.0
14:16:35.504 Build: 2020.3622
14:16:35.504 Platform: Custom / x64 / 10.0 / Radeon RX 580 Series / 4.6.14736 Compatibility Profile Context 20.9.2 27.20.12031.1000 / 2020.3622 / ru_RU | RU | ru_RU | ru
14:16:35.504 Loading project from: D:\WORK\Edorium\Edorium
14:16:35.504 Project sandbox folder: C:\Users\Narkoz\AppData\Local\Corona Labs\Corona Simulator\Sandbox\edorium-258F1B8B10D769905980D1679F36F521\Documents
14:16:35.812 WARNING: The ‘plugin.notifications’ library is not available on this platform.
14:16:35.834 WARNING: The ‘plugin.googleSignIn’ library is not available on this platform.
14:16:40.288 Testing credentials for ‘D:\WORK\MyKey\key.keystore’:
14:16:41.102 jar signed.
14:16:41.102 Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
14:16:57.856 Excluding specified files from build:
14:16:57.856 excluding: Icon.png
14:16:57.856 excluding: *@2x.png
14:16:57.856 C:\Users\Narkoz\AppData\Local\Temp\Corona Labs\CLtmpa08264\template\app\src\main\AndroidManifest.xml Error:
14:16:57.856 uses-sdk:minSdkVersion 15 cannot be smaller than version 19 declared in library [com.mopub:mopub-sdk:5.13.1] C:\Users\Narkoz.gradle\caches\transforms-2\files-2.1\02e4d11fe6bf13fad11f72e3224d081d\mopub-sdk-5.13.1\AndroidManifest.xml as the library might be using APIs not available in 15
14:16:57.856 Suggestion: use a compatible library with a minSdk of at most 15,
14:16:57.856 or increase this project’s minSdk version to at least 19,
14:16:57.856 or use tools:overrideLibrary=“com.mopub.mobileads” to force usage (may lead to runtime failures)
14:16:57.856
14:16:57.856 FAILURE: Build failed with an exception.
14:16:57.856
14:16:57.856 * What went wrong:
14:16:57.856 Execution failed for task ‘:App:processReleaseManifest’.
14:16:57.856 > Manifest merger failed : uses-sdk:minSdkVersion 15 cannot be smaller than version 19 declared in library [com.mopub:mopub-sdk:5.13.1] C:\Users\Narkoz.gradle\caches\transforms-2\files-2.1\02e4d11fe6bf13fad11f72e3224d081d\mopub-sdk-5.13.1\AndroidManifest.xml as the library might be using APIs not available in 15
14:16:57.856 Suggestion: use a compatible library with a minSdk of at most 15,
14:16:57.856 or increase this project’s minSdk version to at least 19,
14:16:57.856 or use tools:overrideLibrary=“com.mopub.mobileads” to force usage (may lead to runtime failures)
14:16:57.856
14:16:57.856 * Try:
14:16:57.856 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.
14:16:57.856
14:16:57.856 * Get more help at https://help.gradle.org
14:16:57.856
14:16:57.856 BUILD FAILED in 15s
14:16:57.856 Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
14:16:58.285 Android build failed (1) after 17 seconds

Please read the error log.

1 Like

add to build.setting:

    manifestChildElements = 
	{
		-- Array of strings
		[[
			<uses-sdk tools:overrideLibrary="com.google.android.gms.ads.impl" />
		]]
	},

	minSdkVersion = "19",

Everything worked !!! Thank you very much!

I read the log carefully. But I don’t know how to get the version up on my own. Now I know. Thanks!