#[SOLVED] Unable to compile a Android-Studio Application

24 messages · Page 1 of 1 (latest)

zinc magnet
#

@winter summit

winter summit
#

Invalidate the cache and restart Android Studio.

zinc magnet
#

I'm compiling from the build.sh provided in the repo. I installed Android Studio and the sdk version 34

winter summit
#

When do you encounter this error?

zinc magnet
#

half way through the compiliation

winter summit
#

Clean and rebuild the project.

#

This can help resolve any cached build issues.

zinc magnet
#

How can i clean the cache? I'm not much experienced with android studio

winter summit
#

Which OS do you operate?

zinc magnet
#

linux

#

arch linux

winter summit
#

The default location is usually:

#

~/.cache/Google/AndroidStudio<version_number>

#

Replace <version_number> with the actual version number of Android Studio.

zinc magnet
#

Ok done

#

Now I try compiling again?

winter summit
#

Yes.

zinc magnet
#

It compiiileed!

#

Thank you so much

winter summit
#

You're welcome.

glossy wagon
flat escarpBOT
#

#9742 📣 If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.

  • You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
  • You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".

Your title should be like so: https://cdn.discordapp.com/attachments/503224329191030787/1039841700417384498/image.png
Thank you