paolorotolo / android-studio Goto Github PK
View Code? Open in Web Editor NEW[DEPRECATED] Android Studio by Google packaged for Ubuntu.
Home Page: http://paolorotolo.github.io/android-studio/
License: Apache License 2.0
[DEPRECATED] Android Studio by Google packaged for Ubuntu.
Home Page: http://paolorotolo.github.io/android-studio/
License: Apache License 2.0
The new Android Studio is here.
Could you make a patch for this?
When I run apt-get install android-studio
, it won't do it because it says that it is the latest version..
The icon is located in /usr/share/icons/
where as it should be in /usr/share/icons/hicolor/[size]/
.
I like that this package sets up an Ubuntu menu item for Android Studio. It'd be nice if it could also do that for the standalone SDK & AVD manager programs. I use these often, so I wound up manually setting up menu items for them:
SDK standalone: ~/Android/Sdk/tools/android sdk
AVD standalone: ~/Android/Sdk/tools/android avd
I also extracted icons for the menu items, from /opt/android-studio/plugins/android/lib/android.jar:
icons/sdk_manager_large.png
icons/[email protected]
It's been a while since I installed, but I think the SDK installation was done by Android Studio on my first launch, which placed it into that ~/Android location by default. So, it may be tricky to set up those menu items because they wouldn't work until after the user has manually carried out that step. But it'd be cool if you could somehow make this work. :)
Hello my friends !
Is there a way that you create a new package update providing release 14 of android studio? This would be great. The version is now stable. Probably you could publish a short instruction how to update the dep package, so others could help you.
Thank you very much,
Maciej
kill your project
Don't know if it's only me but just wanted to let you know on Ubuntu 14.04.4 64 bit I wasn't able to install it with apt-get (maybe a bug somewhere). Had to remove it then try again with the .deb file and now it's working well
As in the title, 32 bit compatibility libraries should be added to dependency list for amd64 package.
Getting this error on Ubuntu 16.04, 64 bit:
$ sudo apt-get install android-studio
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
openjdk-9-jdk openjdk-9-jdk-headless
Suggested packages:
openjdk-9-demo openjdk-9-source visualvm
The following NEW packages will be installed:
android-studio openjdk-9-jdk openjdk-9-jdk-headless
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/385 kB of archives.
After this operation, 912 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Selecting previously unselected package openjdk-9-jdk-headless:amd64.
(Reading database ... 444016 files and directories currently installed.)
Preparing to unpack .../openjdk-9-jdk-headless_9~b114-0ubuntu1_amd64.deb ...
Unpacking openjdk-9-jdk-headless:amd64 (9~b114-0ubuntu1) ...
Preparing to unpack .../openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb ...
Unpacking openjdk-9-jdk:amd64 (9~b114-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/jvm/java-9-openjdk-amd64/include/linux/jawt_md.h', which is also in package openjdk-9-jdk-headless:amd64 9~b114-0ubuntu1
Selecting previously unselected package android-studio.
Preparing to unpack .../android-studio_5.2.1-ubuntu0_all.deb ...
--2016-08-08 18:24:45-- https://dl.google.com/dl/android/studio/ide-zips/2.1.0.9/android-studio-ide-143.2790544-linux.zip
Resolving dl.google.com (dl.google.com)... 2a00:1450:400c:c09::5d, 74.125.136.91, 74.125.136.190, ...
Connecting to dl.google.com (dl.google.com)|2a00:1450:400c:c09::5d|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 298122012 (284M) [application/zip]
Saving to: 'android-studio-ide-143.2790544-linux.zip.1'
android-studio-ide- 100%[===================>] 284.31M 2.69MB/s in 1m 55s
2016-08-08 18:26:40 (2.48 MB/s) - 'android-studio-ide-143.2790544-linux.zip.1' saved [298122012/298122012]
Unpacking android-studio (5.2.1-ubuntu0) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160701-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Errors were encountered while processing:
/var/cache/apt/archives/openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Dear sir:
I had install the android studion in ubuntu 14.04. but I can't start a new android studio project, and the windows can't close. I try to use the command to run it, but it also failed.
Best wishes!
regards Liu
Hi Paolo Rotolo,
I'm on a fresh install of Ubuntu 15.04. I installed via your repo Android Studio but the program doesn't appear anywhere. Even via a terminal my PC didn't found the bin or something related to.
Thanks.
I'm getting this error after finished installation. I did not install another programs. Just Android Studio
I'm using Ubuntu 16.04 LTS in Vmware
Errors were encountered while processing:
/var/cache/apt/archives/openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Hi,
could you maybe change the dependencies of the package in such a way that it would also be compatible if openjdk-8 is installed? e.g. 'depend' on java-sdk instead of on default-jdk? (and then make only a 'suggest' on default-jdk)
thank you!
Official announcment: http://tools.android.com/recent/androidstudio11released
The whole software installed into /opt world-writeable in order the Auto-Updater to work. What is the point using Auto-Updater if you package a software by your self.
This not only contradicts FSH but is a security issue in general. Please remove the CHMODs in postinstall.
This is on Ubunu 15.04, 64 bit:
$ sudo apt-get install android-studio
[...]
Setting up android-studio (4.8.3-ubuntu0) ...
unzip: cannot find or open /opt/android-studio-ide-*, /opt/android-studio-ide-*.zip or /opt/android-studio-ide-*.ZIP.
No zipfiles found.
rm: cannot remove ‘/opt/android-studio-ide-*’: No such file or directory
find: `/opt/android-studio/': No such file or directory
find: `/opt/android-studio/': No such file or directory
dpkg: error processing package android-studio (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
android-studio
I dont understand your version numbers? Why not just use Googles own versions for the package name?
https://www.youtube.com/watch?v=6ow3L39Wxmg&t=1404s
I have followed the exact same steps in the video.
This is what I have but it the app is not running. Please help me solve this issue.
Thanks
Kumuda
After installing android studio on my Ubuntu 16.10, I restarted my computer and launch android studio by its launcher. However, it does not work. It just showed up in the launcher a few seconds and then nothing happen. What can I do?
When I execute:
/opt/android-studio/bin/studio.sh
it shows me:
Unrecognized VM option 'MaxPermSize=350m'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
This problem is finally solved by installing Oracle Java 1.8.
hi
i get this error while execute instALL command : sudo apt-get install android-studio
rm: cannot remove ‘/opt/android-studio-ide-*’: No such file or directory
find: /opt/android-studio/': No such file or directory find:
/opt/android-studio/': No such file or directory
dpkg: error processing package android-studio (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
android-studio
E: Sub-process /usr/bin/dpkg returned an error code (1)
I get the following error message from the install.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
android-studio : Depends: lib32ncurses5 but it is not installable
Depends: libc6-i386 but it is not installable
Depends: lib32stdc++6 but it is not installable
Depends: lib32gcc1 but it is not installable
Depends: lib32z1 but it is not installable
Depends: lib32z1-dev but it is not installable
E: Unable to correct problems, you have held broken packages.
These dependencies don have an installation candidate or is not avaiable.
How to update to stable version? im currently using 1.1.0 , and im checking update is this correct to update AS?
UPDATE: just the same as windows. thanks to this anyways :D
@paolorotolo I saw this project for the first time and I feel that it automates installation of Android studio which is too much command-line-hard-work.
Did I got it right? How can I explain this to a child? I would suggest you to make your product description understandable in layman terms.
https://www.youtube.com/watch?v=6ow3L39Wxmg&t=1404s
I have followed the exact same steps in the video.
This is what I have but it the app is not running. Please help me solve this issue.
Thanks
Kumuda
Hello there,
first of all, nice work, your package make it way easier to install Android Studio on Ubuntu.
That being said, I found an error when I first try to create a program, the first build failed.
Searching on Google, I found this Stack Overflow with the exact error: http://stackoverflow.com/questions/24808920/first-build-with-androidstudio-failed
It says: "The Android tools need 32-bit compatibility libraries installed. I had the exact same problem, and this worked for me:
sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 lib32z1 lib32z1-dev
Then restart Android Studio."
It solved my problem, so I think you should add those dependencies.
Thank you.
If I install android-sdk from repo (sudo apt-get install android-sdk
), is it (android-studio) going to interfere with it? If I install google play service api using android-sdk, will Android studio see it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.