Can not install android app through Hockey App

Hello,

I am starting to evaluate Bitrise, so I can be considered a newbie using the product.

Description of the issue

I have created an ionic application from one of their starter templates (tutorial). this is simple application with some list and a menu elements. I can build it locally and run it in an android device. I can also build it in bitrise successfully.

When adding the step deploy to HockeyApp, everything goes fine on bitrise side. I can see steps result in success

Response:
    status code: 201

When downloading the app and installing in device from HockeyApp, I get a generic error like “Can not install the app”

Any idea or suggestion on this problem or how to troubleshoot it would be highly appreciated.

Environment:

ionic info

cli packages: (/home/isag/.config/yarn/global/node_modules)

    @ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0

global packages:

    cordova (Cordova CLI) : 8.0.0 

local packages:

    @ionic/app-scripts : 3.1.10
    Cordova Platforms  : android 7.0.0
    Ionic Framework    : ionic-angular 3.9.2

System:

    Android SDK Tools : 26.1.1
    Node              : v8.9.4
    npm               : 5.6.0 
    OS                : Linux 4.13

Environment Variables:

    ANDROID_HOME : /home/isag/Android/Sdk

Misc:

    backend : pro

======

HockeyApp Deploy

======
Android device: Samsung Galaxy J3

If on Bitrise.io: which stack? If not on Bitrise.io: on what operating system? (Plus any other information you can share)

Step: hockeyapp-deploy-android@1.2.1

Reproducibility

  • _Does a “Rebuild” help? : NO
  • _Does a rebuild without caches help? NO (No cache step is used)
  • _Does the issue happen sporadically, or every time? : Every time and with several app samples
  • _Does upgrading the build Step to the latest version help? : NO (step is in its latest version)
  • _When did the issue start? : Always

To reproduce

  1. generate an ionic app: ionic start myAppName tutorial

Build URL: https://www.bitrise.io/build/98092a71a9fd1e6f

Local reproduction: Linux / Android (docker based) stack builds

It can be reproduced on an offline build. I did run the workflow on the docker container in my Ubuntu box. Trying to install generated APK in device gives me same error.

Many thanks in advance,
David

Hi @davidmpaz !

I have looked at you build log and I think this could be the issue:

  • ionic-archive@1.2.4:
    inputs:
    - platform: “$IONIC_PLATFORM”
    - target: emulator

The target is set to emulator and not to device in the “Ionic archive” step.
Could you please change that to device and run a new build?

Hi Birmacher Akos,

thanks or answering. It is a combination of both, that settings, which i fixed already, thanks! again, and the fact that i also need the app signed. I am struggling with the signing now.

Cheers,
David

If you’d have any questions just let us know @davidmpaz! Or if you still have an issue I’d suggest you to fill out a new #issues:build-issues report with the details (e.g. exact error), so that we can help asap! :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.