Android Studio doesn't show gradle.properties file - android-studio

Since I created a global gradle configuration in %USER_HOME%/.gradle/gradle.properties, my project in android studio doesn't show me the local gradle.properties file anymore.
Instead I see a "Resource Bundle 'gradle'" which contains only the global file.
Can anyone guide me how to get the local file back in the view?
I am using latest Android Studio 3.2

Related

Can't add an assets folder in Android Studio 3.6.3

Windows 10
Android Studio 3.6.3
I was trying to add an assets folder to my Android Studio project, which as I understand, should be located under new->folder->Assets Folder in any context menu of the Project view.
Opening the context menu for the app/src/main folder in the Project view doesn't show the new->folder option. I've tried adding it through the File menu, alt+insert and context menus of different project directories. The folder option doesn't exist in any of those.
contents of the context menu->new
Edit: I've also tried:
Reinstalling Android Studio without importing user settings
Restarting Android Studion with Invalidate Cache & Restart

How to restore gradle and java files in android studio

I wanted to look at my gradle and java files as a txt file but I accidentally set the files to open in notepad by default. Now none of my android studio projects will load because it's trying to load the java and gradle files in notepad and they aren't loading in android studio. Is there anyway to change this back?
Are you now using Android Studio? Please do following steps on your Android Studio
Go to Your project Directory and remove .gradle file
Import Your project using Android Studio
File > Re-Import Gradle Project

Unknown Attribute Android: error on Android STUDIO 3.2.1

Things i have done to resolve this issue:
Clean Build & Rebuild
Deleted .idea file
Invalidated Caches/ Restart.. option
Turn On Power Save Mode.
SDk is up to date.
Sync Project with Gradle Files done.
Reinstall Android Studio done
recreate new project done
changed something in app Gradle file and synced the project again
android studio old version change also not help
Intellij shows to reset to default namespace, it will delete android namespace..
(In Project, Layout file corrections not reflecting into app)
Android Studio Version
Error Image
gradle image
Intelij Solution
This worked for me
Close Android studio
Delete all files from
C:\Users\.AndroidStudio3.2\system\caches
C:\Users\.AndroidStudio3.2\config //not importent
start android studio
Ran into the same issue. Seems to be something specifically related to Android Studio 3.2. My solution on Windows was to delete everything withing the cache/ folder in the .AndroidStudio3.2/ folder.
This problem happen for Android studio Cache & History.
Firstly In android studio go File -> Close Project and Exit Android Studio.
Then Delete below 2 Folders:
C:\Users\user-name.AndroidStudio3.X\system\caches
C:\Users\user-name.AndroidStudio3.X\config\terminal\history (optional)
Open the Android Studio and Enjoy!
Complete uninstall Android Studio (including system and cache files) and Reinstalling clears my bug...

Getting Error in style.xml file in android studio.Can not resolve symbol theme.Validates resource references inside Android XML files

The Application build and run correctly and there is no error in gradle build but the style.xml shows error.
I am using android studio 3.1 gradle version 4.4
Please see The Image.
from the top menu File -> Close project.
Remove it from the projects list.
Open existing project -> choose the project folder.

Getting error while importing my old project to Android studio 2.0

I just download the latest Android studio and trying to import my old project which was good with the last version. But I am getting
Error:org.gradle.tooling.BuildActionExecuter.withCancellationToken(Lorg/gradle/tooling/CancellationToken;)Lorg/gradle/tooling/BuildActionExecuter;
I am also getting this error when I am creating new projects.
Any suggestion to solve this problem?
Method : 1.
1.Close Android Studio
2.go to android-studio/plugins/gradle/lib
3.Delete (or better move them somewhere to have a backup) all
gradle-*-1.8 files
Start Android Studio again and rebuild/refresh.
It should work
Method : 2.
Choose another path of gradle in:
File --> settings --> Build,Execution --> Build Tools --> Gradle
If you use of ver 2 select path of installed android studio and select gradle Folder.
I just deleted all the file from my install directory and re-extracted the file, the problem gone.

Resources