Need help in every way! - Android Studio

I just downloaded the Android Studio. I am running windows 7 64 bit with 4 GBs of Ram. When I open the application it takes a few minutes to load the studio. It then loads to an error that says there was a rendering problem which I fix by changing the API from the drop down. I put 3 labels on the app and just wanted to see what that looked like so I tried running it. I ran it through the Emulator and after basically freezing my computer up and taking up to 5 minutes to build it works but then I see a blank screen. I don't even see my labels. So I tried running it from my phone and after a few hours I finally got it to where it would even recognize my phone as authorized. However, every time I try to run it it says the app has crashed before it even loads. I am using a Samsung Galaxy s3 so I tried it with API 17. So here are my questions.
#1:
Why is this program soooooooo slow? I have changed the gradle to be offline. I have also added this line to the properties org.gradle.daemon=true and still it takes forever and almost freezes up my computer.
#2:
Why aren't my labels showing when I run it through the emulator? I mean that's about as simple as you can get and it isn't even working.
#3:
Why does my phone crash before even loading the app? I have 32 GB of memory on my phone via an SD card if that even matters.
#4:
Can this program really be as bad as it seems? I've been "working with it" about 3 days now and I can't get it to function properly in any way.

4GB is barely enough for comfortable work. Especially on 64-bit OS and especially with emulator (and maybe browser tabs and some other stuff) running.
Although I used to launch it with 2GB somehow
And if your app doesn't work properly and even crashes, it's most likely bugged. Read the log.

Related

Homescreen load time

