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.

Renamed APK no longer found after update from 0.8.6 to 1.0.0

See original GitHub issue

I’ve just updated the plugin from 0.8.6 to 1.0.0. Since then, the build fails with the following message:

* What went wrong:
A problem was found with the configuration of task ':<app>:countNormalDebugDexMethods'.
> File '/Users/<user>/git/<app>-android/<app>/build/outputs/apk/normal/debug/<app>-normal-debug.apk' specified for property 'inputFileProperty' does not exist.

We use the following construct in our Gradle file to rename the APK:

android {
    applicationVariants.all { variant ->
        variant.outputs.all {
            outputFileName = "<app>-${variant.flavorName}-${variant.buildType.name}-${variant.versionName}.apk"
        }
    }
}

This works fine in 0.8.6, but seems to no longer be compatible with 1.0.0. I’ve gone back to 0.8.6 and builds work as expected again.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12

github_iconTop GitHub Comments

2reactions
benjamin-badercommented, Dec 7, 2019

I released version 1.0.2 with the above fix; it should be in Maven Central within the hour.

1reaction
markuspfeiffercommented, Dec 7, 2019

Confirmed working on my end. Thanks a lot for your quick response 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Renamed .apk package still overwrites old filename app when ...
When I download this new apk file to my Android phone, it prompts that it will replace the old app, even though I...
Read more >
Stable channel release notes for the Windows App SDK
Provides information about the stable release channel for the Windows App SDK.
Read more >
Bug listing with status RESOLVED with resolution OBSOLETE ...
... Bug:90687 - "app-emulation/bochs: ebuild does not support pci nor pcidev linux kernel module" status:RESOLVED resolution:OBSOLETE severity:enhancement ...
Read more >
Changelog | Meteor API Docs
Throwing an error when the login tokens are not generated well calling requestLoginTokenForUser. PR. Node updated to v14.19.3; npm update to v6.14.17; Fix ......
Read more >
Log4j – Changes - Apache Logging Services
Log4j 1.2 bridge should not wrap components unnecessarily. Fixes LOG4J2-3426. ... Update Apache Kafka kafka-clients from 0.11.0.1 to 1.0.0.
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