Android Studio Suddenly Close Down Without Doing Anything - Android Studio

I'm using android studio on my windows 8.1 machine.But sometime it suddenly shut off without any notice or doing anything.It's happening randomly.I've googled about requirement and my pc freely can run android studio.My pc spec i3 [email protected] with 8gb ram.
there's a text file on user folder called java_error_in_studio generated everytime it crashes.unluckly I can't add whole text in that or attach that.so if that might help if I add that then please remind me how can I

Related

would tricking android work?

just a suggestion , seeing that android is booted from the storage card and windows mobile is still there in the backround storage wise why dont you try to trick android ..for instance remember there are some applications that are links to the download or activation of the actual program (example you download a java app and run it and it opens the browser to download the actual app) now my concept is similar
1 if android is being used from the storage card then the amount of ram should only be limited to the size of the memory card.(not sayin max your card on ram lol)
2 if windows mobile has drivers all working on the actual device then it should be possible( didnt say easy) to link a driver, activation or process from android to windows mobile
3 i came up with a test for concept if you save a andriod app on the device( x1i) and figure out a way to run it from a shortcut link or whatev while running android then it should be safe to say it can be done for stuff like drivers.
now i dunno if im making sence or i ate to much cake so reply and let me know
ps i dont puntuate cuz ur reading in ur fing mind
So first, android is completely separated from windows mobile. When you launch android, windows mobile will be shut down, so android takes full control over the device.
Your writing confuses me, so i don't understand your concept about tricking completely, but i will try to answer your questions:
1. What? You mean flash storage? I think you can change it's size in startup.txt, but i can't see a point in increasing it. New froyo build can install applications on card and you can store your data on card, so flash storage can stay clean.
2. I don't know much about drivers, but i think it's very hard if not impossible to use driver made for another OS. It's like you would want to use mac os drivers on windows.
3. ?

[*WORKING*] **Ubuntu on Vibrant** UPDATE:11/05/10

