Skip to content
jyong15 edited this page Jan 21, 2022 · 4 revisions

1. Google Firebase compatibility issue - Gradle duplicate classes

To resolve this, exclude the GRPC packages from the ShimmerBluetoothManager and ShimmerDriver imports in the build.gradle file by adding the statement below.

exclude group: 'com.google.api.grpc'

2. Out of memory error when building project

If a java.lang.OutOfMemoryError occurs while attempting to build any of the Android API projects (e.g. below),

Execution failed for task ':shimmerBasicExample:mergeExtDexDebug'. A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade java.lang.OutOfMemoryError (no error message)

Try setting the IDE and Gradle heap size settings in the Android Studio settings to the maximum available. This can be found in File -> Settings, by searching for "Memory Settings".

Clone this wiki locally