google-developer-training / first-android-app

Repository for Build Your First Android App codelabs (Java and Kotlin)
7 stars 6 forks source link

First Android App codelab: #126

Open gracken0 opened 3 years ago

gracken0 commented 3 years ago

hi. thanks for the tutorial,

in the task 8, in the basic template, the firstfragment.java file came with this code:

binding.randomButton.setOnClickListener(new View.OnClickListener() {

this made the app stop on a Samsung 6 edge, changing it to the code in the tutorial made it run again.

also in the settings.gradle file i had to comment out the jcenter() repository as it's deprecated,

i found out how to do this by first enabling the '--warning-mode all --stacktrace' flags in the compliler in settings,

just a heads up,

thanks again!

Galo