Open VictorUzondu opened 2 weeks ago
You can give the fork in this pull request a try: https://github.com/google-developer-training/android-basics-kotlin-sql-basics-app/pull/68
bro how do i get the code. i mean like download the new starter code you're referring to
bro how do i get the code. i mean like download the new starter code you're referring to
You can download the three changed files in the Pull Request and use them to replace the existing files in your project directory. On each of these pages, use the "Download raw file" icon in the upper right:
An alternative is to use git and checkout the PR's commit into a local repository.
However, I tried updating the files, and it didn't help. The project still has fatal build errors.
@daveTheOldCoder what build errors are you getting? The other piece of the puzzle might be the device you're using for emulation. I think you need an image that has the play store. I was originally using the Pixel 8 API 34, I've changed to Pixel 9 API 34. You might want to give it a try
I'm using Linux (Ubuntu 24.04).
Build error:
Build file '/home/dave/Documents/AndroidStudio/Projects/AndroidBasicsWithCompose/SQLDemo/build.gradle' line: 39
A problem occurred evaluating root project 'SQLDemo'.
> Build was configured to prefer settings repositories over project repositories but repository 'Google' was added by build file 'build.gradle'
* 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.
BUILD FAILED in 64ms
Is the emulator relevant at build-time?
This problem is not preventing my continuing with the course.
This Codelab's apparent purpose is only teaching the fundamentals of SQL, and I'm already very familiar with SQL.
You can give the fork in this pull request a try: #68
thanks bro
You can give the fork in this pull request a try: #68
thanks bro
bro how do i get the code. i mean like download the new starter code you're referring to
You can download the three changed files in the Pull Request and use them to replace the existing files in your project directory. On each of these pages, use the "Download raw file" icon in the upper right:
- gradle/wrapper/gradle-wrapper.properties:
- build.gradle:
- app/build.gradle
An alternative is to use git and checkout the PR's commit into a local repository.
However, I tried updating the files, and it didn't help. The project still has fatal build errors.
thanks bro
Describe the problem bro its very difficult to get the starter code to run on this newer version of android studio and I can't go forward
Versions Android Studio version: Runtime version: 17.0.10+0--11572160 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
API version of the emulator: Don't know