-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue Cannot parse package #51
Comments
This is actually going to be an issue for composer issue. I make no effort to use AAPT to parse package info in the plugin because the plugin can pull it directly from the data model that produces the APK. It seems that if arguments for package name are sent to composer is should skip trying to parse them from the APK? Im going to close for now and urge you open the issue with the composer repo directly. |
In case someone arrived here as I did, I did open an issue in composer with exactly this very issue: gojuno/composer#180 |
Happy to see a PR on this if someone wants to take a swing at it. |
Given that I don't publish a fat jar of composer, is this even still a valid usecase? |
I hit a similar issue today, manifesting itself with the error message "Cannot parse test package from aapt dump badging $APK output." as well. The way that Composer parses the aapt output file is not very robust, it looks like this:
Since the second line of the aapt output file echoes the executed aapt command including the absolute path of the examined test.apk, the above code misread this line and expected it to contain the package name which it didn't. |
With the latest version of the plugin and even the previous versions I always have this error when launching the tests
The text was updated successfully, but these errors were encountered: