[Q] Problems running on XenServer in Ubuntu - Android Studio

Hi there,
I'm having trouble even loading Android Studio in Ubuntu on XenServer. I don't have any issues on Windows but for some reason when running in Ubuntu I get a totally corrupted GUI.
I thought it might have been from using OpenJDK to start with, so I switched to Oracle. But I still can't view it, the first dialogue looks like a badly rendered image. When I close the dialogue I get an error,
Problematic frame:
C [libawt.so+0x756b80] IntArgbToThreeByteBgrConvert+0x50
Any ideas how to resolve this? I'm running 64 bit at the moment, 2 gb ram, tried 32 bit too but with the same results.

14.10
Okay, so it's Ubuntu 14.10 that's the problem, downgraded to 14.04 and it works

Although I've now just setup an identical vm, this time I installed Oracle JDK. Can't post link to the instructions otherwise I would.
And it's messed up again. This time the only difference was the JDK which doesn't seem to make much sense.

Okay so the solution in this instance was to let the OS do all the updates that were pending and restart. Now it's looking normal again.

This particular question is closed now, (not sure if I can do that via a button or not?)
Anyway, even though Android Studio now renders correctly it crashes with an error so I have opened a new thread on that particular error,
http://forum.xda-developers.com/tools/android-studio/android-studio-crashing-startup-failed-t3084342

Related

ADB on Windows 7 x64

Ok, I know there's a few of us who can't get this going. I've never had trouble until this week when I did a 'quick and dirty' move to a new pc without reinstalling Windows. I was actually quite impressed by the way Win 7 handled the move, since the new mobo was a generation newer than my old one. I went from ddr2 to ddr3, ICH9 to ICH10, etc. Lots of device / driver changes. I manually removed all of the 'invisible' hardware leftover from the old box.
But adb was hosed. No amount of driver uninstalling / reinstalling worked. That's extra ironic since I wrote the 'how-to' guide for installing on this OS.
I was able to get it working again. I updated the aforementioned guide here to reflect whatever @!#@&! was jacked up on my box. Maybe it will help one of you!

I'm stumped. Windows is better than Ubuntu?