UPDATE: So here is the link to a better version of Ubuntu running on your Vibrant. I do not have much time yet to edit the original post, but take a look at the this. You should be able to get it to work.
http://forum.xda-developers.com/showthread.php?t=823370
OLD:
DISCLAIMER: I AM NOT RESPONSIBLE FOR ANY LOSS OR DAMAGE TO YOUR PHONE!! YOU ARE DOING THIS AT YOUR OWN RISK.
Ok, so for those who like to push the limits with their phones I don't think it gets better then this
I would like to thank everyone who has contributed to making this possible. We had gotten a lot of good posts.
But a big thanks goes out to danielmid84, he provided me with the link http://nexusonehacks.net/nexus-one-hacks/how-to-install-ubuntu-on-your-nexus-oneandroid/ and a custom modified script to work with our phones, thank you!!
UBUNTU on Vibrant
INSTRUCTIONS
Prerequisites:
Root
Latest version of BusyBox
Android SDK ( and knowledge of how to use the tools, adb shell, etc... )
Understanding of Linux commands ( but not necessary )
Files needed are located here: http://www.megaupload.com/?d=FALJFT3L
BootUbuntu script modded by danielmid84 here: http://forum.xda-developers.com/attachment.php?attachmentid=385853&stc=1&d=1282503588 NOTE: This file replaces the BootUbuntu file located in the archive above.
VERY IMPORTANT!!!
Step 1:
Connect your phone to the computer and mount your internal storage sdcard (Not your external sdcard).
Step 2:
Now create a new folder under sdcard named "ubuntu" for instance "/sdcard/ubuntu/" and copy ALL of the files in the "ubuntu.zip" archive over to this newly created folder EXCEPT the BootUbuntu file. You will be copying over the BootUbuntu file over from the additional BootUbuntu file link provided above.
Step 3:
Now that we have all of the files in place, make sure to "Turn off USB storage" on your phone to be able t access the SD card from ADB Shell. Also make sure your "USB Debugging Mode" is check under "Settings>Applications>Developement".
Step 4:
We are going to want a windows terminal open and we are going to "cd" into your "/tools" folder, wherever that may be located. For example " cd c:\android\sdk\tools".
Once you are in the "tools" folder, issue this command "adb shell". And for linux users, you will be issuing the command as "./adb shell".
Step 5:
Once you are in ADB Shell, you should see a "#" symbol now.
You are then going to type "su" to enter superuser mode.
Step 6:
We are going to cd into the ubuntu folder by issuing the command "cd /sdcard/ubuntu".
Now that we are located in "/sdcard/ubuntu" we will issue the command "sh ./ubuntu.sh"
This command only needs to be entered once, or if you ever change the file "bootubuntu".
Step 7:
Once that is completed, issue the command "bootubuntu".
If you get the "localhost" prompt, you have just successfully installed UBUNTU onto your Vibrant. Congratulations!!!
Now mind you, this is not with a Graphical User Interface yet and but you can access the power of Linux and Ubuntu by using a Terminal Emulator.
But if you want a running Graphical User Interface to play with, keep in mind that is uses a lot of memory and continue reading and I will have that updated here shortly.
Step 8:
We are now going to install a GUI.
While still being in Ubuntu with the "localhost" prompt, issue the command "apt-get update".
Then issue the command "apt-get install tightvncserver".
Step 9:
Once that is complete, you are going to want to issue the command "apt-get install lxde". This will take a few minutes so let it do its thing.
Step 10:
Next we are going to type:
"export USER=root" then
"vncserver -geometry 1024x800" but you can change the display size to what you prefer.
You will be asked to set a password at this time for login.
Step 11:
Next we are going to add the following commands to /root/.vnc/xstartup.
Now type:
"cat > /root/.vnc/xstartup" it will seem like it is hanging after you push enter, but it is only waiting for additional input. So continue by entering
"#!/bin/sh"
"xrdb $HOME/.Xresources"
"xsetroot -solid grey"
"icewm &"
"lxsession"
Then hit Ctrl+D twice and Enter key.
Step 12:
Now open the Android VNC app on your phone with "localhost" as "address" and "5901" as "port". Enter your password as well and connect!! You will now have a GUI for your Ubuntu!
REMEMBER: EACH TIME YOU WANT TO LOGIN TO YOUR UBUNTU, YOU DON'T NEED TO BE CONNECTED TO YOUR COMPUTER. YOU CAN USE TERMINAL EMULATOR.
This is only for full phone reboots to set up Ubuntu again.
Start Terminal Emulator and cd into "/sdcard/ubuntu"
Then issue these commands:
"su"
"export USER=root"
"vncserver -geometry 1024x800"
and you should be able to log back into the GUI with Android VNC again.
I'm surprised that not one person is interested in this...
I think debian on the vibrant would be sick!
sadly I don't dev
Can I ask what "debain" is? For all of us new guys..
Sent from my Vibrant using XDA App..
Typos/Nonsense due to Swype!
Stock Root + RyanZA LagFix + Captive Camera MOD
itsjusttim said:
Can I ask what "debain" is? For all of us new guys..
Sent from my Vibrant using XDA App..
Typos/Nonsense due to Swype!
Stock Root + RyanZA LagFix + Captive Camera MOD
Click to expand...
Click to collapse
Google is your best friend. http://en.wikipedia.org/wiki/Debian
yeah man, I'm pretty surprised too that no one else is interested in this! I would love to see debian get ported to work on our phones
For those who are asking, debian is a version of desktop Linux. When it works on our phones, it will essentially allow you to do almost anything you can normally do on a desktop computer.
Thanks for the link! This looks luke it would be amazing.. I hope we can eventually get this...
Sent from my Vibrant using XDA App..
Typos/Nonsense due to Swype!
Stock Root + RyanZA LagFix + Captive Camera MOD
post videos.
freekyfrogy said:
It will essentially allow you to do almost anything you can normally do on a desktop computer.
Click to expand...
Click to collapse
You mean, it'll allow you to do almost anything you can normally do on a tiny format linux desktop computer
It's all good and dandy, someone has ported Ubuntu to N1 back in a day, but the question remains:
Why would you want to run a full fledge Linux OS on your phone?
I am a linux user, and have been for quite some time, I do enjoy it on my work laptop with 14.1" of real estate, but I fail to see a huge benefit of running a complete OS on the phone.
And before everyone starts with "you know android is linux" I know that, and it is stripped down linux OS for portable devices like phones, etc. It is as good as it gets, and suits the portable device market well.
Please feel free to address my question:
Why would you want to run a full fledge Linux OS on your phone?
How about we get a port of WINE on android...
lqaddict said:
It's all good and dandy, someone has ported Ubuntu to N1 back in a day, but the question remains:
Why would you want to run a full fledge Linux OS on your phone?
I am a linux user, and have been for quite some time, I do enjoy it on my work laptop with 14.1" of real estate, but I fail to see a huge benefit of running a complete OS on the phone.
And before everyone starts with "you know android is linux" I know that, and it is stripped down linux OS for portable devices like phones, etc. It is as good as it gets, and suits the portable device market well.
Please feel free to address my question:
Why would you want to run a full fledge Linux OS on your phone?
Click to expand...
Click to collapse
I was thinking the same thing. Its kinda a party piece. Look at what my phone can do. You know. I had it on my N1 and i never used it. Just like we could have windows 95 on the HD2. The only good thing i used it for on the N1 was air-crack, and i never got it to work right.
So you can compile android source on your phone, duh!
Sent from my SGH-T959 using XDA App
Yeah, I find it a shame that some people think debian on a phone is simply a party peice. There are too many useful reasons to list, especially the reason to have a smart phone is to expand the abilities past just "a cellphone"
lqaddict said:
It's all good and dandy, someone has ported Ubuntu to N1 back in a day, but the question remains:
Why would you want to run a full fledge Linux OS on your phone?
I am a linux user, and have been for quite some time, I do enjoy it on my work laptop with 14.1" of real estate, but I fail to see a huge benefit of running a complete OS on the phone.
And before everyone starts with "you know android is linux" I know that, and it is stripped down linux OS for portable devices like phones, etc. It is as good as it gets, and suits the portable device market well.
Please feel free to address my question:
Why would you want to run a full fledge Linux OS on your phone?
Click to expand...
Click to collapse
The real question is why not....
I'm sick and tired of all the negative posts in the xda forums.
why would you want camera on a phone?
why would you play games on a phone?
why would you read webpages on a phone?
why would you text on a phone?
why would you listen to music on a phone?
why would you want to go to the moon?
Is it affecting you in some way?
does someone sacrifice a kitten somewhere when someone wants to use a device for something it was not intended to?
do you enjoy stifling development?
jzero88 said:
Yeah, I find it a shame that some people think debian on a phone is simply a party peice. There are too many useful reasons to list, especially the reason to have a smart phone is to expand the abilities past just "a cellphone"
Click to expand...
Click to collapse
good man
scrizz said:
The real question is why not....
I'm sick and tired of all the negative posts in the xda forums.
why would you want camera on a phone?
why would you play games on a phone?
why would you read webpages on a phone?
why would you text on a phone?
why would you listen to music on a phone?
why would you want to go to the moon?
Is it affecting you in some way?
does someone sacrifice a kitten somewhere when someone wants to use a device for something it was not intended to?
do you enjoy stifling development?
good man
Click to expand...
Click to collapse
Agreed, why not explore the possibilities...
Sent from my SGH-T959 using XDA App
And why drive the nails down with a screwdriver?
There is no negativity coming from my question, I just needed to hear the reason people choose to run linux on their phones.
Developing a code for android phones on the phone running full linux, ok I failed to see the benefit, unless you get a hard-on from running a compiler on your phone while on a crapper. I would see how I might benefit from using some of the linux commands on my phone, like tcpdump, etc. but running a full raw OS on it is just overkill in my opinion.
And why drive the nails down with a screwdriver?
There is no negativity coming from my question, I just needed to hear the reason people choose to run linux on their phones.
Developing a code for android phones on the phone running full linux, ok I failed to see the benefit, unless you get a hard-on from running a compiler on your phone while on a crapper. I would see how I might benefit from using some of the linux commands on my phone, like tcpdump, etc. but running a full raw OS on it is just overkill in my opinion.
Click to expand...
Click to collapse
To probably sum it all up... MOBILITY.
First, I am sure you have several games on your phone which you play frequently. Some of those which you could play on your computer, and some maybe only on the device. If you could play games on your computer, why would you want to play them on your phone?
Virtually everything you can do on your phone you can do on your computer, ten times better. The reason we have Office Suites, Calendars that sync, Games, CAMERA!!!!, Photo Editing Tools, etc. etc. etc... the list goes on and on, is to do it mobile.
No offense, but your question is pretty ignorant.
"I just needed to hear a reason people choose to run linux on their phones"
Click to expand...
Click to collapse
as an answer is funny as hell if you ask me,lol.
I think if you have nothing productive to contribute other than asking meaningless questions which is plainly obvious, especially in a forum like this, then don't post anything at all.
Only my $0.02
jzero88 said:
To probably sum it all up... MOBILITY.
First, I am sure you have several games on your phone which you play frequently. Some of those which you could play on your computer, and some maybe only on the device. If you could play games on your computer, why would you want to play them on your phone?
Virtually everything you can do on your phone you can do on your computer, ten times better. The reason we have Office Suites, Calendars that sync, Games, CAMERA!!!!, Photo Editing Tools, etc. etc. etc... the list goes on and on, is to do it mobile.
No offense, but your question is pretty ignorant.
as an answer is funny as hell if you ask me,lol.
I think if you have nothing productive to contribute other than asking meaningless questions which is plainly obvious, especially in a forum like this, then don't post anything at all.
Only my $0.02
Click to expand...
Click to collapse
Why my question is ignorant? I am coming from a development stand point, what android (a linux port for smartphones and mobile tablets) does not do well that the full linux OS can address? I am curious... I've seen some embeded linux systems that are running the OS that requires to complete the task - packet sniffers for instance - I am pretty sure you can run the full OS on it, but it is overkill. I understand that the smartphones are our mobile gateways when we are away from computers, and as they stand right now I failed to see what the full OS can contribute to the whole mobile experience. Games? Well, now you have the whole android community asking when the cadega becomes available on android so that you can run Call of Duty, etc. on your phone.
And as far as me not contributing and asking the meaningless questions - when you come to the development board and demand that something needs to be ported on your device a developer will ask you my question:
Why do you need it? What benefits are you looking for?
So, I still to hear the answer to these questions besides the fun factor to show your co-workers look I have a penguin on my boot screen.
Look at it from this standpoint, every major phone release has hardware that can rival netbooks and ultra-portables, when the dual-core snapdragons hit later on, they may even be on par with low end notebooks. They contain cellular modems as well as wifi so you're constantly connected on a device that can fit in your pocket.
On the software side every major mobile operating system out there is constantly evolving and adding more and more features of that you can find on any PC/Linux/OSX box in the world. Albeit they're slimmed down versions, designed to be lightweight and functional on a smaller sized screen.
Add in google voice, a service that you can have your cell phone calls funneled into a single number or have your google voice number funneled into any other phone number you tell it to, plus you have skype. Installing Debian on a mobile device doesnt change the fact its still a cell phone the only it changes is how much this cell phone can do without restrictions.
Its the people who push software and hardware to there limits and into places they were never designed to be, that push the technology world and push the companies to do new things. There the pioneers who are trying to marry the inevitable before anyone else is ready. Those are the people who make companies like Google, Nokia, Intel, etc etc realize that there is potential in a risk, when there is a community ready to back them up. If it wasn't for the indie developers out there trying to minimalize linux to be used on cell phones we wouldn't have our beloved Android today.
You ask why, I'll answer because its inevitable. You can join the front lines or you can wait.

