I am not able to fix the run problem in android studio - General Questions and Answers

Hello,
I am new to android studio and I am not able to fix the issue of run button. I have opened my existing project and the run option is disabled in android studio. I am getting error as:- StreamCorruptedException: Failed to maintain projects LRU cache for dir C:\Users\bhavya\.AndroidStudio2.2\system\resource_folder_cache: invalid stream header: 00000000
What should I do?

Related

[Q] Cannot install SDK: Failure initializing default SSL context

I am trying to install the SDK on my 64 bit linux machine running debian testing. I am following the procedure written here: XXX//developer.android.com/sdk/installing.html and have reached the step where you go into the tools directory and type ./android
It's failing with these messages -- except that I added the XXX so that I could post this note to the forum which won't let me post urls. for XXX read h t t p s below and h t t p above
Fetching XXXdl-ssl.google.com/android/repository/addons_list-1.xml
Failed to fetch URL XXXdl-ssl.google.com/android/repository/addons_list-1.xml, reason: Failure initializing default SSL context
Fetched Add-ons List successfully
Fetching URL: XXXdl-ssl.google.com/android/repository/repository-5.xml
Failed to fetch URL XXXdl-ssl.google.com/android/repository/repository-5.xml, reason: Failure initializing default SSL context
Done loading packages.
I thought to replace https with http but grepping the tools directory for the string XXXdl-ssl.google.com did not find anything.
I don't understand this error message, and I don't know what next to try.
Thanks very much.
Updating from openjdk-6-jdk to openjdk-7-jdk fixed the problem. Just in case anybody else runs into it.

[Q] Problem with Eclipse

Hey there I have a problem with Eclipse when i select run, i get the following error before it starts:
"An internal error occurred during: "Launching New_configuration".
Path for project must have only one segment."
Is it to do with environment variable that had to be set up? If anyone can help with this id be most grateful

Can not start android studio on linux

I have installed android studio on puppy linux precise 5.71
When I start studio.sh following errormessage is shown and studio does not start
Unable parse command line: Unknown option --error
I have changed script from !/usr/bin/sh to /usr/bin/bash but still same error
Can anybody tell me how to rectify this error ?
Thanks in advance

Error:Execution failed for task directoryPicker:processReleaseResources

Hello developers,
Since I am new to the forum, I was unable to post my question in the Android developer section.
I am having a problem lately with Android Studio ever since I updated to 2.3.3
The error occurs when I try to run or build a project. Here is error message:
Code:
Error:Execution failed for task ':directoryPicker:processReleaseResources'.
> java.io.IOException: Could not delete path 'C:\Users\XXXXXXX\Desktop\XXXXXXXXX\XXXXXXXXX\directoryPicker\build\generated\source\r\release\android\support\compat'.
Every time I want to build or run the project, I have to "Build > Clean project". This happens to all my projects and not only one project. I did the following:
Ran Android Studio in Administration mode
Deleted the build folder
Restarted the computer and Android Studio
But no luck! Any idea on how to resolve this issue?
Also please be informed that the file path varies. Sometimes it's "android\support\compact" and sometimes it's something else!

Android studio problem

how to fix Error running 'Specifications': Cannot run program "gauge" (in directory "C:\DOC\My-App-Restaurante-Finxi-master"):
Do you mean that you couldn't build & run your app project in the Android Studio?

Categories

Resources