Software Archive
Read-only legacy content
17061 Discussões

Application won't install (it used to)

Shack
Principiante
750 Visualizações

Hi, I published an app to the Google Play store using Construct 2 and Intel XDK. I recently wanted to update the app and when trying to test on my device, it won't let me install the latest build (Crosswalk for Android). I tried clearing my cache, uninstalling the game, a previous build, another device and then finally tried a completely different apk. Any idea what might be wrong? I am using AdMob which was part of the problem I had before, but I even tried completely deleting AdMob from my game and I still can't install it. Is there a better way to trouble shoot or identify what the problem is? Thanks.

TLDR, what are some reasons that would cause an apk to fail during its installation after building it out for Crosswalk for Android?

0 Kudos
2 Respostas
Alexander_W_Intel
Funcionário
750 Visualizações

Hi Shack,

can you provide the logcat output for the failed installation. You can get it with the adb tool which is part of the Android SDK or various 3rd party tool. The logcat should contain the reason why the installation fails.

The most common reason is a certificate mismatch which happens if you have built and installed an app with a debug certificate and later with your developer certificate. Usually uninstalling the old app does solve this issue. As you already tried this out looking into the logcat would be the next step. 

Thanks,
Alex

Shack
Principiante
750 Visualizações

Alexander Weggerle (Intel) wrote:

Hi Shack,

can you provide the logcat output for the failed installation. You can get it with the adb tool which is part of the Android SDK or various 3rd party tool. The logcat should contain the reason why the installation fails.

The most common reason is a certificate mismatch which happens if you have built and installed an app with a debug certificate and later with your developer certificate. Usually uninstalling the old app does solve this issue. As you already tried this out looking into the logcat would be the next step. 

Thanks,
Alex



Hey Alex, thanks for checking in. I got an answer a little while ago. The problem was 2 things, I had to make sure I signed the app and change the app ID since the current one was linking to the actual game.

Responder