Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,362,765
Community Members
 
Community Events
168
Community Groups

Why I can't build android project on Pipelines?

Edited
Failed

Container 'Build' exceeded memory limit.

Pipelines task failed with the log:

 

> Task :app:transformNativeLibsWithMergeJniLibsForDevelop
The message received from the daemon indicates that the daemon has disappeared.
Build request sent: Build{id=9746a490-ebda-4592-99fd-360a68c3a500, currentDir=/opt/atlassian/pipelines/agent/build}
Attempting to read last messages from the daemon log...
Daemon pid: 695
log file: /root/.gradle/daemon/4.10.1/daemon-695.out.log
----- Last 20 lines from daemon log file - daemon-695.out.log -----
/root/.gradle/caches/transforms-1/files-1.1/realm-android-library-5.8.0.aar/163dda6c2c7015919f19e1001550a817/jars/classes.jar: D8: Type `io.reactivex.disposables.Disposables` was not found, it is required for default or static interface methods desugaring of `void io.realm.rx.RealmObservableFactory$6.subscribe(io.reactivex.FlowableEmitter)`
/root/.gradle/caches/transforms-1/files-1.1/realm-android-library-5.8.0.aar/163dda6c2c7015919f19e1001550a817/jars/classes.jar: D8: Type `io.reactivex.disposables.Disposables` was not found, it is required for default or static interface methods desugaring of `void io.realm.rx.RealmObservableFactory$16.subscribe(io.reactivex.FlowableEmitter)`
/root/.gradle/caches/transforms-1/files-1.1/realm-android-library-5.8.0.aar/163dda6c2c7015919f19e1001550a817/jars/classes.jar: D8: Type `io.reactivex.disposables.Disposables` was not found, it is required for default or static interface methods desugaring of `void io.realm.rx.RealmObservableFactory$8.subscribe(io.reactivex.FlowableEmitter)`
/root/.gradle/caches/transforms-1/files-1.1/realm-android-library-5.8.0.aar/163dda6c2c7015919f19e1001550a817/jars/classes.jar: D8: Type `io.realm.io_realm_sync_permissions_PermissionUserRealmProxy` was not found, it is required for default or static interface methods desugaring of `java.util.Map io.realm.BaseModuleMediator.getExpectedObjectSchemaInfoMap()`
/root/.gradle/caches/transforms-1/files-1.1/realm-android-library-5.8.0.aar/163dda6c2c7015919f19e1001550a817/jars/classes.jar: D8: Type `io.realm.io_realm_sync_permissions_RealmPermissionsRealmProxy` was not found, it is required for default or static interface methods desugaring of `java.util.Map io.realm.BaseModuleMediator.getExpectedObjectSchemaInfoMap()`
/root/.gradle/caches/transforms-1/files-1.1/realm-android-library-5.8.0.aar/163dda6c2c7015919f19e1001550a817/jars/classes.jar: D8: Type `io.realm.io_realm_sync_permissions_ClassPermissionsRealmProxy` was not found, it is required for default or static interface methods desugaring of `java.util.Map io.realm.BaseModuleMediator.getExpectedObjectSchemaInfoMap()`
/root/.gradle/caches/transforms-1/files-1.1/realm-android-library-5.8.0.aar/163dda6c2c7015919f19e1001550a817/jars/classes.jar: D8: Type `io.realm.io_realm_sync_permissions_PermissionRealmProxy` was not found, it is required for default or static interface methods desugaring of `java.util.Map io.realm.BaseModuleMediator.getExpectedObjectSchemaInfoMap()`
/root/.gradle/caches/transforms-1/files-1.1/realm-android-library-5.8.0.aar/163dda6c2c7015919f19e1001550a817/jars/classes.jar: D8: Type `io.realm.io_realm_sync_permissions_RoleRealmProxy` was not found, it is required for default or static interface methods desugaring of `java.util.Map io.realm.BaseModuleMediator.getExpectedObjectSchemaInfoMap()`
/root/.gradle/caches/transforms-1/files-1.1/realm-android-library-5.8.0.aar/163dda6c2c7015919f19e1001550a817/jars/classes.jar: D8: Type `io.realm.io_realm_sync_SubscriptionRealmProxy` was not found, it is required for default or static interface methods desugaring of `java.util.Map io.realm.BaseModuleMediator.getExpectedObjectSchemaInfoMap()`
/root/.gradle/caches/transforms-1/files-1.1/realm-android-library-5.8.0.aar/163dda6c2c7015919f19e1001550a817/jars/classes.jar: D8: Type `io.reactivex.Flowable` was not found, it is required for default or static interface methods desugaring of `io.reactivex.Flowable io.realm.rx.RealmObservableFactory.from(io.realm.Realm)`
/root/.gradle/caches/transforms-1/files-1.1/realm-android-library-5.8.0.aar/163dda6c2c7015919f19e1001550a817/jars/classes.jar: D8: Type `io.reactivex.Observable` was not found, it is required for default or static interface methods desugaring of `io.reactivex.Observable io.realm.rx.RealmObservableFactory.changesetsFrom(io.realm.Realm, io.realm.RealmResults)`
/root/.gradle/caches/transforms-1/files-1.1/realm-android-library-5.8.0.aar/163dda6c2c7015919f19e1001550a817/jars/classes.jar: D8: Type `io.reactivex.disposables.Disposables` was not found, it is required for default or static interface methods desugaring of `void io.realm.rx.RealmObservableFactory$7.subscribe(io.reactivex.ObservableEmitter)`
/root/.gradle/caches/transforms-1/files-1.1/realm-android-library-5.8.0.aar/163dda6c2c7015919f19e1001550a817/jars/classes.jar: D8: Interface `io.reactivex.ObservableOnSubscribe` not found. It's needed to make sure desugaring of `io.realm.rx.RealmObservableFactory$7` is correct. Desugaring will assume that this interface has no default method.
/root/.gradle/caches/transforms-1/files-1.1/realm-android-library-5.8.0.aar/163dda6c2c7015919f19e1001550a817/jars/classes.jar: D8: Interface `io.reactivex.FlowableOnSubscribe` not found. It's needed to make sure desugaring of `io.realm.rx.RealmObservableFactory$5` is correct. Desugaring will assume that this interface has no default method.
/root/.gradle/caches/transforms-1/files-1.1/realm-android-library-5.8.0.aar/163dda6c2c7015919f19e1001550a817/jars/classes.jar: D8: Interface `io.reactivex.FlowableOnSubscribe` not found. It's needed to make sure desugaring of `io.realm.rx.RealmObservableFactory$16` is correct. Desugaring will assume that this interface has no default method.
/root/.gradle/caches/modules-2/files-2.1/com.squareup.retrofit2/adapter-rxjava/2.1.0/693eddc23e87ab13f9cf5001707ce8e7e1d1ff01/adapter-rxjava-2.1.0.jar: D8: Interface `rx.Completable$CompletableOnSubscribe` not found. It's needed to make sure desugaring of `retrofit2.adapter.rxjava.CompletableHelper$CompletableCallOnSubscribe` is correct. Desugaring will assume that this interface has no default method.
/root/.gradle/caches/transforms-1/files-1.1/realm-android-library-5.8.0.aar/163dda6c2c7015919f19e1001550a817/jars/classes.jar: D8: Interface `io.reactivex.FlowableOnSubscribe` not found. It's needed to make sure desugaring of `io.realm.rx.RealmObservableFactory$8` is correct. Desugaring will assume that this interface has no default method.
/root/.gradle/caches/transforms-1/files-1.1/realm-android-library-5.8.0.aar/163dda6c2c7015919f19e1001550a817/jars/classes.jar: D8: Interface `io.reactivex.ObservableOnSubscribe` not found. It's needed to make sure desugaring of `io.realm.rx.RealmObservableFactory$15` is correct. Desugaring will assume that this interface has no default method.
/root/.gradle/caches/transforms-1/files-1.1/realm-android-library-5.8.0.aar/163dda6c2c7015919f19e1001550a817/jars/classes.jar: D8: Interface `io.reactivex.FlowableOnSubscribe` not found. It's needed to make sure desugaring of `io.realm.rx.RealmObservableFactory$6` is correct. Desugaring will assume that this interface has no default method.
/root/.gradle/caches/transforms-1/files-1.1/realm-android-library-5.8.0.aar/163dda6c2c7015919f19e1001550a817/jars/classes.jar: D8: Interface `io.reactivex.ObservableOnSubscribe` not found. It's needed to make sure desugaring of `io.realm.rx.RealmObservableFactory$17` is correct. Desugaring will assume that this interface has no default method.
----- End of the daemon log -----
FAILURE: Build failed with an exception.
* What went wrong:
Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)
* 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
> Task :app:transformResourcesWithMergeJavaResForDevelop

 

 

2 answers

1 accepted

0 votes
Answer accepted

Found solution:

- step:
size: 2x # Double resources available for this step.

do I need to put this step in the end of the yml?

0 votes
amit I'm New Here Jun 21, 2022

image: androidsdk/android-30 pipelines: default: - step: name: Android Debug Application caches: - gradle script: - ./gradlew assembleDebug - ./gradlew lint - ./gradlew testDebugUnitTest artifacts: - app/build/outputs/** - app/build/reports/**

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events