Hey guys,
I've got a little problem for over a few months, so I thought why not ask it on XDA maybe all those smart guys know a solution!
Problem is that when i'm in a program (mail, music, sms, or any other app / game) and I press the home button, it always takes about 15 to 20 seconds before it's fully loaded. First after 3 seconds you see the blank background. Then the icons come back after like 13 seconds, then the widget(s) (i only have 2) and finally after some more seconds waiting it's all usable.
Well, it's a pretty annoying problem, everytime i have to look for something fast, I have to wait those 20 seconds. I can't find a solution, here is what i've already done:
1. It started with the CM 4.xxx roms so I wiped installed it again -> nope didn't work
2. Fully wiped everything including the ext partition and flashed Super D -> nope
3. Since CM 5 is out, wiped again and flashed CM5 -> nope...
The weird thing is, that when I freshly installed one of those roms, it seems to work but after a few app installs and phone useage, it starts lagging loading the home screen. And in 2 days it becomes worse untill every press is a looong load time!
I've got an Transcend 8GB Micro SD which is class 6 (should be enough). It was standard delivered with my T-Mobile G1. The ext partition is 457MB large (and there is 351 free space on it). Internal on the phone is now 21MB free. But even with 70 free it won't work...
I don't have swap enabled now with the new CM, but I did had it with Super D so that also doesn't seems to work. I've got Compcache enabled now. I REALLY don't know what to do... it just sucks that it takes so long to load, I hope anyone of you has a solution
Thanks!
Here is my approach:
In spare parts enable both comp cache (you indicated this is done) and launcher in memory.
The hope is launcher will not need to usually fully reload but can be compressed into the compcache when not is active use.
This applies to cm 4.2 and cm 5 on the dream.. every now and then the system will still kill the launcher if memory is tight so don't be shocked at it fully reloading from tike to time.. but usually it works out and keeps the phone very responsive.
Do not use swap.
(Well if desperate you can try 20-30mb but more than that will not work well with android memory management.. and even that small amount may do more damage to the SD card then actually help the system runtime.. I just don't use swap and attempt to back out of applications when done)
Thanks for the reply, i've done that and hope it will load a bit faster now I'll let u know!
Thanks it works great, my phone just feels so much faster now!

[Q] Select which apps run at start up???

Is there a way to select which apps you want to start up and run when the phone is booted? Since I've rooted I've had a lot more apps running right after turning the phone on (15-25 apps running). It is sluggish at start up, I'm assuming this is because the phone is trying to start and run a whole bunch of apps at the same time as well as obtain signal, check verify media on the SD card etc. and the processor is bogged down. Is there a way to select which apps I'd like to run at start up?
If you want to reduce lag try roms. Any app that tries to control what Is starting up will largely be ineffective
Any speculation as to why I never experienced this until after I rooted my phone?
Rooting should not cause programs to just start running.
Are you certain you have not added something else since root that may be causing lag?
I wouldn't describe it as general lag. It's only at start up. Once everything has loaded it runs the same it did the day I got it. It's just that it takes longer to boot initially. And when I use my task killer once everything is loaded it typically kills off 20-25 apps. Before I rooted I had a max of 6 apps running at start up. Currently I have 80 apps installed. Before I rooted I might have had 10 less apps.
Go to market, put startup in search, you should find several apps that claim to help with this
Thanks, I'll give that a try.
Startup Auditor. Works for me, give it a shot.

[Q] Moving Very Slow

I've had this issue since purchasing this tablet about 6 months ago, and perhaps it is just THIS tablet, but does everyone have the issue of the tablet being bogged down? What I mean is.....For example, if I click an app, it can take up to 10 seconds for the app to actually open. Also, sometimes the app will barely do anything once it is open, almost as if there is too much processing in the background and the tablet can't keep up.
I have next to nothing on the tablet, and I close my apps when I'm done using them. I only keep open my most used, which is usually only Hangouts and Trivia Crack. If you guys/girls have any advice on how I can speed this thing up, it would be GREATLY appreciated!
I am not seeing this, however which of the many 7" memo pad tablets are you using? I am on the ME572C. I will say that things definitely improved with one of the updates because out of the box it was slower than it is now. However I only ran on the out of the box version for about 3 hours before I updated to the current version of the software. I have never had 10 second lags during launch of an app... I do know that some of the memo pads have less ram than the ME572C and that can cause some stutter on app startup (low ram available for usage). I have experienced that type of stutter on another tablet (my old kindle fire which is on the otterX firmware and it only has 512megs of ram instead of 2gig like the ME572C.
Shaundiesel said:
I've had this issue since purchasing this tablet about 6 months ago, and perhaps it is just THIS tablet, but does everyone have the issue of the tablet being bogged down? What I mean is.....For example, if I click an app, it can take up to 10 seconds for the app to actually open. Also, sometimes the app will barely do anything once it is open, almost as if there is too much processing in the background and the tablet can't keep up.
I have next to nothing on the tablet, and I close my apps when I'm done using them. I only keep open my most used, which is usually only Hangouts and Trivia Crack. If you guys/girls have any advice on how I can speed this thing up, it would be GREATLY appreciated!
Click to expand...
Click to collapse
Sorry, I have the ME176CX....I believe it is 1GB Ram. I just haven't read anywhere else that people have complained about the speed. It's really frustrating though.
Shaundiesel said:
Sorry, I have the ME176CX....I believe it is 1GB Ram. I just haven't read anywhere else that people have complained about the speed. It's really frustrating though.
Click to expand...
Click to collapse
It does have 1 gig of ram based upon looking it up. If you reboot the tablet from a clean start how long does it take until the problem starts occurring? How long has it been between reboots when you see this problem?
On my kindle fire otter/x before a leak got cleared up I had to reboot it on a regular basis (I had it scripted to reboot nightly) in order to attempt to prevent lag like you describe. Some apps even in the presence of a nightly reboot (and after a leak got fixed) would still take time to launch because the tablet would have to clean out the cached apps in order to get enough memory clear for the new app to run.
If you carefully choose to close apps rather than let android cache them after usage you might find that the behavior you are describing does not occur...(If you already know this I apologize, but Android by default has a tendency to keep apps running in the background, it assumes that you are going to switch back to them). Early on, people used task killer type apps to try and keep certain apps from clogging memory.
P.S. If you have the facebook app installed, disable it or uninstall it and then reboot the tablet, you might be startled at how much better the tablet might then perform...
Hi I'm having this problem as well. Am wondering have you made any more progress in sorting it?
Sent from my K013 using XDA Free mobile app
snukems said:
Hi I'm having this problem as well. Am wondering have you made any more progress in sorting it?
Sent from my K013 using XDA Free mobile app
Click to expand...
Click to collapse
Clear the cache
Hey guys, I bought the Asus Memo Pad 7, model number K017, it has an internal storage of 8 GB and currently using 5.42 and I added an SD Card of 29.71 GB. I was wondering how could I release more internal memory, since I believe it's the reason why it's running so slow. I deleted as many apps I could and moved as much as I could to the SD but still not enough.
Any thoughts or tips are welcomed.
Thanks
In the last days I'm experiencing lots of problems with my ME173X-1B071A: always very very very slow (unusable) and overheating.
I bought it 2 years ago and I never had problems before.
Maybe 1GB RAM is too little nowadays?
I think I will buy a new tablet.....

Laggggg on Marshmallow or is it just me?

My UI freezes for 5 - 15 seconds, particularly when the phone regains network connectivity (reconnecting wifi or mobile network going from 0 to 1 bars). It's much improved after removing FB and Insta but. My launcher is even getting closed when the phone frequently, although the phone has ~500MB free RAM.
I dropped this poor phone one too many times, so before I replace it with another z3 compact, I'm wondering if everyone else on Marshmallow is seeing poor responsiveness as well.
I did have slow downs before but not like that,I have switched to Lineage and it works very well so I don't have any plans going back to stock Marshmallow.
yeah same here, i advice you to switch to lineage, you will feel like butter on the screen.
I don't have any lags at all, no launcher refreshes or whatever on stock MM. ( I don't use the horrible Facebook application)
Until 3 weeks ago, I used to have no lags at all on my stock Marshmallow 6.0.1 Z3C. I had uptime of 50 days and more and it didn't lag. Now, it happened twice in a row that my System RAM usage grew in last 5 days to 1,3 GB! It seems like a memory leak in kernel space. It's hard to pinpoint particular process. The phone is slow, multitasking doesn't work (reloads every app), my stock launcher redraws and the phone is unable to make/receive GSM calls - probably a symptom of low on memory state. I wonder, if it's caused by bluetooth driver, because I've transfered 100MB file on both occasions. I need more time to analyze this, this time I won't turn bluetooth on, so I can see if it is the cause.
Edit: I'm confident the cause is not bluetooth. Symptoms now appear after just 65 hours of uptime - . Now I tried to get rid of ES File Explorer, let's see what this bloatware did to system performace.
Edit 2: It seems the problem is gone after uninstalling ES File Explorer. Before uninstalling it had data storage set to external SD card. I replaced this piece of bloatware by open-source explorer called Amaze.
Thanks all. I was avoiding Lineage because I wanted the stock camera / DRM and their description makes it sound very unstable... "random reboots while charging", etc. I'll try it out anyway and add the stock camera back in if it runs well.
xnavra50 said:
Until 3 weeks ago...
Click to expand...
Click to collapse
Do share the source of the issue if you find it. I'm still seeing UI lockups when the phone loses internet connectivity.
jayarmstrong said:
Thanks all. I was avoiding Lineage because I wanted the stock camera / DRM and their description makes it sound very unstable... "random reboots while charging", etc. I'll try it out anyway and add the stock camera back in if it runs well.
Do share the source of the issue if you find it. I'm still seeing UI lockups when the phone loses internet connectivity.
Click to expand...
Click to collapse
camera works like stock in lineage, don't worry about that. you can face with other small bugs but still worth to use, it is better than stock in most cases.
having the same issue since a few weeks.
device gets VERY slow (i mean like 10 seconds to open the phone dialer or whats app)
Even did a factory reset, which only helped for ~2 days ...
same problem with my girlfriends Z3C.
Something is very wrong here ...
xnavra50 said:
Until 3 weeks ago, I used to have no lags at all on my stock Marshmallow 6.0.1 Z3C. I had uptime of 50 days and more and it didn't lag. Now, it happened twice in a row that my System RAM usage grew in last 5 days to 1,3 GB! It seems like a memory leak in kernel space. It's hard to pinpoint particular process. The phone is slow, multitasking doesn't work (reloads every app), my stock launcher redraws and the phone is unable to make/receive GSM calls - probably a symptom of low on memory state. I wonder, if it's caused by bluetooth driver, because I've transfered 100MB file on both occasions. I need more time to analyze this, this time I won't turn bluetooth on, so I can see if it is the cause.
Click to expand...
Click to collapse
Icefeldt said:
having the same issue since a few weeks.
device gets VERY slow (i mean like 10 seconds to open the phone dialer or whats app)
Even did a factory reset, which only helped for ~2 days ...
same problem with my girlfriends Z3C.
Something is very wrong here ...
Click to expand...
Click to collapse
there must be a reason that it is slow as hell in stock while it works with jet speed in lineage. something related to sony software, hardware is okay.
Wipe cache (Power and vol+ until 3 Vibrations) helped a little, but i don't put too much hope in it.
It's my gf's Phone so i kind of hesitate to install some unstable beta on it. Or is there any real stable release out there?
Sony haven't pushed out any updates for over a year, so not sure how you can blame it on MM build.
It'll be an app.
My money's on Facebook or Messanger.
No lags or slowdowns on my phone, had the same build on it for a year now.
Autoupdates turned OFF.
No Facebook/Messanger.
Didgesteve said:
Sony haven't pushed out any updates for over a year, so not sure how you can blame it on MM build.
It'll be an app.
My money's on Facebook or Messanger.
No lags or slowdowns on my phone, had the same build on it for a year now.
Autoupdates turned OFF.
No Facebook/Messanger.
Click to expand...
Click to collapse
Guess you're right, but i can't really accept a SD801 Phone being unable to run basic apps like FB
papa_Lutz said:
Guess you're right, but i can't really accept a SD801 Phone being unable to run basic apps like FB
Click to expand...
Click to collapse
Last year Facbook deliberatly broke their app, made it run slow and heat your phone up, as an experiment, to see what people would do. They honestly don't give a sh*t about what you think of thier app.
Uninstall it and use your browser, see if it makes a difference.
Try SD Maid from the playstore, that does some good basic houskeeping
Didgesteve said:
My money's on Facebook or Messanger.
Click to expand...
Click to collapse
Nope.
I do not have a Facebook account.
Therefore I do not have facebook or messenger installed.
But I do have these slowdowns :-/
I read in an italian forum that it's the Google app fault, you should unistall updates and disable automatic updates until it's fixed.
unpair said:
I read in an italian forum that it's the Google app fault, you should unistall updates and disable automatic updates until it's fixed.
Click to expand...
Click to collapse
Interesting.
You got a link to that thread/post?
Icefeldt said:
Interesting.
You got a link to that thread/post?
Click to expand...
Click to collapse
here and previous page
It seems the problem is gone after uninstalling ES File Explorer. Before uninstalling it had data storage set to external SD card. I replaced this piece of bloatware by open-source explorer called Amaze.
Now I have an uptime of 125 hours and counting, my System RAM usage is 0.90 GB and it isn't rising to 1.3 GB as it did before. So the phone is really smooth again. When I was checking my LogCat using DDMS, there seemed to be recurring message of ES File Explorer (estrong) leaking something, I don't remember if it was a window or an activity. What a piece of chinese malware it became. Interestingly, ES File Explorer's memory footprint was low (3 processes, 10MB total user space memory), even when leaking memory and this made debugging harder. Although I killed it, when the phone had problem (1.3 GB system memory), only a reboot worked. It totally seems like a memory leak to me.
GL debugging yours.
it works good with me ..
try to make clean install
I'm not going back to this crappy app. Once, it used to be outstanding, but they probably sold the app to another company in China and from there it went downhill. A lot of popups and ads for things I don't need. Their only purpose is to make your phone slower (bloatware) and optionally, to get money from you. I like simple, minimalistic apps, which do things they are designed for and do it right. Just this Linux approach and also "less is sometimes more".
It's confirmed that ES File Explorer makes network connections to China in background, no thanks!

