question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dynamic apk names

See original GitHub issue

In our project we have apk names with the version included.

It will be very convenient if Marathonfile supported regex or wildcards for its applicationApk and testApplicationApk parameters. Passing them through CLI parameters is also can solve the issue.

I’ve tried to use Gradle plugin that should resolve these names automagically, but looks like it suffers a lot because of various Gradle and Android Gradle Plugin compatibility issues, so I’ve decided to stick with a standalone tool.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
Malinskiycommented, Jun 9, 2021

@folkyatina another feature that you can find useful that’s already in marathon is env substitution in the YAML, e.g.:

name: "sample-app tests"
outputDir: "build/reports/marathon"
vendorConfiguration:
  type: "Android"
  applicationApk: ${MARATHON_APP_APK}
  testApplicationApk: ${MARATHON_TEST_APK}
$ MARATHON_APP_APK="app/build/outputs/apk/debug/app-debug.apk" MARATHON_TEST_APK="app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk" marathon 
0reactions
Malinskiycommented, Nov 1, 2020

Maybe we can write up another PropertySource to supply stuff from the command line arguments

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android Studio/gradle dynamic apk name out of sync
I'm looking to dynamically name the APK on every build with a date/time (yyMMddHHmm). I have completed this and gradle builds and names...
Read more >
How to Change the Default Generated apk Name in Android ...
How to Change the Default Generated apk Name in Android Studio? · Method 1: Updating your build.gradle file to change the APK file...
Read more >
Android Dynamic Feature Modules : The Future - Medium
Dynamic feature modules allow you to separate certain features and resources from the base module of your app and include them in your...
Read more >
Overview of Play Feature Delivery | Android Developers
The following applies the dynamic-feature plugin to your feature module. ... APK Analyzer to inspect your feature module APK and determine the package...
Read more >
Universal APK built with ApksBuildCommand ... - GitHub
<meta-data android:name="shadow.bundletool.com.android.dynamic.apk.fused.modules" android:value="assets,base,java,kotlin,native,split,url" ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found