Menu not displayed since I upgraded to Ubuntu 13.10 - menu

Since the update of Ubuntu from 13.04 to 13.10, I am having problems with Aptana Studio.
The top menu is not clickable. When I click the menu item is not displayed.
I tried to reinstall Aptana (x64 version) and still I have the same problem.
Any help?

This is the same issue with Eclipse:
Eclipse menus don't show up after upgrading to Ubuntu 13.10
Here is my /usr/share/applications/aptana.desktop :
[Desktop Entry]
Name=Aptana Studio
Comment=An IDE for web applications projects
Icon=/opt/Aptana_Studio_3/icon.xpm
Exec=env UBUNTU_MENUPROXY=0 '/opt/Aptana_Studio_3/AptanaStudio3'
Type=Application
Categories=Application;GTK;Development;IDE;
Encoding=UTF-8
StartupNotify=false
It's a workaround, but at least it works

Related

Android Studio with the same theme as IntelliJ on Windows

Android Studio seems to have different "theme" on Windows than IntelliJ products I use (PhpStorm, etc.). I'd like to force AS to the more native look&feel. How to do it?
Android Studio 3.6:
PhpStorm 2019.3:
I've tried running AS with JetBrain's JDK, but still the same.
Android Studio 3.6
Build #AI-192.7142.36.36.6200805, built on February 12, 2020
Runtime version: 11-ea+102 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1979M
Cores: 12
Registry: ide.new.welcome.screen.force=true
Non-Bundled Plugins: com.jetbrains.ChooseRuntime
I recommend you download Intellij IDEA and the Android SDK separately. That way Intellij IDEA will have the look and feel you are looking for.
You can find instructions here.
Yes, you can install "default" light theme found in phpstrom in android studio 3.6(latest)
Download IntelliJ Light Theme jar file(select compatibility as android studio) from this website.
open android studio.
File -> Settings -> Plugin -> from the wheel drop down select 'Install Plugin from Disk....'
select IntelliJ Light Theme jar file.
Restart IDE.
Go to File -> Settings -> Appearance -> Theme, drop down select IntelliJ Light Theme and select Apply.
By this way you can install your favorite themes.
I hope this helps.

How to create second desktop entry for preview and stable android studio on Ubuntu

