4
respostas

Lidando com telas com tamanhos diferentes - Voltou a ocorrer o Erro no Gradle Building

Matheus,

Não estou conseguindo dar continuidade ao Curso Android III, pois um erro que dei como solucionado na questão "Lidando com telas com tamanhos diferentes - Erro no Gradle Building", voltou a ocorrer e não consegue fazer o build do aplicativo, segue evidência.

Abraços.

Information:Gradle tasks [:app:assembleDebug]
Error:UNEXPECTED TOP-LEVEL ERROR:
Error:java.lang.OutOfMemoryError: GC overhead limit exceeded
Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException
Information:BUILD FAILED
Information:Total time: 4 mins 11.206 secs
Information:3 errors
Information:0 warnings
Information:See complete output in console
4 respostas

Vitor, tudo bem !?

Consegue pegar as informações do log cat?!

Matheus,

Segue conforme solicitado.

10-07 19:19:34.771 1200-2313/? W/AudioFlinger: RecordThread: buffer overflow
10-07 19:19:35.030 2294-2395/? I/Icing: updateResources: need to parse pmu{com.google.android.gms}
10-07 19:19:35.063 1587-2110/? I/AccountManagerService: getTypesVisibleToCaller: isPermitted? true
10-07 19:19:35.107 2165-2867/? I/UpdateIcingCorporaServi: UpdateCorporaTask done [took 985 ms] updated apps [took 985 ms] 
10-07 19:19:35.163 2565-2631/? D/InitAlarmsService: Clearing and rescheduling alarms.
10-07 19:19:35.177 1587-2767/? I/ActivityManager: Killing 1771:com.android.externalstorage/u0a7 (adj 15): empty #17
10-07 19:19:35.318 2294-2395/? I/Icing: Removing corpus key 974E50088F09EDC681F4317675C193CC9A5F05CD for package com.google.android.gms
10-07 19:19:38.391 1587-2110/? I/ActivityManager: Killing 2065:com.android.music/u0a40 (adj 15): empty #17
10-07 19:19:38.394 2165-2879/? I/UpdateIcingCorporaServi: Updating corpora: APPS=com.google.android.gms, CONTACTS=MAYBE
10-07 19:19:38.410 2165-2879/? I/UpdateIcingCorporaServi: UpdateCorporaTask done [took 16 ms] updated apps [took 16 ms] 
10-07 19:19:39.692 2294-2395/? I/Icing: Usage reports 0 indexed 0 rejected 0 imm upload false
10-07 19:19:39.700 2294-2395/? I/Icing: Usage reports 0 indexed 0 rejected 0 imm upload false
10-07 19:19:39.703 2294-2395/? I/Icing: updateResources: need to parse pmu{com.google.android.gms}
10-07 19:19:39.741 2294-2395/? I/Icing: Removing corpus key 974E50088F09EDC681F4317675C193CC9A5F05CD for package com.google.android.gms
10-07 19:19:40.801 2294-2395/? E/Icing: Aborting indexing of corpus sms
10-07 19:19:40.812 2294-2395/? I/Icing: Usage reports 0 indexed 0 rejected 0 imm upload false
10-07 19:19:40.821 2294-2395/? I/Icing: Usage reports 0 indexed 0 rejected 0 imm upload false
10-07 19:19:40.823 2294-2395/? I/Icing: Indexing 974E50088F09EDC681F4317675C193CC9A5F05CD from com.google.android.gms
10-07 19:19:41.205 2294-2302/? W/SQLiteConnectionPool: A SQLiteConnection object for database '/data/user/0/com.google.android.gms/databases/networkstatistics.sqlite' was leaked!  Please fix your application to end transactions in progress properly and to close the database when it is no longer needed.
10-07 19:19:41.792 2294-2395/? I/Icing: Indexing 9A8C1EB9649F33D996DA932065553EDD71DD58B3 from com.google.android.gms
10-07 19:19:41.870 2294-2395/? I/Icing: Indexing done 9A8C1EB9649F33D996DA932065553EDD71DD58B3
10-07 19:19:41.871 2294-2395/? I/Icing: Indexing done 974E50088F09EDC681F4317675C193CC9A5F05CD
10-07 19:19:41.872 2294-2395/? I/Icing: Indexing 9A8C1EB9649F33D996DA932065553EDD71DD58B3 from com.google.android.gms
10-07 19:19:41.872 2294-2395/? I/Icing: Indexing done 9A8C1EB9649F33D996DA932065553EDD71DD58B3
10-07 19:20:34.302 2213-2213/? E/NetworkScheduler.ATC: Provided calling package not found: com.google.android.apps.photos
10-07 19:20:34.420 1587-1935/? I/AccountManagerService: getTypesVisibleToCaller: isPermitted? true

Vitor,

Precisei cortar as informações para consegui analisar, pois estava dando problemas no momento de subir aqui.

https://gist.github.com/philippeehlert/088a88e837e5779938b87c0db21c26ee aqui está inteiro

Os erros que estão dando, não são pertinentes ao nosso projeto.

Consegue, colocar o projeto em um github para gente consegue ver o que rolou ? Para simular pelo menos??

Abraços

Matheus,

Segue o endereço do aplicativo no github

https://github.com/VitorCalassi/vlconsultoria/tree/master/main

Enviei também para você pelo contato@alura.com, o arquivo Agenda.rar no Dropbox, com o aplicativo completo.

Abraço.