[Q] Windows Phone 8.1 - ram issues

Hello together,
I searched through the whole forum but I did not find any thread regarding the problem I have found.
I own a Nokia Lumia 1520 (RM-937). It was flashed with WP8 version from APAC.
I updated it to WP 8.1 via developer preview app.
Language and region is set to german/germany.
I have a 32 GB SD card.
Now its working almost as expected and with known issues.
But one thing is very bad: This device has almost 2 GB of usable ram. But when I minimize an app via Windows Button (e.g. Internet Explorer; only one tab opened) it constantly reloads the whole page after only 30 seconds of being minimized.
The same for other apps like amazon kindle.
It feels like an android device with only 512 MB of ram.
It only costs seconds. But IE eats all my contingent given by my provider. I have LTE enabled and the page is loaded so fast, that I cannot stop it.
With WP8 the browser stayed in memory even for days without reloading the pages.
So I expect that behaviour from WP8.1 too.
Reboot helps only for couple of minutes.
Even with all other apps closed (hold back button and swipe down the app to the bottom) that behaviour is there.
Someone here with equivalent experiences? Any help?
You can test this: Open IE. Load a website. Minimize via Start Button.
Open other apps and use them for a couple of minutes.
Afterwards open IE and look if the page is beeing reloaded.
Is there any method known to look, if there is any app that blocks the memory? Like a task manager?
Maybe it's only an error that happened during the update!?
MarioOrlando said:
Hello together,
I searched through the whole forum but I did not find any thread regarding the problem I have found.
I own a Nokia Lumia 1520 (RM-937). It was flashed with WP8 version from APAC.
I updated it to WP 8.1 via developer preview app.
Language and region is set to german/germany.
I have a 32 GB SD card.
Now its working almost as expected and with known issues.
But one thing is very bad: This device has almost 2 GB of usable ram. But when I minimize an app via Windows Button (e.g. Internet Explorer; only one tab opened) it constantly reloads the whole page after only 30 seconds of being minimized.
The same for other apps like amazon kindle.
It feels like an android device with only 512 MB of ram.
It only costs seconds. But IE eats all my contingent given by my provider. I have LTE enabled and the page is loaded so fast, that I cannot stop it.
With WP8 the browser stayed in memory even for days without reloading the pages.
So I expect that behaviour from WP8.1 too.
Reboot helps only for couple of minutes.
Even with all other apps closed (hold back button and swipe down the app to the bottom) that behaviour is there.
Someone here with equivalent experiences? Any help?
You can test this: Open IE. Load a website. Minimize via Start Button.
Open other apps and use them for a couple of minutes.
Afterwards open IE and look if the page is beeing reloaded.
Is there any method known to look, if there is any app that blocks the memory? Like a task manager?
Maybe it's only an error that happened during the update!?
Click to expand...
Click to collapse
Windows phone 8.1 multitasking now is similar to windows 8 multitasking, that is, an app still runs in background for about 10 seconds after you leave the app.
The system also does a lot better at suspending apps and saving their state upon tombstone, so even if you leave the app and said app is automatically killed because you opened too many apps, the system will restore its original state when you open it again.
I do not have any issues with internet explorer running in background after i disabled all background communication for it from settings.
mcosmin222 said:
Windows phone 8.1 multitasking now is similar to windows 8 multitasking, that is, an app still runs in background for about 10 seconds after you leave the app.
The system also does a lot better at suspending apps and saving their state upon tombstone, so even if you leave the app and said app is automatically killed because you opened too many apps, the system will restore its original state when you open it again.
I do not have any issues with internet explorer running in background after i disabled all background communication for it from settings.
Click to expand...
Click to collapse
Hi,
thanks for your answer.
I know these new behaviour and read about the differences.
Whats strange now: I uninstalled the app "Battery", deleted temporary files, made a system backup to OneDrive, copied some files from phone to my PC, installed the Microsoft App "Diagnosis" to give a message to the developers and now this strange behaviour is away so far.
Ok, I have to consider again, that this version is only a "Developer Preview".
When I have news about this problem, I'll give a message in this thread.

