Fabric For Android Studio threw an unchaught NullPointerExcpetion - android

I'm using Fabric with both Android Studio and Eclipse, and the plugin was really an easy tool, From a couple of weeks the Plugin for Android Studio is not working any more, I have tried to install/uninstall several times with no success, this mainly happened after the plugin is moved into Repositories.
Every time on the start up of Android Studio there is a floating message says
"Fabric for Android Studio threw an uncaught NullPointerException.
Disable Plugin"
, And in Event Log a message appears every 5 seconds
"NullPointerException: update failed for AnAction with
ID=Actions.Crashlytics.CrashlyticsAction"
I already read this Question with no success
Exception in plugin Fabric for Android Studio
I have posted a question too here in there Forums
https://twittercommunity.com/t/fabric-for-android-studio-threw-an-unchaught-nullpointerexcpetion/58893
I hope i can find a way to install it again without problems
Thanks.

I have contacted Fabric support and that was their reply
Hmm seems like something odd's going on here! This error is usually
due to an out of date plugin or a caching issue with Android studio.
I'd like to have you try deleting the cache, removing the plugin and
reinstalling it.
To clear the cache, delete com.crashlytics here:
~/Library/Caches/com.crashlytics
Can you then uninstall and reinstall the plugin and try it again?
After trying this, the plugin was installed successfully.

Related

Android Studio shows failed to prepare an update: request failed with status code 404

Whenever I try to update Android Studio it shows an error failed to prepare an update status code 404.. I have tried almost every possible way:
from changing no proxy to with proxy.
from reinstalling Android Studio to redownloading Android SDK.
from redownloading command-line-tools to changing operating system still no luck.
Even changed Android Studio version still the same error..
I did not found any similar question on web yet so I had to ask the question here. If anyone know any possible answer to solve this problem please tell me..
I am using Android Studio 3.6.3.
My PC is 32bit so I cannot download latest version. 32bit users are only receiving critical updates.
The problem started just two months before. Once I updated the Android Studio to 4.1 but now it is unable to do that.
Maybe to the site is not responding to the update request but other things are working properly like downloading SDK, NDK etc...

Kotlin plugin 1.3.70 update is failing to install

On Android Studio's suggestion, I am trying to install the Kotlin 1.3.70-realease-Studio3.6-1 , after Downloading it says "plugin update was not installed. See log..." and the log is lengthy and i cant understand it.
Anyone knows the fix?
I had the same error message. There is also nothing in the logs. All you need to do is to restart Android Studio, Release 1.3.70 is very likely already installed, that's why you are getting the error.
After restarting, open the Tools menu, Kotlin, Configure Kotlin Plugin Updates and you will see that Release 1.3.70 is installed and that there are no updates available.

Why do I get Gradle Sync Issues Host is down in Android Studio 3.5.1 on mac

I downloaded Android Studio and SDKs about 6 months ago to build to android in Unity. When I've tried to use Android Studio I get error: Gradle sync issues: Host is down. I've googled but can't seem to find anyone with a similar problem atleast not since 2 years ago. Nobody in my class has this issue either.
I unistalled all files related to gradle and Android with the terminal using the answer in this thread:
How to completely uninstall Android Studio on Mac?
I then installed it fresh with standard settings but I still get this error. Why do I get this?
Screenshot of error
PS. I haven't posted any screenshots because I don't know what is needed. If you need it, I'll be happy to post what is necessary.

Android Eclipse ADT build build process enters an unending loop

I have downloaded latest adt bundle for mac from android developers website. I do create a library project connected to main project and suddenly, Eclipse started to nag! I checked the build progress and I figured out that build process restarts at 40-50%.
I have captured a screenshot:
Some people suggested to disable Build Automatically. After doing this, the project builds and runs OK but I have to build manually after every little change and it's boring.
I am using Eclipse IDE for android Developers version 23.0.2.1259578.
Android SDK Manager details:
What is the cause of this misbehavior? What is a good solution? Any idea?
This was my solution for this issue I have posted a few month ago,
https://stackoverflow.com/a/24631434/2970351
Also try other solution in that page if it didn't work for you.

Android Studio "Start Failed" on Windows 8 64bit

https://code.google.com/p/android/issues/detail?id=74801
This is the issue I logged with google and have yet to hear back. But I am wondering if there would be anyone on here that has gotten similar issues with Android Studio and have resolved them?
Basically I added ArgoUML plugin to Studio and had to restart on when it restarted I got a nice big error saying it failed to start with a massive list of stuff ( attached pic on the google issue has this image of the error).
I am using studio for a college project and am still a noob when it comes to programming so most of what it says in the error message is gobbledygook!
I did several re-install of Studio but still got the same message but I can see even after a the re-installs that near the end ArgoUML is mentioned?! Any idea's why this is happening?
Cheers,
Owen
By the way, I think I found out why the plugin crashed.
The plugin tries to load a "sync.png" icon (code here) from the IDE, but there is no sync icon in recent releases. This causes an uncaught NullPointerException, which you can see on the very last line of the error message.
The answer to this question was posted by Bad Wolf above in the comments, was to delete the plugin from the .AndroidStudioBeta folder within the user folders (of windows), this resolved the issue.
Even after re-installing Android Studio the files remained in the user folders so just to be aware if anyone else is having an issue with faulty plugins.

Categories

Resources