Android apk not workin

52 Views Asked by At

While running application from android studio application works fine but after build release apk it is not working but debug apk works fine.

i want to run release apk in the device.

2

There are 2 best solutions below

1
Dhruv Sakariya On

Add this line in menifeast i think it will work.

<manifest ...>
    <uses-permission android:name="android.permission.INTERNET" />
    <application
        ...
        android:usesCleartextTraffic="true"
        ...>
       
    </application>
</manifest>
0
Khemrath On

Have you check the minSdkVersion in the build.gradle?

If the android version don't match the api level of the app then it can't be installed.

Here are the reference for the api level: https://apilevels.com/