-1

enter image description hereI developped an Android Mobile Application, and extract APK fro Android studio but when I send APK to other Mobiles ,, a Message display message say cannot install this APK ..Could anyenter image description hereone help me where is the Problem and how to solve it ?

3 Answers3

0

You don't give any detail information. So I guess...

  1. minSDK - 24 / real device - 21 -> You can not install.
    you should check your minSDK from your build.gradle.

  2. appropriate building : menu -> Build -> Build APK.
    then you can find your APK from "YourProject\app\build\outputs"

Soo Chun Jung
  • 595
  • 3
  • 14
0

Try to install you APK on the same device that you can already run your app from android studio, if there'll be an error then generate your apk correctly, or if there'll be no errors then it should be from device version, change you minSDK version from gradle

try to change minSdkVersion 15

Ara Hakobyan
  • 1,682
  • 1
  • 10
  • 21
0

Usually this occurs when there is an unchecked runtime error in the code or if the compile version is different from the Mobile.

Also you should check your AndroidManifest to see if here maybe a services used in the code that are not requisitioned in the manifest file

Temire Emmanuel
  • 72
  • 1
  • 11
  • what suitable CodeVersion should I put in gradle ?? – Mouaz Salah Apr 21 '17 at 19:40
  • this is totally up to you. Choose a version that you are comfortable with. it usually one for which the compiler is present on your system. but if i was to recommend on it would be minSDK version 15 – Temire Emmanuel Apr 26 '17 at 10:36