Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

Colorizer project crashes immediately on run

I'm working on the Colorizer project. I downloaded the project files from the teacher's notes. When I try to run the project, the emulator immediately crashes. The errors it throws are as follows:

5/23/2019
2:24 PM Gradle sync started

2:24 PM Project setup started

2:24 PM Source generation ended in 88 ms

2:24 PM Gradle sync finished in 17 s 392 ms (from cached state)

2:24 PM Gradle sync started

2:24 PM Project setup started

2:24 PM Source generation ended in 180 ms

2:24 PM Gradle sync failed (2 s 588 ms)

2:24 PM Syncing only active variant
                You can disable this experimental feature from
                File → Settings → Experimental → Gradle → Only sync the active variant

2:25 PM Executing tasks: [assemble]

2:25 PM Gradle build finished in 2 s 140 ms

2:25 PM Gradle sync started

2:25 PM Project setup started

2:25 PM Gradle sync failed (5 s 513 ms)

2:25 PM Syncing only active variant
                You can disable this experimental feature from
                File → Settings → Experimental → Gradle → Only sync the active variant

2:25 PM Executing tasks: [assemble]

2:26 PM Gradle build finished in 55 s 734 ms

2:26 PM Gradle sync started

2:26 PM Project setup started

2:26 PM Gradle sync finished in 1 s 460 ms

2:26 PM Syncing only active variant
                You can disable this experimental feature from
                File → Settings → Experimental → Gradle → Only sync the active variant

2:28 PM Executing tasks: [:app:assembleDebug]

2:28 PM * daemon not running; starting now at tcp:5037

2:28 PM * daemon started successfully

2:28 PM Gradle build finished in 14 s 383 ms

2:28 PM Emulator: Warning: setGeometry: Unable to set geometry 596x960+2361+232 on QWidgetWindow/'EmulatorContainerClassWindow'. Resulting geometry:  745x1200+2361+232 (frame: 0, 0, 0, 0, custom margin: 0, 0, 0, 0, minimum size: 200x200, maximum size: 16777215x16777215). ((null):0, (null))

2:28 PM Emulator: Warning: setGeometry: Unable to set geometry 65x515+2913+232 on QWidgetWindow/'ToolControlsWindow'. Resulting geometry:  81x644+2913+232 (frame: 0, 0, 0, 0, custom margin: 0, 0, 0, 0, minimum size: 65x515, maximum size: 65x515). ((null):0, (null))

2:28 PM Emulator: Warning: setGeometry: Unable to set geometry 745x1200+12+0 on QWidgetWindow/'EmulatorContainerClassWindow'. Resulting geometry:  596x960+12+0 (frame: 0, 0, 0, 0, custom margin: 0, 0, 0, 0, minimum size: 200x200, maximum size: 16777215x16777215). ((null):0, (null))

2:28 PM Emulator: Warning: setGeometry: Unable to set geometry 81x644+564+0 on QWidgetWindow/'ToolControlsWindow'. Resulting geometry:  65x515+564+0 (frame: 0, 0, 0, 0, custom margin: 0, 0, 0, 0, minimum size: 65x515, maximum size: 65x515). ((null):0, (null))

2:28 PM Emulator: Process finished with exit code 0

2:30 PM Executing tasks: [:app:assembleDebug]

2:30 PM Gradle build finished in 2 s 968 ms

2:30 PM Emulator: Warning: setGeometry: Unable to set geometry 619x960+2013+151 on QWidgetWindow/'EmulatorContainerClassWindow'. Resulting geometry:  774x1200+2013+151 (frame: 0, 0, 0, 0, custom margin: 0, 0, 0, 0, minimum size: 200x200, maximum size: 16777215x16777215). ((null):0, (null))

2:30 PM Emulator: Warning: setGeometry: Unable to set geometry 65x515+2568+151 on QWidgetWindow/'ToolControlsWindow'. Resulting geometry:  81x644+2568+151 (frame: 0, 0, 0, 0, custom margin: 0, 0, 0, 0, minimum size: 65x515, maximum size: 65x515). ((null):0, (null))

2:30 PM Emulator: Warning: setGeometry: Unable to set geometry 774x1200+409+0 on QWidgetWindow/'EmulatorContainerClassWindow'. Resulting geometry:  619x960+409+0 (frame: 0, 0, 0, 0, custom margin: 0, 0, 0, 0, minimum size: 200x200, maximum size: 16777215x16777215). ((null):0, (null))

2:30 PM Emulator: Warning: setGeometry: Unable to set geometry 81x644+964+0 on QWidgetWindow/'ToolControlsWindow'. Resulting geometry:  65x515+964+0 (frame: 0, 0, 0, 0, custom margin: 0, 0, 0, 0, minimum size: 65x515, maximum size: 65x515). ((null):0, (null))

2:30 PM Emulator: Process finished with exit code 0

Did you get this fixed?

Steve.

No, not yet.