Can't Install after sharing it another mobile

57
January 12, 2019, at 10:50 PM

I made an Android app using Android studio, deployed and ran it directly by using my mobile running Oreo. It installed successfully. But later I tired to share the APK from my mobile to other mobiles. But none of them are able to Install it. However, if I build the APK and share the app-debug.apk to other mobiles. It Installs successfully.

I can't build APK and share app-debug.apk it everyone. I usually deploy it in my mobile, share APK(which used to work before)

Can anyone please help

Please excuse typos, I have typed from mobile.

Answer 1

by default the Android Studio packages just the needed files and installs the app in your mobile. If you share to other mobiles, the app will not install in few devices due to a few reasons like OS version, files mismatch, SHA keys mismatch, etc.

However, if you build the APK and share, the APK is equipped to be installed in any device starting from the minimum SDK version to the target SDK version.

Answer 2

There might be a signing issue. Is your app signed? The default signing is the debug signing. When you just build and deploy or run it on a connected device, it is signed by default as a debug sign.

If it is not uniquely signed, then running or installing on other devices might not be possible. Look at the app signing instruction and guide by Google, here, if you wish to distribute your app on other devices.

Another problem might be in the security authorization of other devices. Your device on which you are building has the developer options turned on. To run and install unsigned apps you'll need to activate the developer options in the device you want to run it on. Look at this link about Developer Options and how to turn it on.

READ ALSO
How to detect when user turns on/off talkback in android programmatically

How to detect when user turns on/off talkback in android programmatically

I'm trying to update the UI based on accessibility option (ie

22
Moving to previous fragment from activity

Moving to previous fragment from activity

I have three fragments in the appI am creating, call them f1,f2, f3

58
How to hook photo call api on android?

How to hook photo call api on android?

I have an APK which taking photos once Button "Take Photo " clickedAPP pop-up photo api and taking picture

45
Scroll Recycleview to Top position when activity starts using Linearlayoutmanager

Scroll Recycleview to Top position when activity starts using Linearlayoutmanager

I"m retrieving Firebase RealTime Database to my Recycleview Adapter ClassI want to sort the data by date with latest post at top

35