maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Some Android apps are NOT working on Jolla C (https://talk.maemo.org/showthread.php?t=97009)

HtheB 2016-07-20 13:12

Some Android apps are NOT working on Jolla C
 
I've noticed that many of the Android apps are NOT compatible with Jolla C.... I can't install them from the Play Store, neither as an installable apk file...
They worked all perfectly fine on the old Jolla.... :(

Here are 2 of them that I can think of right now that they don't work on Jolla C, but working perfectly fine on Jolla

Ezan Vakti Pro Plus:
https://play.google.com/store/apps/d...anvaktiproplus

Flitsmeister:
https://play.google.com/store/apps/d...l.flitsmeister

When trying out to install the apk, it tries to install, then suddenly it says app cannot be installed.

Anyone knows how to solve this problem?

Edit: Fix can be found here

Jozz 2016-07-20 13:14

Re: Some Android apps are NOT working on Jolla C
 
I'm still waiting for shipping information of my Jolla C.

What is the problem when you try to install these Android apps? Do you get an error?

HtheB 2016-07-20 13:18

Re: Some Android apps are NOT working on Jolla C
 
Quote:

Originally Posted by Jozz (Post 1510176)
I'm still waiting for shipping information of my Jolla C.

What is the problem when you try to install these Android apps? Do you get an error?

Code:

When trying out to install the apk, it tries to install, then suddenly it says app cannot be installed.

HtheB 2016-07-20 14:52

Re: Some Android apps are NOT working on Jolla C
 
I've checked the journalctl, and this is the output:

Code:

Sailfish apkd [602]: QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory

caprico 2016-07-20 15:35

Re: Some Android apps are NOT working on Jolla C
 
I tested the Flitsmeister-App using apkpure and also can't install it on my Jolla C. But it's the first APK that doesn't work - all my other Android apps installed right away.
Then I try to install your app on Android Cyanogenmod 13 (Google free one) - also didn't work!

About 2 years ago I had a regional messaging app installed on Jolla1. Surprisingly I couldn't install the same app on Cyanogenmod (same error you have now). When I logged the install process, I found out that installation failed because of missing libraries (in that case Google map APIs). After manually adding them, installation worked.

But I never figured out why I could install it on Jolla1, without Google Play or anything googlish installed, but not on Cyanogenmod Android. I'm no pro in such things at all, but looks like Alien Dalvik on Jolla 1 had something set up to bypass this issue.

HtheB 2016-07-20 18:21

Re: Some Android apps are NOT working on Jolla C
 
Solved the problem by adding the missing library!
it was the com.google.android.maps library that is missing. Works great now!

I've made a simple ReadMe on how to get PlayStore (including this fix).

If you still cannot install the app, run the following command as root

Code:

chroot /opt/alien/ /system/bin/logcat
Then install it again. The terminal should show you the reason why it isn't installing.

coderus 2016-07-20 18:38

Re: Some Android apps are NOT working on Jolla C
 
maybe post to tjc?

HtheB 2016-07-20 18:44

Re: Some Android apps are NOT working on Jolla C
 
Quote:

Originally Posted by coderus (Post 1510206)
maybe post to tjc?

Done!
10chars

Eminem 2016-07-20 18:48

Re: Some Android apps are NOT working on Jolla C
 
Quote:

Originally Posted by HtheB (Post 1510204)
Solved the problem by adding the missing library!
it was the com.google.android.maps library that is missing. Works great now!

I've made a simple ReadMe on how to get PlayStore (including this fix).

Worked! :D Thank you! :D

eekkelund 2016-07-20 19:32

Re: Some Android apps are NOT working on Jolla C
 
Quote:

Originally Posted by HtheB (Post 1510204)
Solved the problem by adding the missing library!
it was the com.google.android.maps library that is missing. Works great now!

I've made a simple ReadMe on how to get PlayStore (including this fix).

Why not to use microg? :)
Guide and files

HtheB 2016-07-20 19:57

Re: Some Android apps are NOT working on Jolla C
 
Quote:

Originally Posted by eekkelund (Post 1510209)
Why not to use microg? :)
Guide and files

Maybe because of this:
Quote:

Store (Phonesky) is a frontend application providing access to the Google Play Store to download and update applications. Development is in early stage and there is no usable application yet.
Edit: Also, mine is much easier to set up :p

cvp 2016-07-20 20:23

Re: Some Android apps are NOT working on Jolla C
 
