Skip to content
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

Error: Command timed out #375

Open
Aastha479C opened this issue Sep 9, 2024 · 0 comments
Open

Error: Command timed out #375

Aastha479C opened this issue Sep 9, 2024 · 0 comments

Comments

@Aastha479C
Copy link

Describe the bug
[BT:1.17.1] Error: Command timed out:

Bundletool version(s) affected
Version: [1.17.1]

Stacktrace
[BT:1.17.1] Error: Command timed out: [C:\Users.................................\aapt2\output\windows\aapt2.exe, dump, badging, C:\Users...............................................................\base-master.apk]
com.android.tools.build.bundletool.model.exceptions.CommandExecutionException: Command timed out: [C:\Users.................................................\aapt2\output\windows\aapt2.exe, dump, badging, C:\Users.....................................................................................................\base-master.apk]
at com.android.tools.build.bundletool.model.exceptions.InternalExceptionBuilder.build(InternalExceptionBuilder.java:57)
at com.android.tools.build.bundletool.androidtools.DefaultCommandExecutor.executeImpl(DefaultCommandExecutor.java:49)
at com.android.tools.build.bundletool.androidtools.DefaultCommandExecutor.executeAndCapture(DefaultCommandExecutor.java:39)
at com.android.tools.build.bundletool.androidtools.Aapt2Command$1.dumpBadging(Aapt2Command.java:93)
at com.android.tools.build.bundletool.commands.InstallMultiApksCommand.apksWithPackageName(InstallMultiApksCommand.java:375)
at com.android.tools.build.bundletool.commands.InstallMultiApksCommand.lambda$execute$3(InstallMultiApksCommand.java:261)
at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:288)
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:1024)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:556)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:546)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:702)
at com.android.tools.build.bundletool.commands.InstallMultiApksCommand.execute(InstallMultiApksCommand.java:263)
at com.android.tools.build.bundletool.BundleToolMain.main(BundleToolMain.java:122)
at com.android.tools.build.bundletool.BundleToolMain.main(BundleToolMain.java:55)

To Reproduce
Steps to reproduce the behavior.
1] Connected the android mobile device
2] In Command line "java -jar "bundletool-all-1.17.1.jar" install-multi-apks --update-only --enable-rollback --a
pks-zip mainline.zip"

Expected behavior
It should install the apks. It is not installing apks with older bundletool versions also.

Environment:
OS: Android 15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant