Skip to content

Tag: android-studio

Android Studio: Cannot resolve symbol ‘raw’

I’ve a resource directory called “raw” in the “res” folder, but still can’t access it through my code. The problem occurs when trying to declare the MediaPlayer variable. Answer Android Studio 3.6+: Click on Build -> Rebuild Project and then click File -> Sync Project…

Can’t find Java folder in Program Files

I hate asking this, but I’ve never been able to find my Java folder on my current PC. I’d like to find it so I could use a keystore command to find my SHA and just to know where it is. I found a SHA number through gradlewindow/signing report, but now the api page isn’t accepting it so I want…

How to use strings on java (Android)

I’m working on a project where I’ve defined several strings to use on my project. I want to use a string to be displayed as my subtitle of the page on the toolbar. The reason I’m using strings is because I want my app to be translation supported. Here is how I use subtitles on the toolbar of…