I want to install android studio preview alongside the stable version.
Download the .zip into ~/Download
/home/zelongg/Downloads/android-studio-ide-171.4444016-linux-3.1-canary-4.zip
sudo unzip android-studio-ide-171.4444016-linux-3.1-canary-4.zip -d
/usr/local/lib/android-studio-preview
sudo mv -v /usr/local/lib/android-studio-preview/android-studio/*
/usr/local/lib/android-studio-preview/
sudo rm -rf /usr/local/lib/android-studio-preview/android-studio/
zelongg#zelongg:/usr/local/lib/android-studio-preview/bin$ ./studio.sh
create a new folder in ~/Android/sdk in case that the newly downloaded
sdk will affect the sdk in mini project.
we can successfully run android studio preview 3.1 canary 4
But we cannot create the second desktop entry somehow.
https://developer.android.com/studio/preview/install-preview.html
The 2 desktop entry means:
What I want is that it should show 2 icons for both Android Studio and Android Studio Preview seperately. But now they share one icon in the left bar.
I followed the instructions below, but it doesn't work.
To make the preview version available in your list of applications, select Tools
Create Desktop Entry from the Android Studio menu bar.
I used Create Desktop Entry from Android Studio Preview, which replaced the ~/.local/share/applications/jetbrains-studio.desktop of my stable version.
Then I copied that file to ~/.local/share/applications/jetbrains-studio-preview.desktop.
The icon was still green, so I downloaded a yellow one and used it in the .desktop file:
I also edited the .desktop file to suffix the name property with Preview
Then I ran the stable version to Create Desktop Entry to restore it.
Unity launcher didn't refresh the preview version icon and name straight away (it's ok after a reboot) and I couldn't figure out which one was which after typing Android Studio in the launcher. So I ran the jetbrains-studio-preview.desktop from its directory (first setting it to be executable), and then I locked it to the launcher. The result:
I tried the accepted answer but had little difficulty since I am not so good with the terminal. so I installed *nautilus Admin. using the command sudo apt-get install nautilus-admin
open Computer-> usr -> share right click applications select Open as Administrator. (for this option u need to install nautilus admin as stated above). right click existing android studio desktop entry select edit as Administrator.
In that file change the StartupWMClass property to jetbrains-studio-preview. that is done. now open your newly installed android studio and create desktop entry. and .... that's it.
just install stable and canary versions from ubuntu software store and their shortcuts are separate by default

where is the Android Studio executable

Where is the Android Studio executable file stored in the system?
I have it installed, but have unpinned it from the taskbar, which was the only shortcut I had. Since I can't find it in File Explorer, I can't load it.
I've tried the Start menu search function, and used File Explorer to search the entire install directory. The only thing left I can think of to do is reinstall it, but I don't really want to do that, as it was working fine.
P.S. I wasn't sure if this was more appropriate for SuperUser, since it's not directly coding related, or SO, since I doubt the number of people on SuperUser with the answer.
You can find the executable file in bin folder where the android studio is installed, default location is
Windows
C:\Program Files\Android\Android Studio\bin\studio.exe
There is also studio64.exe in the same directory for 64-bit machines
Linux
path_to\android-studio\bin\studio.sh
In Ubuntu/Gnome make sure you create an application file in
/usr/share/applications/android-studio.desktop
with the following content
[Desktop Entry]
Name=AndroidStudio
Type=Application
Exec=/path/to/android-studio/bin/studio.sh
Terminal=false
Icon=/path/to/android-studio/bin/studio.png
Comment=Android Studio
NoDisplay=false
Categories=Development;IDE;
Name[en]=AndroidStudio
This way you will be able to find Android Studio in the applications list, create desktop shortcuts for Android Studio or add it to the favourites bar.
I don't remember how did I installed Android Studio on my Ubuntu 16.04, but my android studio executable is located as /snap/bin/android-studio.

Android Nougat requires the IDE to be running with Java 1.8 or later [duplicate]

This question already has answers here:
Android N requires the IDE to be running with Java 1.8 or later?
(17 answers)
Closed 6 years ago.
Inspite of having JDK 8 installed, I'm getting this error. What can the issue be?
Check installed java version, it should be 1.8 or later.
MBP-Vitaliy:~$ java -version
java version "1.8.0_92"
Java(TM) SE Runtime Environment (build 1.8.0_92-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14, mixed mode)
Check java version in Android Studio.
In Mac OS X: Android Studio -> About Android Studio.
Where JRE should be 1.8 or later.
If you have another, In Mac OS X go to Applications folder find AndroidStudio.app and click Show content, then find in Content folder Info.plist file and change JVM VERSION to 1.8 manually.
<key>JVMVersion</key>
<string>1.8</string>
Restart Android Studio.
for mac users #Vitaliy Movchan answer works.
for windows users (who has to set JAVA_HOME in their operative system):
Install the JDK 1.8 and note the destination path, usually C:\Program Files\Java\jdk1.8.0_xx
Right-click My Computer and select Properties.
Click the Advanced System Settings link in the left column.
In the tab Advanced click Environment Variables
Create or modify the variable JAVA_HOME.
Enter the variable value as the installation path for the Java Development Kit.
You can still get the layout rendered during design time in the IDE if you choose Android version 23 (Marshmallow) rather than version 24 (Nougat).
This isn't a long-term solution, but for most purposes it should be good enough. You can always see the actual Nougat layout by running your app in the Android emulator.
Add JVMVersion 1.8*, 1.8+ to info.plist of android studio app and also check for default java version
I had the same problem, in my system i have installed 3 jdks.
jdk1.6, jkd1.7, and jdk1.8.
I am working on some projects which requires jdk 1.7 so i can't change JAVA_HOME.
So i have found another solution by tell android studio which JAVA_HOME needs to be used.
So i just edit studio.sh file and added JAVA_HOME variable.
JAVA_HOME = /usr/lib/jvm/java-8-oracle/
studio.sh file
After Restart android-studio started pointing to jdk 1.8.
Hope this will help.

Ubuntu 14.04 eclipse mars.2(4.5.2) I installed the latest version of google plugin for eclipse(4.3) and still its icon does not appear on the toolbar

I followed all the steps correctly after seeing it`s not working I uninstalled and began all installation afresh and still the icon does not appear. Should I downgrade eclipse to luna4.4?Or how do I solve this problem?My java version is 1.7.0_80
First I changed my eclipse version to luna 4.4 then followed this guideline https://developers.google.com/eclipse/docs/install-eclipse-4.4 and the icon appeared.

Resources