I have created a project in Android Studio but when I'm about to run it, this message appears:
'Unexpected exception while reading 9-patch file: Unable to parse
file:
F:/Lazarillo/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.2.0/res/drawable-hdpi/abc_btn_switch_to_on_mtrl_00012.9.png
'
I have tried to create new gradles but it's just impossible, it doesn't run anyway.
There are no errors in the code, everything looks flawless, what should I do?
Related
I tried creating a module in Android Studio. The module appears in my project structure but not the sidebar. Its dependencies aren't showing up under gradle scripts and I'm getting an error message saying that gradle sync failed.
I tried creating a module named MeepMeepTesting in Android Studio using New --> Module --> Java or Kotlin Library. I gave the library and class the same name. The module shows up in my Project Structure, but not in the sidebar, and I also cannot find its build.gradle under Gradle Scripts. This is the error I get when I tried creating the module: Gradle project sync failed. Basic functionality (e.g. editing, debugging) will not work properly. In my build window, I'm getting the message "null"
I updated my gradle and made sure I'm not in offline mode.
I'm unsure why this is happening, as I have already completed this process twice successfully.
Unable to load class 'org.gradle.initialization.layout.BuildLayoutFactory'
This is an unexpected error. Please file a bug containing the idea.log file.
Suddenly all my files are marked brown (non-project-files)
The Error message looks like this when I start Android Studio:
All I did was a Flutter update to v1.12.13+hotfix.9, but the error occured just now.
Furthermore, the lib package moved.
Run flutter clean then try again it should work then
I can't import the source code to my project, getting the following error when gradle runs:
'Error:Cannot get property 'pom' on extra properties extension as it does not exist'
I'm using Android Studio and already run the gradle clean build command before import it. As a Project, the gradle compile OSM and runs just fine.
What am I doing wrong?
I am trying Android Studio. Installed on Windows XP and got the following error
while trying to build a new project. One of the error messages: the SDK directory is not found.
I have tried to change the path to the SDK but cannot find the option in the configuration menu. Any help is welcome
RESOLVE ERROR:
Failed to import new Gradle project: Could not fetch model of type 'IdeaProject' using Gradle distribution 'http://services.gradle.org/distributions/gradle-1.6-bin.zip'.
Build file 'L:\Documents and Settings\Administrador\AndroidStudioProjects\Prueba3Project\Prueba3\build.gradle' line: 9
A problem occurred evaluating project ':Prueba3'.
A problem occurred evaluating project ':Prueba3'.
The SDK directory 'L:\Documents and Settings\Administrador\Configuración local\Datos de programa\Android\android-studio\sdk' does not exist.
You need to modify the local.properties file in your project.
I had manually point it to the path of my SDK, which for me, on Mac, looked like this:
sdk.dir=/Applications/Android Studio.app/sdk