[Q] how to run lumia 535 rom om laptom

i intend to run lumia 535 on my laptop can anyone guide me and give me the required details
I'm tempted to start this comment with a snarky suggestion about seeing your psychiatrist... The short version is that what you are asking for is not really possible. First of all, nearly all phones (including Lumias) run on an ARM processor, which executes ARM instructions; PCs run on x86/AMD64 processors, which execute x86 instructions. The two are completely incompatible; the CPU in a computer will have no idea how to execute code from a phone ROM. Next, phone ROMs are carefully customized for their target platforms, and don't include drivers for anything not present on the phone in question (this saves storage space and boot time, among other advantages); even if you could get the OS to begin booting, it wouldn't know how to drive your PC's display, or read from its USB ports or touchscreen (if it has one), or access its network card, or... you get the idea. There are probably other issues you'd run into, but those should be quite enough to demonstrate the problem.
Now, if you just want to test out WP8 apps and make sure web sites will render correctly on a Lumia 535, you can do that using the WP8/WP8.1 emulator that comes with the Windows Phone Development Kit (free download from Microsoft via http://msdn.com). The emulator is actually running x86 code, nor ARM code, so it runs at native speed on a PC, and it's only *most* of the WP8 OS (some stuff, like the ability to download Store apps, is missing), but it works well enough for the purposes it's intended for. If you just want to run WP8.x apps on your PC (the way Bluestacks lets you do with Android apps), you may need to wait for Windows 10; Windows 8.1 can run PC/tablet *versions* of some recent WP8 apps (and if you buy the app on either platform, you can access it on both) but most phone apps, especially the older ones, don't have a PC/tablet version yet.
Doesnt he mean project my screen?
Then he just need to download this aplication
http://www.microsoft.com/en-us/download/details.aspx?id=42536
https://www.youtube.com/watch?v=T1GzY4evB5M

[Q] Slow startup

I have an Intel i7-4770 3.4GHz system with 24 GB of ram and it takes about 3-5 minutes to start Android Studio after clicking on the icon on the Desktop. I am running the latest Windows 8.1 OS.
Has anybody seen something like this? It didn't used to be so bad. I've been using it for about one year, from beta to the current stable release. Are there any fixes I can do to help this out? Maybe uninstalling and installing again?
It is the same in all Android Studio versions
adam_beers said:
I have an Intel i7-4770 3.4GHz system with 24 GB of ram and it takes about 3-5 minutes to start Android Studio after clicking on the icon on the Desktop. I am running the latest Windows 8.1 OS.
Has anybody seen something like this? It didn't used to be so bad. I've been using it for about one year, from beta to the current stable release. Are there any fixes I can do to help this out? Maybe uninstalling and installing again?
Click to expand...
Click to collapse
I have the same issue too, a Intel i7-2.4G + 8GB RAM, the starting of Android Studio is very slow, taking about 5 minutes. After the slow starting, it works good when editing source code.
The latest version Android Studio 1.3 isn't very good for everyday use.
adam_beers said:
I have an Intel i7-4770 3.4GHz system with 24 GB of ram and it takes about 3-5 minutes to start Android Studio after clicking on the icon on the Desktop. I am running the latest Windows 8.1 OS.
Has anybody seen something like this? It didn't used to be so bad. I've been using it for about one year, from beta to the current stable release. Are there any fixes I can do to help this out? Maybe uninstalling and installing again?
Click to expand...
Click to collapse
It seems to have a lot to do with the damn indexing it does.
I resorted to killing the indexing services in windows process explorer and it seemed to speed the project load up some what.
I was having problems with being able to re-load a newly created project. But it was probably because the IDE was bogged down in indexing and just had not finished.
The developers need to add a means of disabling this indexing because it is a pain!
At one stage it was taking me 30 seconds or more to enter a friggin image asset id - I don't know what that was about but it was damned infuriating.
No other programming related software I have ever used has had these problems.

Categories

Resources