My Android Studio is completely broken - android

I recently started learning android development and I am using Android Studio. For the first couple of days it worked fine but now nothing is working. I can't even get passed the welcome screen. I have tried to delete everything and reinstall it multiple times but it hasn't worked. When I try to start a new Android Studio project it says "Your Android SDK is missing , out of date, or is missing templates." I would like to just completely delete everything and reinstall it. But i'm not sure how to properly do that. Also im using a mac.

To completely remove you can open Finder, goto the Applications folder and locate Android Studio then drag that to the Trash, once done you need to empty Trash.
Then you can download and re-install Android Studio.
Also you may need to take a look at this question as well
Hope that helps.

Related

Can't start Android Studio (when it already worked a lot of times)

When I wanted to start working on my app again in Android Studio I had this problem that Android Studio would start, but doesn't show a screen. In my Windows 10 taskbar I can see that it runs: Android Studio is running. But it doesn't show a window and it isn't on any other desktop. When I Windows+Tab or Alt+Tab it shows just a white screen for Android Studio. I tried restarting Android Studio, restarting my computer, reinstalling Android Studio and none of these worked this time. Yesterday it worked just fine. I had this problem last week too, but reinstalling worked. Does anybody have any idea what's wrong?
I got the same problem when I Upgrade to 4.0.
Reinstalling application is a waste of time, and it may not work.
You can try to delete the configuration file, its directory is named .AndroidStudio[version] and it is located by default on win10:
C:\Users\[userName]\.AndroidStudio[version]
This operation can make it work successfully on my win10.
Hopefully it helped you.
As stated before,
You can try to delete the configuration file, its directory is named .AndroidStudio[version] and it is located by default on win10:
C:\Users[userName].AndroidStudio[version]
Doing this will probally work, but it will erase all your configurations of the IDE, I learned that if you delete only the file named recentProjects found in C:\Users\[userName]\.AndroidStudio[version]\config\options it works.

Android studio - no launch to last version of app and no project structure

In android studio, I had a project that was working in first place but then I created multiple copy of it in other paths to add changes to these copies instead of the original.
Afterwards, I noticed that the emulator shows up but doesn't launch the app I am trying to run. I followed a tutorial on YouTube that opens the setting app on the emulator and clears launcher data. then nothing changed.. I noticed that no matter how many changes I am adding to the file, nothing changes in the old app icon existing on the emulator.
Things got much worse later when I noticed that there is no modules or any other folders in the project structure except the SDK and when the older project versions were found to have same problem suddenly.
Even when I create a new project that is empty, same thing happens and the app crashes once it's installed.
Android app icon button before run appears in the project with a red cross over it.
Both the emulator and the mobile device don't get the latest version of the app I am trying to install.
I tried to make project, build, run, clean project, sync with gradle file, invalidate cache & restart. However, none of these solutions seem to work.
No idea what is going on.. things seem to be messed up and all online sources seem to be less useless to me.
Note: I am using Android studio V 1.1.0
so, I found that the best solution to this problem is to uninstall the current version of Android studio and SDK folder and reinstall it from scratch.. hope that helps

Xamarin installation and update keep crashing

I am trying desperately to make my Xamarin studio work again. I was on Xamarin studio 5.10.3 and I try to update it to 6.0.2 and it keep crashing , I uninstall everything, delete all the xamarin folder information, delete the key product with regedit, download everything again and again but nothing is working, it is stuck to version 5.10.3 newer version even stable keep giving me the same error message (screenshot in image attachement). thanks in advance guys for your help
Screenshot here
Although you could work around this by ensuring the correct items are installed. We highly recommend that you move over to use Visual Studio on Windows instead.
https://www.xamarin.com/faq#xpq6
Here are some things you may need to ensure are installed to see if it resolves your problem even though the FAQ above is saying differently:
1) Ensure you download the correct developer pack: http://getdotnet.azurewebsites.net/target-dotnet-platforms.html
(4.5.2 should suffice)
2) Ensure you have MSBuild Tools 2013/2015 Installed
https://www.microsoft.com/en-us/download/details.aspx?id=40760
https://www.microsoft.com/en-us/download/details.aspx?id=48159
However I would recommend just using VS from this point on as noted in the FAQ.
As I see in your screenshot, when Xamarin Studio opens, you see MonoDevelop stuff instead of Xamarin. I had the exact same problem some months ago. I solved it by going to main menu > account and then log out. Then restart and log-in again.
Still not sure if that will work in Windows because it was on a mac in my particular case.

Unable to work with Android in Eclipse

Initially I was working on Android in Eclipse and everything went fine. But two weeks before i installed Texlipse plugin and was working with it. Now, when i wanted to switch back to Android i'm unable to.
In new project there's no option for creating a new Android project nor even a Java project.
Even i tried to change the Preference window to Java or Java Browsing but anything didn't work. Now i'm unable to run or compile even a single java file even after changing the perspective. I don't know whether this could be due to Texlipse, i tried searching google for ways to uninstall Texlipse but nothing worked.
So, pls anyone help me to sort this out...
Unninstall eclipse and install ADT again
If you want to play something before eclipse uninstall, what you can do is, go to your eclipse--->plugin folder (C:\eclipse\plugins something like this). There you will see all androind plugins which starts with com.android.....You may delete them and repeat the steps defined in this link.Android eclipse setup
This is one try but can't guarantee (Remember this may messup your eclipse if it don't work, so get ready for eclipse unstall if it doesn't work).
You could try launching Eclipse with the -clean parameter. This saved me when Eclipse was hanging on startup. Certainly worth a try before a re-install. More info here:
http://www.eclipsezone.com/eclipse/forums/t61566.html
go to windows/android sdk manager. If it works and androids vesions you've choosed are there, AND you don't see android in eclipse, I am afraid you will need to reinstall everything.
If sdk manager won't work, than install start sdk kit (http://developer.android.com/sdk/index.html). After that run sdk manager and set up the packages you need. If it won't work,
go to help/install new software and uninstall items that were installed in the backward sequence. After every remove check the prev step
I HAVE met the situations where only cleaning off all eclipse info and reinstalling it helped.
So, good luck!

Do I need to prevent caching on Android emulator?

I am using PhoneGap to develop cross-device (simple) applications, and I am currently using eclipse with the Android Emulator. The problem I am encountering is that it does not appear like my code changes recently are reflected by the application installed on the emulator. I have tried uninstalling the application from the emulator, cleaning and re-building from within eclipse, but neither of those has worked.
Is there some manual script I need to run to re-install the .apk? I am a newbie at mobile development, so please bear with me. :)
Eclipse should automatically rebuild your application if the option is activated. Take a look for it at Project -> Build automatically
The ADT should reinstall an application if you run the project. Take a look at the console (not LogCat) of eclipse, you should see some information about reinstalling the application (at least thats when you deploy on a device).
If you want to try if a change was successfully made, try to use a log statement that you change as soon as you have the feeling that its not the current version. So you can find out if at least the deploy worked.
If nothing of that helped, we should dig deeper...
I had the same problem (my app did not get updated whatever acrobatics I was doing) until I simply refreshed the Project in Eclipse. The javascript files I am using in the project were edited in an external text editor, the HTML in Dreamweaver, so Eclipse apparently never pulled the renewed files from the file system, even after restart. Doing a refresh took care of that.

Categories

Resources