• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Android Manifest merger failed

P

Pano

Guest
Hi,
creating android executable of my project, the output window shows:
Code:
:com.pano.swipethesquares:mergeDebugResources
T:\com.pano.swipethesquares\src\main\AndroidManifest.xml Error:
    uses-sdk:minSdkVersion 9 cannot be smaller than version 15 declared in library [com.facebook.android:facebook-android-sdk:4.23.0] T:\com.pano.swipethesquares\build\intermediates\exploded-aar\com.facebook.android\facebook-android-sdk\4.23.0\AndroidManifest.xml
    Suggestion: use tools:overrideLibrary="com.facebook" to force usage

:com.pano.swipethesquares:processArmeabi-v7aDebugManifest

See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.

:com.pano.swipethesquares:processArmeabi-v7aDebugManifest FAILED
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':com.pano.swipethesquares:processArmeabi-v7aDebugManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 9 cannot be smaller than version 15 declared in library [com.facebook.android:facebook-android-sdk:4.23.0] T:\com.pano.swipethesquares\build\intermediates\exploded-aar\com.facebook.android\facebook-android-sdk\4.23.0\AndroidManifest.xml
    Suggestion: use tools:overrideLibrary="com.facebook" to force usage

* Try:

BUILD FAILED

Total time: 17.725 secs
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.


C:\Windows\system32\cmd.exe exited with non-zero status (1)
elapsed time 00:03:19.4499645s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.0.6.96/bin/Igor.exe" -options="C:\GameMakerStudio2\build.bff"  -- Android Package started at 06/10/2017 18:10:48
FAILED : Package Program Complete
Settings is

IDE v2.0.6.146
Runtime v2.0.6.96

how to solve?
Thanks
 

rwkay

GameMaker Staff
GameMaker Dev.
Looks like you are using an older facebook sdk have you upgraded the extension using the most recent one??

Russell
 
P

Pano

Guest
adding
Code:
<uses-sdk tools:overrideLibrary="com.facebook" />
to the manifest

new output window:
Code:
:com.pano.swipethesquares:processArmeabi-v7aDebugManifest

See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.

:com.pano.swipethesquares:processArmeabi-v7aDebugManifest FAILED
V:\com.pano.swipethesquares\src\main\AndroidManifest.xml:22:3-52 Error:
uses-sdk:minSdkVersion 9 cannot be smaller than version 15 declared in library [com.android.support:customtabs:25.3.1] V:\com.pano.swipethesquares\build\intermediates\exploded-aar\com.android.support\customtabs\25.3.1\AndroidManifest.xml
Suggestion: use tools:overrideLibrary="android.support.customtabs" to force usage

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':com.pano.swipethesquares:processArmeabi-v7aDebugManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 9 cannot be smaller than version 15 declared in library [com.android.support:customtabs:25.3.1] V:\com.pano.swipethesquares\build\intermediates\exploded-aar\com.android.support\customtabs\25.3.1\AndroidManifest.xml
Suggestion: use tools:overrideLibrary="android.support.customtabs" to force usage

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 15.591 secs


C:\Windows\system32\cmd.exe exited with non-zero status (1)
elapsed time 00:03:07.4669075s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.0.6.96/bin/Igor.exe" -options="C:\Users\Samuele\AppData\Local\GameMakerStudio2\build.bff" -- Android Package started at 06/19/2017 19:22:31
FAILED : Package Program Complete
any ideas?
thanks
 
Top