It will add both shortcut in desktop and in menu. opt/android-studio/bin/studio.shĬomment=Integerated Development Environment for Android For example, I have copied android-studio in opt/ folder. You have to specify where you have copied you android-studio files. To create a shortcut create a file sktop and fill it with given code:Ĭopy paste this text. ![]() For example, specify the canary channel to list packages from all channels. Now you should have installed 32-bit libraries properly in your 64-bit Ubuntu.Īfter copying the Android Studio files you can run it by entering command To list installed and available packages, use the following syntax: sdkmanager -list options -channel channelid // Channels: 0 (stable), 1 (beta), 2 (dev), or 3 (canary) Use the channel option to include a package from a channel up to and including channelid. To add support for 32-bit packages, run the command: sudo dpkg -add-architecture i386Īnd finally install 32-bit libraries for Android Studio: sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386 So the solution of this problem is to add support for 32-bit packages in a 64-bit machine and then installing the 32-bit libraries for Android studio. Libncurses5:i386 : Depends: libtinfo5:i386 (= 6.1-1ubuntu1) but it is not going to be installed Trying to run this command shows the error: E: unmet dependencies. You can also go to Tools -> Create Desktop Entry once you're inside an Android Studio Project. ![]() After installing Android Studio in 64-bit Ubuntu you have to install some 32-bit libraries and the command for installing them is: sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386 From the quick start panel, (which opens up once android-studio IDE launched), click on 'Configure' which takes you to the configure panel then click on 'Create Desktop Entry'. 64-bit Ubuntu does not support 32-bit packages by default so while installing 32-bit libraries it shows error.
0 Comments
Leave a Reply. |