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.
Related
Whenever I try installing Android studio on my PC, I keep seeing this error message.
I have installed Android studio more than three times now,but I keep seeing this error message please any ways or suggestions . So that I can fix this?
I think the problem is not with your android studio package, but the network you're on while installing Android Studio. Before your start installation, connect to a reliable network also make sure to check your firewall settings while installing. However if you still face issues then refer below the similar asked question with solution.
Here is the question with solution related to your issue
I have updated my Android Studio to 3.0.1. after starting Studio, I get a strange error. I searched whole day, but couldn't find any solution for this. I even uninstalled Studio twice without keeping the old settings, but still facing the same issue. Please help, if anyone has gone through same issue.
Error:Execution failed for task ':myProject:transformResourcesWithMergeJavaResForDebug'.
More than one file was found with OS independent path 'values/dimens.xml'
Other users have been faced to this kind of issue after an Android Studio update to version 3.
Please see this answer and let us know if it solved your problem.
Recently i made an app for android through android studio, a very simple app.
But when i started the emulator to test the app i received an unusual error.
This is what the error looks like in a general form :-
WARNING:./android/base/files/IniFile.cpp:155:Failed to process .ini file C:\Users\xxxxxxx.android\avd\Nexus_5_API_23.ini for reading.
My question is,
1) What is the meaning of this error ?
2) And how do i solve this error ?
Have you recently updated the SDK tools. It sounds like it might be some compatibility issue with the tools and the emulator. Try going into the AVD manager and see if there is an update, and/or delete the emulator and re-create and see if that solves the issue.
I updated the android sdk today - since then I have had the following problems
stopped exporting apk ( but doesn't tell me why)
can't run emulator (message on console says it cannot find *.apk)
I tried reloading project, after getting message that id did not exist (even though it was there)
managed to get eclipse to recognise project, but now it rejects the switch/case statement on my options menu
All this worked yesterday - and I have looked at most of the solutions put forward on other posts - and none seem to work.
currently I am on android sdk tools 23.05 and eclipse Luna 4.4.1 (running on Linux as that may be a factor)
Has anyone any idea how to solve this - any suggestions greatly appreciated.
I managed to get things to work, although I was now getting an error related to case statements in libraries. I checked the properties, and the project was not set as a library so I couldn't understand this.
I then tried the one thing I should have done first - what I would have done thirty years ago when first in IT - I completely rebooted the whole system.
Now eclipse showed the project as being a library, so I was able to reset that and everything now seems to work.
I can only assume the update yesterday messed up some of the memory, and the eclipse lost its bearings.
I'm developing an Android application on Eclipse Juno, and using a MAC OS Lion.
When I fix some error in a xml file the error mark doesn't disappear, and it doesn't let me compile the code even if I fix it. I tried deleting it through Window-> Show View -> Problems , but when i compile the code, the error came back. The only way i figured out to solve it is to crop all the content in the file, save the xml without errors and then paste the same code inside the xml file again, the error just go away as if there wasn't anything there.
Does anyone now why it happens?
Grahaminn is correct in that seeing the code would be helpful in case there is something that you are missing. However, since you say that it goes away once you cut, save, and paste, I believe you did take care of the error. While I've never found an answer to the same question other than the eclipse compiler obviously has bugs, I have had the same thing happen and have had to resolve the issue in the same way. The compiler, for whatever reason, still sees the error instead of the fix. It is very frustrating but we are stuck doing what you have done until the compiler is fixed.
Update your Android development tools. That bug (Android Lint issues remain even after correcting them) was fixed in ADT 20.0.2.
If you can't or don't want to upgrade, you have the options of
cleaning the project
manually running Android Lint again.
But similar errors will occur again from time to time then.
Thanks for all the answers. My Eclipse is working properly at least until now, the only thing with still giving me headaches is the R.java file which keep disappearing sometimes , but thats due to problems with ADT i guess. I uninstalled the ADT plugin and installed it again.