Okay, so I have been having some problems with a recent upGrade I did on an older computer I'm using as a kind of file server...anyways I'm baffled and getting quite annoyed at all the problems I'm having that seem to have just appeared out of thin air.
Motherboard specs here: http://h10025.www1.hp.com/ewfrf/wc/...=en&product=3184095&lang=en&docname=c00683218
Ubuntu 12.04 x64 dual boot with Windows 7 Ultimate x32
Integrated Nvidia 6150le (see mobo specs)
IDE hard drives
AMD Athlon x2 3800+ dual core @2.0ghz
Railink rt2561 WLAN card
Upgrade:
Before: 1.75 GB total of different speed and size hodge podge ****ty ram; pc2100
After: 3GB pc3200 3x1gb (got four sticks, one was DOA so sending it for exchange)
For the record beforehand ubuntu and windows were both installed updated and tweaked with no major problems and were fully working before the switch
That was the only change. First I booted into Ubuntu, and it was like pissing its pants...it seemed to boot and logged in fine but apps started crashing I couldn't get anything to open and my network cards disappeared both Ethernet and WLAN. Ok, weird, I guess I will just reinstall.
Also, I've never had a significant problem installing from The normal desktop iso on USB...I had to be connected to the Internet to download extra stuff to get my nvidia graphics working but other than that it installs with no problem.
This time though, I pop in my USB, boot and I get the black screen. It completely booted but no x server. I tried all the different switches even burned to a cd to try that way, nothing. So I tried the alternate ISo install. Got that to install finally, booted, same black screen! Had to goto fail safe X, try a few times because it kept freezing, and finally got to the desktop. I added the x-updates ppa as I have to to get gnome 3d to work correctly, and ran the general update. Not only do I find out as I'm waiting for everything to download and install that the nvidia driver that usually installs and allows me to use unity 2d was never activated, the damn update fails and one package breaks and now I have to start over again....
Here's the kicker: through all of this, before during and after, windows 7 booted like nothing happened. It just ran faster from the ram as I expected. No weird graphics or errors or anything. It's completely baffling....as I thought if anything would blow up it would be windows...
So I ask...what the hell is going on??? Is there some relationship between my graphics card and the RAM? I was under the impression that there was 64mb of graphics memory separate from the physical ram. And as most branded mobos are I can't do **** in the bios...so what am I supposed to do? Just fight Ubuntu until I can get it to play nice? Even the installer acts differently now with the upgrade. It just doesn't make any sense to me
Please she'd some light? Thanks.
Are you using unity with Ubuntu? It's really resource intensive and it's better without it (if you're a purist and comfortable with linux). Did you install all updates to Ubuntu? Also did you install closed source additional drivers for your hardware?
063_XOBX said:
Are you using unity with Ubuntu? It's really resource intensive and it's better without it (if you're a purist and comfortable with linux). Did you install all updates to Ubuntu? Also did you install closed source additional drivers for your hardware?
Click to expand...
Click to collapse
Oh I put gnome on there as soon as I install all updates because I need an updated nvidia driver to use gnome properly....I install them every time I install Ubuntu and usually the ones bundled that are installed automatically during setup, while they don't work very well they at least gave me basic functionality, now they don't install or activate at all at any stage, and I have to coax it into fail safe x just to get connected to WLAN and install the updated nvidia driver

Building Jelly Bean for Nook Color

Well, after a lot of thinking and waiting, yesterday I decided that i was going to buy my own ROMs for my nook, but all this Linux thing... I´m a Windows user since I was born, and it´s dificult to me to start to use another OS. I am willing to do such, just for the sake of having the latest and greatest for my nook, but among the things that are pushing me away is the fact that i aparent.y NEED 64-bit linux to complete the task. I was going to use VirtualBox, but aparently I need more resources than I currently have in my PC (low space in my HDD). So, I could use some help to start this project, guys can you lend me a hand?
Hmmm....
Can't quite figure out if you're kidding or not.
If you're were kidding, excellent job.
AFAIK, 32 bit is just fine, but I don't understand how having 64 bit is a problem. If you have 32 bit Windows, you're stuck with a 32 bit computer and you can't upgrade without buying a 64 bit processor.
As for HDD space, you'll need about 25GB total for the OS + Source Code. And if you're scared of using Ubuntu, don't be. For me, I loved it, and it wasn't scary at all. In fact, I'd even say it's easier to use that Windows if you don't have to install anything crazy. For compiling though, VirtualBox will be fine.
If you don't have the HDD space, there isn't anything I can do. You can try the alpha from the Android Dev section, but it's not as good as the current build, (which fixed the home button bug, and 720p rendering I believe ). Hope this helps you in your journey of building CM10!
Thank You
shinyquagsire23 said:
AFAIK, 32 bit is just fine, but I don't understand how having 64 bit is a problem. If you have 32 bit Windows, you're stuck with a 32 bit computer and you can't upgrade without buying a 64 bit processor.
As for HDD space, you'll need about 25GB total for the OS + Source Code. And if you're scared of using Ubuntu, don't be. For me, I loved it, and it wasn't scary at all. In fact, I'd even say it's easier to use that Windows if you don't have to install anything crazy. For compiling though, VirtualBox will be fine.
If you don't have the HDD space, there isn't anything I can do. You can try the alpha from the Android Dev section, but it's not as good as the current build, (which fixed the home button bug, and 720p rendering I believe ). Hope this helps you in your journey of building CM10!
Click to expand...
Click to collapse
Thank you very much!!!! I was scared about installing Linux in VirtualBox, but now I have no reasons not to do it... Thank you!!!!
i was a windows user myself till couple of years back. now i have working on Linux with out much of a hassle. virtual box will work fine. you could try zorin os. it is a Linux flavor meant for windows user. i am sure you will find it handy.
Now coming back to building cm10, i have been struggling to get the source from git. i have been keep it running for days but still could not manage to get all the source code. is there any way get the tar ball and use it.
moloy1978 said:
i was a windows user myself till couple of years back. now i have working on Linux with out much of a hassle. virtual box will work fine. you could try zorin os. it is a Linux flavor meant for windows user. i am sure you will find it handy.
Now coming back to building cm10, i have been struggling to get the source from git. i have been keep it running for days but still could not manage to get all the source code. is there any way get the tar ball and use it.
Click to expand...
Click to collapse
If you are having trouble on a specific project, then you can git clone it separately if you really need to. But all the source is available right now, what errors are you getting?
i m not getting any error as such. but it is taking a really long time to get the source. It is already been more than 36 hours still it is downloading. does it take that much time ? or i m not doing something right.
i have followed the instruction as stated.
dsaha78 said:
i m not getting any error as such. but it is taking a really long time to get the source. It is already been more than 36 hours still it is downloading. does it take that much time ? or i m not doing something right.
i have followed the instruction as stated.
Click to expand...
Click to collapse
It takes a long time, but that is ridiculous. Is it stuck or still progressing? Try changing the repo sync command to something smaller, repo sync -j1 -f. That cuts down on sync errors for me.
I have successfully build the CM10 from source.
Let me know if you need any help.
But my google play(3.9.16) is not working.
I have tried the pre built rom on the development thread. It is also the same
---------- Post added 1st November 2012 at 12:13 AM ---------- Previous post was 31st October 2012 at 11:23 PM ----------
I'm able to get my google play working by installing gapps
Homuradama said:
Well, after a lot of thinking and waiting, yesterday I decided that i was going to buy my own ROMs for my nook, but all this Linux thing... I´m a Windows user since I was born, and it´s dificult to me to start to use another OS. I am willing to do such, just for the sake of having the latest and greatest for my nook, but among the things that are pushing me away is the fact that i aparent.y NEED 64-bit linux to complete the task. I was going to use VirtualBox, but aparently I need more resources than I currently have in my PC (low space in my HDD). So, I could use some help to start this project, guys can you lend me a hand?
Click to expand...
Click to collapse
I also do not care much for linux, but just this morning I finally built CM10 for the first time! It is a pain in the ass, and it probably does help that I do have (very little) linux experience so I at least knew how to open the terminal and navigate the file system. Fat_tire has posted build instructions and if you follow them carefully you will eventually succeed. It is my understanding that you do need 64-bit linux to build Jelly Bean.
I ran my vm in vmware. I've never cared for virtualbox, even though it's free, and I couldn't get ubuntu running well in hyper-v, plus the graphics in vmware are better than hyper-v. You can get a free trial of Vmware Workstation, I don't remember how long the trial period is, I think it's like 30 days. It should be enough to get you up and building. Also, once you get the VM configured, I believe you can run it VMWare Player for free indefinitely, so you only need the Workstation for the initial setup.
You also do need a fair amount of free disk space. You might invest in an external drive and install your virtual machine on it. My virtual hard drive takes up around 24 GB. You might be able to get away with buying a 32 GB usb flash drive from Walmart for $20 and using that.
I ran into some dependency issues when I first attempted the build. Using the latest Ubuntu, it will generally tell you what is missing as you go. You can install almost everything either using "sudo apt-get install <package name>" from the terminal or using their software center.

[Q] HP g7-2275dx and developing for WP8

Hey guys,
So I just got this laptop for a decent price (HP pavilion g7-2275dx). It has the AMD A8-4500M 1.9GHz processor (4gbRAM). I got Win8 pro on it, and got visual studio setup on it. Got the Hyper-V to kick...yada yada.
So my issue is, when I go to start the Windows 8 emulator, it just sits there...the Emulator window comes up saying "Starting Windows Phone Emulator..." like it should...but just sits there. It never loads...and eventually Visual Studio times out and says that the deploy failed.
Now, I'm able to launch on my Lumia 920 just fine (hooked to the computer and all).
Is RAM the problem? It's not tacking out the machine or anything (processor just plays around 0-3% utilized).
Also (don't know if this is related or not) but I installed the latest Android Studio (they announced yesterday at Google I/O!!!) but it won't even launch!
What am I missing? I"m ready to sell the thing and get an i5 or i7 intel. Would I just be better off overall getting an intel?
Thanks.
I'm assuming the A8 supports SLAT, or you couldn't use Hyper-V at all. Same goes for having virtualization enabled in the BIOS. Beyond that, I'm not really sure what the likely problem is... but I use an AMD 8350 CPU in my dev/gaming machine, and it's a beast (I also have 32GB of RAM, but that's honestly overkill).
With that said, I never saw much point in using the emulator. Deploying to the phone is faster, and you get a much more realistic experience of how the app works. What's the point of the emulator again, unless for some reason you're writing apps for a device you don't own?
Yup, enabled Hardware Virtualization in the bios and then upgraded to Win8 Pro for the Hyper-V.
I could live with not having the emulator because I do have the 920...would be nice to see it on other resolutions though just to be sure the app looks good.
I'm more concerned about the Android Studio though...
Found out the issue with the new Android Studio (though this really isn't the forum for this info). Anyhoo, turns out I needed the Java 7 jdk setup. So used to Java 6 that it didn't cross my mind to try 7.

Upgrading to 6.0/Rooting on Ubuntu

Having some difficulties and hoping for some help.
I'm on zv6, rooted, would really like to upgrade to MM, but can't seem to find the current way to do that.
Every way I see on here requires a Windows computer at some point, but I have no access to a windows comp at all.
Is there a way to flash up to MM just on ubuntu?
Sorry if it's very obvious, I just cant seem to find it anywhere.
If worse comes to worse you could always install VirtualBox then find a trial version of Windows (the Enterprise versions have 90 day trials iirc) and create a virtual machine to do it - this works fine since it's all done over USB and you can attach that to the VM when required, works without issues from what I've read and been told over the years. Even without finding an actual trial ISO of Windows you could still use a traditional Windows 7 ISO since you can skip entering the Product Key, that gives you up to 7 days of use and if needed all you'd have to do is delete that VM and just create another one whenever.
I can't speak for doing much of anything on Ubuntu or Linux in general, I always do all my flashing stuff using Windows personally (even though OSX is my primary OS these days, I keep a spare hard drive with Windows 7 on it and just swap it out for the one with OSX in my laptop when needed).
You do realize that when you upgrade to Marshmallow you lose the ability to root, right? You can upgrade to ZV9 (the first MM release), or ZVA (the second), and still be able to roll back to ZV6 (Lollipop) if you want, but if you go to ZVB (just released a few weeks ago) then you'll be stuck on MM for good as it prevents rolling back to any previous builds at all.
But the virtual machine method I just mentioned using a trial version of Windows (yes, it really does exist) is definitely a possibility unless someone else offers up actual Linux/Ubuntu methods which may or may not be possible, I just don't know for sure.

Categories

Resources