Reputation: 28706
I try to install an apk (build by IntelliJ) manually on my phone (GT-B5330 running Android 4.0.4).
Looking at logcat I found those logs:
01-25 10:55:15.668: INFO/ApplicationPolicy(1448): isApplicationInstallationEnabled
01-25 10:55:15.668: WARN/PackageManager(1448): verifying app can be installed or not
01-25 10:55:15.748: INFO/SurfaceFlinger(1216): id=3872 Removed idx=3 Map Size=4
01-25 10:55:15.748: INFO/SurfaceFlinger(1216): id=3872 Removed idx=-2 Map Size=4
01-25 10:55:16.148: DEBUG/dalvikvm(1448): GC_EXPLICIT freed 744K, 34% free 13115K/19655K, paused 5ms+11ms
01-25 10:55:16.148: DEBUG/InstallAppProgress(22326): Installation error code: -103
I tried to find the meaning of this error code -103 but I didn't find anything.
I'm wondering what can be wrong and how can I fix/investigate the issue?
Note that :
Am I missing something obvious ? Other security setting to change ?
Any help will be greatly appreciate.
Upvotes: 10
Views: 7427
Reputation: 57682
While running from the IDE, the apk is signed with the debug key.
I assume that you first mentioned build method might use another key or no one at all. None at all is my guess as otherwise you should have got a message that the signature differs.
Here is a screenshot to show how to sign an apk with IDEA12
Upvotes: 4
Reputation: 300
You have already installed this app in your device? Because probably you are trying to install an application already exists, signed with a different key.
Upvotes: 1