Android 10 App Installer with KIO4Install not working

Hi, i use on my app KIO4Install Extension, practically when the application download is finished, it automatically opens the application installation, but today i have tested my app on Android 10 and i get an error:
Runtime Error
No Activity found to handle Intent { act=android.intent.action.VIEW dat=file:///storage/emulated/0/Download/App.apk typ=application/vnd.android.package-archive fig=0x10000000 }

On Android 9 working fine

Maybe its because you can not access in Android 10 files so easy like before?
They changed how the access to files works at Android 10.

3 Likes

And there is a solution? I need to put some permission on AndroidManifest for example?

android:requestLegacyExternalStorage="true"
2 Likes

I feel Kodular Community will be full of posts like this soon :no_mouth:

And I will become obsolete with Android 6 :cry::sweat_smile:

1 Like

You’ll be the only one, by March of 2020 I’ll have the Pixel 4 :joy:

i am 5.0 :sweat::sob::sob:

This is going to be off topic

But I have 4.4 :sob:

Now is anyone left who will say
" I have 3.0"
:sweat_smile::sweat_smile::joy:

Hahaha i think no one in 2019 :thinking::joy: anyways let’s see if any one claim that I Have 3.0 :wink:

1 Like

3.0 is written in hammurabi code

1 Like

I have tested to put this on AndroidManifest, but when i compile the APK with ApkTool, i have this error
error: No resource identifier found for attribute ‘requestLegacyExternalStorage’ in package ‘android’

I think you need to use Android 10 as sdk to build it.

4 Likes

Oh right but… how can i set the SDK to 29 (Android 10)? ApkTool (2.4.1) does not yet support Android 10 same for Kodular.

Do you have an apk so I can give it a shot

Yeah sure, but if you know how to do it, could you tell me?

First, I would like to test for myself if it works

i send to you the apk via PM?

Sure do that

FYI, I never got the apk but I’m still waiting