Quote:

Originally Posted by HtheB (Post 1510186)
I've checked the journalctl, and this is the output:

Code:

Sailfish apkd [602]: QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory

how can i use the line to check why the app "DJI Go" cant be installed?

HtheB 2016-07-20 23:05

Re: Some Android apps are NOT working on Jolla C
 
Quote:

Originally Posted by cvp (Post 1510217)
how can i use the line to check why the app "DJI Go" cant be installed?

Ignore my post about the log.
You need to check it out using the following command:
Code:

chroot /opt/alien/ /system/bin/logcat
Try to install an apk, if it fails, it shows you the reason why

cvp 2016-07-21 06:10

Re: Some Android apps are NOT working on Jolla C
 
Quote:

Originally Posted by HtheB (Post 1510234)
Ignore my post about the log.
You need to check it out using the following command:
Code:

chroot /opt/alien/ /system/bin/logcat
Try to install an apk, if it fails, it shows you the reason why


thanks. Can you tell me whats the problem is?

http://pastebin.com/3evevx1X

tmi 2016-07-21 08:04

Re: Some Android apps are NOT working on Jolla C
 
Quote:

Originally Posted by cvp (Post 1510242)
thanks. Can you tell me whats the problem is?

http://pastebin.com/3evevx1X

... this is crazy
But here's line number
234 maybe?
/singing

HtheB 2016-07-21 08:10

Re: Some Android apps are NOT working on Jolla C
 
Quote:

Originally Posted by cvp (Post 1510242)
thanks. Can you tell me whats the problem is?

http://pastebin.com/3evevx1X

The missing library strikes back again! (com.android.future.usb.accessory)
I'll add it on the server as well

cvp 2016-07-21 08:40

Re: Some Android apps are NOT working on Jolla C
 
Quote:

Originally Posted by tmi (Post 1510246)
... this is crazy
But here's line number
234 maybe?
/singing

damn, i dont read this line ^^ thank you!


Quote:

Originally Posted by HtheB (Post 1510248)
The missing library strikes back again! (com.android.future.usb.accessory)
I'll add it on the server as well

cool, thanks :)
but it missing than on all devices (Jolla1 + Tablet). its not Jolla C Only.

HtheB 2016-07-21 08:57

Re: Some Android apps are NOT working on Jolla C
 
Quote:

Originally Posted by cvp (Post 1510250)
cool, thanks :)

Updated the zip file and ReadMe file.
Download it again and extract it.
It should work now :)

cvp 2016-07-21 09:17

Re: Some Android apps are NOT working on Jolla C
 
