Skip to content
  • English
  • Polski
Digital Karabela
Digital Karabela
Primary Navigation Menu
Menu
  • Home
  • Products
  • DevBlog
  • Castle Engine
  • About

Compilation of the godot-admob module with the godot from the trunk (3.1) – D8: Program type already present

Godot logo (CC-BY 3.0)

After changes in the export templates for Android Godot’s compilation with added godot-admob module can end with an error “D8: Program type already present:”.

For example:

> Task :transformDexArchiveWithExternalLibsDexMergerForDebug FAILED
D8: Program type already present: android.support.v4.app.LoaderManager$LoaderCallbacks

or:

> Task :transformDexArchiveWithExternalLibsDexMergerForDebug FAILED
D8: Program type already present: android.support.v4.widget.AutoScrollHelper$ClampedScroller

To fix this error, in the platform/android/build.gradle.template file, change the dependencies section (around line 25) by deleting the com.android.support:support-core-utils:28.0.0 entry:

From:

dependencies {
  implementation "com.android.support:support-core-utils:28.0.0"
  $GRADLE_DEPENDENCIES$
}

to:

dependencies {
  $GRADLE_DEPENDENCIES$
}

After this change, you must recompile the export for android:

scons -j 4 platform=android target=release
cd platform/android/java
./gradlew build
2018-12-30
Previous Post: Moving a simple game from the Godot 2 engine to Godot 3
Next Post: Agile Commander – Spring Sale!

Try my new game! Free to play!

Logo Bricks Color Pick

Bricks Color Pick is a completely new approach to classic Arkanoid! No paddle! Now your goal is to switch the color of the ball to the color of the brick.

Get it from Google Play

Level 37/40 5-6 Colors Screenshot

You can also change ball movement direction by the button in top left corner.

QR Code Google Play Bricks Color Pick

Level 62/80 (RelaxMode) Screenshot

Recent Posts

  • How to compile OpenAL library for Android with Oboe library.
  • Lazarus 2.0.12 Released
  • How to Fix LMMS GUI Freezing on Linux?
  • How to update wine to 5.0.0 on Linux Mint 19 or Ubuntu 18?
  • Agile Commander 1.2.3 Released!

Categories

  • DevBlog
  • GameDev
    • Castle Game Engine
    • Godot Engine
  • Linux
  • Programming
    • Dlang
      • DlangUI
    • Object Pascal
      • Lazarus
  • Promotion

Products:
Agile Commander
Bricks Color Pick

 

 

Digital Karabela – Andrzej Kilijański
76-015 Wyszebórz 32, Poland
https://digitalkarabela.com
Contact
Privacy Policy