Search This Blog

22 May 2013

Android Studio desktop entry

I've been using IntelliJ for my Android development from the beginning.  The new from #io13 that they were switching to an IntelliJ-based IDE was awesome.  Of course, I had to download it and try it out.

First thing to note is that although the Ultimate edition of IntelliJ is supposed to have the same support; the two are not exactly the same.  Creating a new project in Android Studio has a different wizard (at least today).

I installed Android Studio in /usr/local/android-studio.  Upon launching Android Studio, I decided to try to do the "Configure | Create desktop entry".

This unfortunately caused an exception:

[  10724]   WARN - tions.CreateDesktopEntryAction - Unable to locate suitable startup script in '/usr/local/android-studio/bin'. java.lang.RuntimeException: Unable to locate suitable startup script in '/usr/local/android-studio/bin'. at com.intellij.ide.actions.CreateDesktopEntryAction.prepare( at com.intellij.ide.actions.CreateDesktopEntryAction.createDesktopEntry( at com.intellij.ide.actions.CreateDesktopEntryAction$ at com.intellij.openapi.progress.impl.ProgressManagerImpl$ at com.intellij.openapi.progress.impl.ProgressManagerImpl$ at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress( at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess( at com.intellij.openapi.progress.impl.ProgressManagerImpl$ at com.intellij.openapi.application.impl.ApplicationImpl$ at java.util.concurrent.Executors$ at at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$ at at com.intellij.openapi.application.impl.ApplicationImpl$1$

The solution is just to create the desktop entry manually. Create the file ~/.local/share/applications/android-studio.desktop:

[Desktop Entry]
Comment=Develop Android with pleasure!
Name=Android Studio
Exec="/usr/local/android-studio/bin/" %f

That's it. Depending on your OS version and window manager, you may need to restart X and/or log out.

09 May 2013

Upgrading the Galaxy Note to Jelly Bean

I received an SMS from AT&T today telling me that I could upgrade to JB using KIES. Enough acronyms for you?

Rebooting into Windows so that I could launch Kies....
Starting Kies, it detected that it was out of date and updated.
Afterwards, plugging in the phone, it detected the firmware was out of date and tried to update.
That's where things got redundant.  I got in an infinite loop that kept stopping at:

Now, don't get me wrong. My first thought was maybe I was down to 100MB internal storage again. I do tend to install a couple hundred apps.

But, now according to the file manager:

So what's going on?

After a few attempts, I went to Settings | Storage | Unmount SD Card

After that Kies was able to upgrade the device.