Problems after installing PE 12.1 on Moto G6

Hi all from a noob,
Hopefully I've put this post in the correct place but if not would a mod move it for me please.
I'm almost new to Android and this is my first go at modding an Android device so please bear with me. I may have taken on too much for a noob but I am where I am.
I recently installed PixelExperience_Plus_ali-12.1 (Android 12) using TWRP 3.7, without root access, onto a Moto G6 (ali xt1925-4, single SIM) that I was given to play around with and learn some Android stuff.
Installing the OS was not as straight forward as hoped and it took several attempts but I got there in the end. The phone boots up, albeit slower than with the old Motorola Android 9 (Pie) but guess that's to be expected.
I haven't extensively run/tested the device or put in a SIM card yet, in part, because I've been getting some errors that I'd like to fix first. I've searched the forum but haven't found anything that helps and I know trying solutions for similar devices/problems, without suitable guidance, can create more issues than it solves.
I'd be very grateful for some help.
The errors messages I'm getting so far are:
1.) "android.process.media keeps stopping...." This occurs quite often and may be the main culprit of other issues.
2.) "com.android.phone keeps stopping...." This has happened 2 or 3 times in the last 24 of fiddling and appears to happen randomly. I haven't tried to use the device as a phone yet - no SIM installed.
3.) "Not enough storage space...." This appears bringing the phone out of screen lock if I've left the Play Store open when the screen lock has activated. Settings -> Storage shows "30% used - 22.55 GB free". I believe the device has 32 GB of storage.
There are no apps installed other than the ones that came with PixelExperience_Plus_ali-12.1 and Magisk 25.2 and TWRP 3.7, which were already on the phone before I did the upgrade. I believe PixelExperience_Plus_ali-12.1 come with GApps.
I haven't changed any of the settings on the phone other than the Screen Timeout from default to 2 minutes and set the WiFi password.
The Magisk app appears to have problems, though I haven't tried to use it. I wonder if I should uninstall it but I don't know what other issues this could cause if I did (uninstall it).
Apps won't install from the Play Store. When Install button is selected the screen flashes and displays "Pending" then returns to the App's install screen and occasionally a fleeting message appears saying something about low storage but it disappears too quickly to read.
The device seems to eat the battery which I only replaced, with a supposed genuine replacement, a short while ago.
Settings -> Battery suggests 24hrs use on a 100% full charge, with Android 9 it was about 4 days.
There are other issues but I don't want to make this post too long especially if resolving item 1 above resolves some or all of the others.... ever hopeful.

Categories

Resources