I just updated my ubuntu and then the Android Studio. The instructions told me to move the SDK folder into it's own folder in order to install the new Android Studio, which I did. I was having trouble with gradle. Now I cannot even load the project I was working on.
The error message is:
Cannot load project: com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing 'com.intellij.openapi.vcs.changes.ChangeListManager'
Does anyone know what's happening? I am using openjdk.
I just uninstalled and reinstalled on Ubuntu, fixed it.
But I now gradle is all effed up. sigh...
You can uninstall the plugins in the bottom of the configure. Then restart the idea.
Related
I am trying to build an application from a GitHub repository repo. It's my first time using Andriod Studio and what I want is to run this application on my android phone, so I don't have basic knowledge about Java development or android SDKs.
When I am trying to set up the Studio, when I hit the "run app" button an error occured reading 'Could not find compile target android-30 for modules :app'.
I have tried to uninstall and reinstall all SDKs needed and every time I click 'Sync Project with Gradle Files' this error will pop up.
Anyone who knows about Andriod Studio could help me with this issue? I appreciate every answer and hope this issue could be resolved very soon.
Close Android Studio. Run it as Administrator. Then create a new project. You probably had an error before the project was created and ignored it
(error : Failed to read or create install properties file.).
The file "Android SDK Platform 32" (I had platform 30) needs to be installed and so if you ran Android Studio without administrator rights it won't install. With Administrator rights it'll install automatically and that's it.
I have this error when running Android Studio and I do not know where the problem comes from and how to solve it. I have just started learning Android programming.
It seems your Plugin Error Plugin "JetBrains Marketplace" is incompatible.
Download the textMate Bundles here.
Then extract the folder[bundles] and put it in the your Android
Studio's plugin folder.
For example:
C:\Program
Files\Android\Android Studio\plugins\textmate\lib
Restart AndroidStudio
Error:Execution failed for task ':CordovaLib:processDebugResources'.
aapt is missing on 'C:\Users\rv498\AppData\Local\Android\Sdk\build-tools\25.0.2\aapt.exe'
Hello, I have done importing cordova project to Android Studio before with no problems. My android studio is the latest stable version because I reinstalled it today (3/17/17). Please help thanks.
BTW, the reason I started to import to Android Studio from Cordova is because I was starting get message about gradle wrapper missing from cordova CLI. I suspect this is SDK Manager issue and I went there but after few attempts, nothing really progressed.
-I had same issue so i opened C:\Users\Sheriff\AppData\Local\Android\sdk\build-tools\24.0.2
-i saw aapt2.exe then i changed it to aapt.exe
-Closed my project on the android studio then opened it back it was working perfectly.
Quick solution
check if aapt.exe is in fact missing C:\Users\rv498\AppData\Local\Android\Sdk\build-tools\25.0.2\
it's there? echeck perms, check %PATH%
it is not there? find where it is. Copy it to the location above
of check why it looks for it in that place. Is there's any config file that got the above path? If so, edit it.
aapt.exe file moved to the latest sdk build tools folder
I just found aapt.exe file in my latest Android-SDK folder (Android_SDK\build-tools\28.0.3)
You can check your latest sdk build-tools folder
or
You can search on total Android SDK folder by file name
Today I updated my Android studio to new version 2.3 and when I try to load my project popup with following error. Please help me out as I am working on some important project.
thank you
I had similar problem but with different plugin (BlackBerry OS AVD caused this problem). I searched for plugins name (last line in your error message), it showed BB dev site, I immediately knew what was going on.
Find which plugin caused error, then go to Configrue (bottom right corner) -> Plugins -> delete your plugin, restart android studio.
Worked for me.
I had the same problem, some plugins were creating problem for me. so delete the plugins and restart the android studio.
So, i've been developing several Games for Android.
And im currently working on an update for my latest game.
I shut down my computer normally yesterday, no problems & no errors...
... Today when i logged into Windows & opened my project in Android studio i get this strabge error:
Gradle 'projectname' project refresh failed
Error:Cause: org/apache/commons/io/FileUtils
I don't know whats causing this error...
I can open my old project(game created with libgdx) and it works just fine.
But when i open my recent one it wont compile & gradle wont sync.
Even if i create a new project it will give me the same error.
Google Doesn't say anything about this :(....
what i've done to try fixing:
Reinstalled Android Studio
Removed all Java Version. JDK + JDE.
Updated All SDK, Raspitory, Google Play services, etc..
As my old project was created exactly in the same way & works, i find this very frustrating. The only things that is different from my new project is that my old game is created in an older version of Libgdx, older Version of Android Studio etc...
What's strange is that it all worked just fine yesterday!
Anyone?
i'm desperate. Put so much time into this project!
Try removing downloaded gradle dependencies for org.apache.commons.io from your system and rebuild the project. The downloaded dependencies can be found in .m2 folder (In linux it will be a hidden folder in home directory)