Android studio unzip firebase.aar failed - android

I'm trying to use Firebase for my project but when i included the gradle files and sync them,i get this error
Error:Execution failed for task ':app:prepareComGoogleFirebaseFirebaseAnalyticsImpl1021Library'.
Unable to unzip 'E:\android-sdk-windows\extras\google\m2repository\com\google\firebase\firebase-analytics-impl\10.2.1\firebase-analytics-impl-10.2.1.aar' to 'C:\Users\lkhawlhing.android\build-cache\1d784cfc1bd0c2cb2e5ff993c4056bba42a118c8\output'
I Googled for a solution but the didn't find anything related to the error, can anyone help me with this problem.
Here's a Screenshot of the Log
log
Note : Everything was working fine until i made a new user and once i log into the new user and install the android studio.I got the sdk files from a friend who is still currently using those without any problems.

Related

Android Studio(last version) - Linking Failed

Has anyone ever appeared to you this kind of problem ?
The program was running so far just made a change and gave me this error.
I creat a new project but cant build and appeared the same error .
I wonder how can I solve this error.

Apollo-Kotlin: After creating schema.graphql android studio is showing Unsupported token `!` error

Steps that I made so far.
Downloaded an install the graphql plugin to execute the queries internally.
Created this config file for executing local queries for the expected behavior.
Which is working fine with performing general query. But with this config I am getting following error while building project and run it on a device.
Failed to parse GraphQL file E:\...\src\main\graphql\schema.graphql (9:13) Unsupported token `!`
FYI, I have already gone through this ticket from apollo-kotlin github page. Doesn't resolve my problem or I don't understand the solution there.
For now,
By deleting the E:\...\src\main\graphql\schema.graphql file, the project builds and runs just fine.
If anyone has more idea on this, let me know and I will update if I find anything else as well. Thanks

Android Studio Grade sync error - failed to find target

I have the same issue as is described in this post: AndroidStudio Failed to Sync Gradle project, Failed to find target Google Inc
My exact error in Gradle Sync is "Failed to find target Google Inc.: Google APIs:19 : C:\Users\Steve_Android\AppData\Local\Android\Sdk"
The code is here:FtcRobotControllerActivity. I did not write this code myself, I am trying to use it with a robotics application.
I cannot comment yet so I need to ask another question here. Is that answer sufficient and, if so, where does that script go? I do not have that anywhere in the app code that I am working with.

Android Studio Error:Execution failed for task ':app:processDebugResources'. >

I am having issues with my capstone project and have looked around online but my issue will not go away. I have tried closing and reopening android studio, changing the build type of my project and have come up short on getting the error resolved I'm attaching a picture of the error at run time. Hopefully someone can help me resolve this issue.
android error picture
Check your permission:
"android.permission.WRITE_EXTERNAL_STORAGE`"
There is no need for the back tick `

Android studio How to resolve Error in png files of library added

I have no Idea what is happening, last time when I finished my app I build its release apk and all was working just fine as expected but now today when I tried to make that pproject again and to make another apk I am getting the following error.
Error:Execution failed for task ':app:mergeDebugResources'.
Crunching Cruncher common_signin_btn_icon_pressed_light.9.png failed, see logs
I have no idea how to resolve it I have serached and found restarting Android studio and clean the project would remove it , doing this many times has no effect on this error. I have even restarted my machine but the condition of error in same.
In the logs I have seen that this png file is from the library I added , so just for testing I removed that library and tried to build then it started to give me same error with different png file name in other library. So how to fix this issue ?
My Questions are :
How can this issue be Solved ?
Have some one faced this problem too ?
Is this problem has been reported to google ?
Why in android we do not have any stable platform for development as IOS have ?
Try to remove "builds" folders and do rebuild. But soon, the whole thing in a long file name. Read this answer. By the way, you looked logs? Maybe this is not the PNG? You have not sent the log and did not specify the version Gradle.
Believe me, iOS developers have own problems.

Categories

Resources