thanks, but its not working :(

Quote:

E/PackageManager( 8223): Package dji.pilot requires unavailable shared library com.android.future.usb.accessory; failing!
W/PackageManager( 8223): Package couldn't be installed in /data/app/dji.pilot-1.apk
both files are on right place with chmod 644 :(
i must say, that the play store tell me, that its not supported the device. But i think, the installation it sell must be work

Eminem 2016-07-21 09:33

Re: Some Android apps are NOT working on Jolla C
 
Quote:

Originally Posted by cvp (Post 1510252)
thanks, but its not working :(



both files are on right place with chmod 644 :(
i must say, that the play store tell me, that its not supported the device. But i think, the installation it sell must be work

Try download the apk or use Aptoide store.

HtheB 2016-07-21 09:33

Re: Some Android apps are NOT working on Jolla C
 
Quote:

Originally Posted by cvp (Post 1510252)
thanks, but its not working :(



both files are on right place with chmod 644 :(
i must say, that the play store tell me, that its not supported the device. But i think, the installation it sell must be work

644? it's 664 :p

Other then that, are you sure you have the com.android.future.usb.accessory in the right place?
be sure to reboot your phone after applying the zip

HtheB 2016-07-21 09:35

Re: Some Android apps are NOT working on Jolla C
 
Quote:

Originally Posted by Eminem (Post 1510253)
Try download the apk or use Aptoide store.

That won't work if he doesn't have the shared libs

Eminem 2016-07-21 09:41

Re: Some Android apps are NOT working on Jolla C
 
Quote:

Originally Posted by HtheB (Post 1510255)
That won't work if he doesn't have the shared libs

I had do that because Google store didnīt allow me to install it from there. (this application isenīt compatible with your device it said).

HtheB 2016-07-21 09:44

Re: Some Android apps are NOT working on Jolla C
 
Quote:

Originally Posted by Eminem (Post 1510256)
I had do that because Google store didnīt allow me to install it from there. (this application isenīt compatible with your device it said).

it's because you're missing libs. After you've inserted the libs and rebooted your phone, it suddenly will let you download the app from the Play Store

Eminem 2016-07-21 09:45

Re: Some Android apps are NOT working on Jolla C
 
Quote:

Originally Posted by HtheB (Post 1510257)
it's because you're missing libs. After you've inserted the libs and rebooted your phone, it suddenly will let you download the app from the Play Store

Did it the wrong way then, inserted libs and used Aptoide without reboot. :D

cvp 2016-07-21 10:33

Re: Some Android apps are NOT working on Jolla C
 
ok my mistake with 644. But i try with 664, get the same error message :(

i copy past from nemo/downloads/...files... to the right folders.

/opt/alien/system/framework/com.google.android.maps.jar
/opt/alien/system/framework/android.hardware.usb.accessory.jar

/opt/alien/system/etc/permissions/com.google.android.maps.xml
/opt/alien/system/etc/permissions/android.hardware.usb.accessory.xml

i can do what i want... its not installing :(

Eminem 2016-07-21 10:38

Re: Some Android apps are NOT working on Jolla C
 
Quote:

Originally Posted by cvp (Post 1510265)
ok my mistake with 644. But i try with 664, get the same error message :(

i copy past from nemo/downloads/...files... to the right folders.

/opt/alien/system/framework/com.google.android.maps.jar
/opt/alien/system/framework/android.hardware.usb.accessory.jar

/opt/alien/system/etc/permissions/com.google.android.maps.xml
/opt/alien/system/etc/permissions/android.hardware.usb.accessory.xml

i can do what i want... its not installing :(

Can try after work if no other beats me to it. :)

cvp 2016-07-21 12:04

Re: Some Android apps are NOT working on Jolla C
 
hmm in system package is follow file missing or not?

com.android.future.usb.accessory.xml

i see only the android.hardware.usb.accessory.cml

maybe is this the problem?

clovis86 2016-07-21 12:05

Re: Some Android apps are NOT working on Jolla C
 
is whatsapp working on your C ?
working good by not any contact available in app :(
There is no link between people app and whatsapp ...
Maybe google services issue ?
Didn't put last librarie issue atm ( used 1st method from HtheB posted yesterday ( before update )

caprico 2016-07-21 12:08

Re: Some Android apps are NOT working on Jolla C
 
Quote:

Originally Posted by clovis86 (Post 1510280)
is whatsapp working on your C ?
working good by not any contact available in app :(
There is no link between people app and whatsapp ...
Maybe google services issue ?
Didn't put last librarie issue atm ( used 1st method from HtheB posted yesterday ( before update )

Did you allow Android apps to access your contacts (Settings/Android Support)? It should work afterwards - maybe you need to resync contacts within Whatsapp.

clovis86 2016-07-21 12:15

Re: Some Android apps are NOT working on Jolla C
 
yup, already checked setttings and tried to force resync, no change :(

cvp 2016-07-21 12:40

Re: Some Android apps are NOT working on Jolla C
 
okay a solved it. In yur system is this missing:
com.android.future.usb.accessory.xml

i create on by my self. I edit it and put this information into:
Quote:

<permissions>
<library name="com.android.future.usb.accessory"
file="/system/framework/com.android.future.usb.accessory.jar" />
</permissions>
copy to /opt/alien/system/etc/permissions
chmod 664
restart

app can be install now. Its starts... i hope it work too ^^ i can test is later today

ajalkane 2016-07-21 13:17

Re: Some Android apps are NOT working on Jolla C
 
Maybe some error in the Readme:

chmod: cannot access `/opt/alien/system/framework/android.hardware.usb.accessory.jar': No such file or directory

I'm not sure I care about USB with Android so I didn't look into it any further. You'll probably know immediately what's wrong with the README.

HtheB 2016-07-21 15:08

Re: Some Android apps are NOT working on Jolla C
 
Quote:

Originally Posted by cvp (Post 1510279)
hmm in system package is follow file missing or not?

com.android.future.usb.accessory.xml

i see only the android.hardware.usb.accessory.cml

maybe is this the problem?

ah! my bad, I've added the wrong library...


All times are GMT. The time now is 08:54.

vBulletin® Version 3.8.8