Ask / Submit
8

Android apps all crash at startup

asked 2014-03-07 21:35:59 +0200

plaristote gravatar image

updated 2014-03-23 03:58:44 +0200

Hi !

Ever since I've gotten my phone, from version 1.0.0.5 to 1.0.3.x, no Android apps has ever launched. At the beginning, I couldn't even install Android apps. The newest versions of Sailfish allow me to install apks, however launching an Android app is still impossible.

Whenever I launch an Android app, any Android app (Yandex store and apks from the Jolla store included), the application first appears as a tile in the home screen, hangs in there for a little while, then disappears. No error messages or notifications are displayed anywhere.

The first thing I'd like to know is where to find and how to launch my android applications from the terminal ? There must be something logged and maybe it'll help fix the issue.

Since I know Android apps are known to have issues linked to mobile connectivity, I may have to add that 2G/3G doesn't work on my phone either. To be more precise, 2G/3G only on the first launch of the connman daemon after a factory reset, and even if I try to launch Android apps while 2G/3G still works, it fails in the same fashion. I'm hoping the two issues might not be completely unrelated.

EDIT: Tweek found a solution for people having this issue: https://together.jolla.com/question/13805/android-support-not-working-apps-not-loading/#post-id-14896

For those who cannot fix their Android issues by clearing dalvik's installation, it also seems that issues with Mobile Data network can easily cause Android applications not to launch.

edit retag flag offensive close delete

Comments

At least one app behaves the same on my handset (Asus SuperNote Pro). In general however, Android apps work (as long as they have access to the resources they require), even without a SIM inserted. (I just checked by removing the SIM, downloading, installing and opening a Yandex app.)

However, if 2G/3G do not work for you, I would not wonder if there is a hardware failure that also affects Sailfish / Alien Dalvik somehow.

According to your post, you already did a full factory reset? Is there any chance to low-level test all types of memory inserted in the Jolla? (Could it be that the memory holding the ex-factory Sailfish code is corrupt without it being detected by the installation routine?)

jgr ( 2014-03-08 00:40:42 +0200 )edit

For me, it's some random Android apps that fail to start. For example Waze. I'm almost sure I had it working at some point, but then removed it for some reason. Now, when I install Waze again and try to launch it the app crashes before even starting. Any idea what causes this?

JarnoF ( 2014-03-18 11:00:37 +0200 )edit

I do have the same problem since mid-February when Android apps stopped working (loading for few seconds before closing). I also cannot enable the Mobile Network since... To be short, I went through almost 15 factory resets (a record?) with different successes...sometimes I can get both (Android apps and the Mobile Data) working before the 1st OS update or like my last attempt, I uninstalled the Android support, cleaned up directories and files as mentioned in another post (http://talk.maemo.org/showthread.php?p=1406350#post1406350), run a factory reset, removed the battery for 1/2 hour and restarted the OS updates all the way to 1.0.4.20. I was able to use Skype and to enable the Mobile Data...for 1 day. Following my 3 reboot, I was back to square one :( Starting to get tired to reset the phone, but still have great hope with jolla :)

myjollaph ( 2014-03-20 21:02:26 +0200 )edit

@myjollaph: Holy crap man, I think we have very similar issues... maybe the same problem. Have you tried debugging the Mobile Network thing using conn man's tools ? Check out this post: https://together.jolla.com/question/19824/bug-mobile-network-disappearing/ I've been reseting to factory like crazy as well... and now I pretty much gave up on 3G support. But at least knowing someone else experience similar issues would be nice (well, in a way).

plaristote ( 2014-03-21 11:41:26 +0200 )edit

@plaristote: Yup I just used the connman tools and while the output is not exactly the same, the result is similar, unfortunately...I won't have time to dive deeper as I will travel for the next 7 days. However I'm planning to factory reset the device again without installing any droid support and see how it goes for the week. Droid stuff worked for 2-3 weeks following the 3rd update and I wonder if it stopped working soon after updating the mobile data settings...Will let you know if I find anything.

myjollaph ( 2014-03-22 01:20:43 +0200 )edit

3 Answers

Sort by » oldest newest most voted
1

answered 2014-03-20 19:03:12 +0200

STiAT gravatar image

If you have the wrong setup for mobile data, as it was by default by me (configuring WAP instead of Internet), all andriod apps crash the way you described.

Go Settings / System / Mobile network, and set the information properly for your provider.

This is probably a bug in the system.

edit flag offensive delete publish link more

Comments

My internet settings were already set correctly. Enabling disabling data and/or wifi did not help with being able to start Android apps. Any other suggestions?

tweek ( 2014-03-20 19:56:02 +0200 )edit

My internet settings are correctly set too. However, the connman service lose track of the Mobile Data network as soon as it restart once (it behaves like the SIM card is missing, though the 3G indicator showing reception quality is still present in the homescreen). So this confirms what I suspected, the two problems must be linked, and finding a way to restore Mobile Data would fix Android apps, right ?

plaristote ( 2014-03-21 11:37:50 +0200 )edit

I just did some testing on that one. That pretty much worked by putting it into my safe and taking it back out, at some point 3G didn't reconnect and I ended up with android apps crashing at startup until reboot.

@tweek: if android apps never work for you, i'm questioning if you are not hitting a HW bug here.. I tested it 3 times now to get in that state (took a while, does not always work ..), and was able to fix it by rebooting. Possible that we talk about different issues though...

STiAT ( 2014-03-22 01:50:17 +0200 )edit

@STiAT it was not a hardware problem, android apps had been working for me for 2 weeks since I got my phone. This thread had the solution for me, I just had to fully clear the alien-dalvik cache: https://together.jolla.com/question/13805/android-support-not-working-apps-not-loading/#post-id-14896

tweek ( 2014-03-22 19:00:39 +0200 )edit

@tweek Good to know, post it as the answer I'd guess and mark it solved..

STiAT ( 2014-03-23 03:35:12 +0200 )edit
1

answered 2014-03-23 09:23:39 +0200

tweek gravatar image

Did you try deleting your entire alien-dalvik file system so that there is no cache left at all? It worked for me to solve this problem, you can find a guide here: https://together.jolla.com/question/13805/android-support-not-working-apps-not-loading/#post-id-14896 Don't forget to back up your android apps and data, they all get removed in the process.

edit flag offensive delete publish link more

Comments

lastpass started working again after dalvik cache clean up. Still, no way to make amazon store working again.

magullo ( 2014-03-23 18:09:18 +0200 )edit
0

answered 2014-03-20 20:32:11 +0200

Martijn gravatar image

It could be a memory issue. Dalvik takes a lot of memory. Try launching an android app with no other (Sailfish) apps running.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
4 followers

Stats

Asked: 2014-03-07 21:35:59 +0200

Seen: 5,567 times

Last updated: Mar 23 '14