[Android General] alexbit:
Goodmorning everyone.

I have a problem while using the tutorial :(

I have a Huawei Nova 5T with android in version 10 that broke the display a few weeks ago.

Now I have replaced the display and so I have back again the access to the smartphone and I would like to transfer and merge the whatsapp db on that phone with the other one on the phone that I'm since I broke the Nova .

Well ... I downloaded and installed WhatsApp-Key (version 4.7) on my laptop with Windows 10 home. I launched it and I've connected the old phone that but the program gave me this error:

Installing legacy WhatsApp 2.11.431
3 KB/s (251 bytes in 0.062s)
Error: Failed to parse APK file: /data/local/tmp/LegacyWhatsApp.apk

Exception occurred while executing:
java.lang.IllegalArgumentException: Error: Failed to parse APK file: /data/local/tmp/LegacyWhatsApp.apk
at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:484)
at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:1073)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:177)
at android.os.ShellCommand.exec(ShellCommand.java:104)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:23851)
at android.os.Binder.shellCommand(Binder.java:888)
at android.os.Binder.onTransact(Binder.java:772)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4879)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4538)
at com.android.server.pm.HwPackageManagerService.onTransact(HwPackageManagerService.java:505)
at android.os.Binder.execTransactInternal(Binder.java:1028)
at android.os.Binder.execTransact(Binder.java:1001)
Caused by: android.content.pm.PackageParser$PackageParserException: Failed to parse /data/local/tmp/LegacyWhatsApp.apk
at android.content.pm.PackageParser.parseApkLiteInner(PackageParser.java:1854)
at android.content.pm.PackageParser.parseApkLite(PackageParser.java:1839)
at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:477)
... 11 more
Install complete

Now unlock your device and confirm the backup operation.

Please enter your backup password (leave blank for none) and press Enter:

Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: java.lang.RuntimeException: java.lang.NumberFormatException: For input string: ""
at org.nick.abe.AndroidBackup.extractAsTar(AndroidBackup.java:420)
at org.nick.abe.Main.main(Main.java:128)
... 5 more
Caused by: java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at org.nick.abe.AndroidBackup.extractAsTar(AndroidBackup.java:280)
... 6 more
bin\tar.exe: Cannot open tmp\whatsapp.tar: No such file or directory
bin\tar.exe: Error is not recoverable: exiting now
bin\tar.exe: Cannot open tmp\whatsapp.tar: No such file or directory
bin\tar.exe: Error is not recoverable: exiting now
bin\tar.exe: Cannot open tmp\whatsapp.tar: No such file or directory
bin\tar.exe: Error is not recoverable: exiting now
bin\tar.exe: Cannot open tmp\whatsapp.tar: No such file or directory
bin\tar.exe: Error is not recoverable: exiting now
bin\tar.exe: Cannot open tmp\whatsapp.tar: No such file or directory
bin\tar.exe: Error is not recoverable: exiting now

Cleaning up temporary files ...

File eliminato - C:\Users\aless\Desktop\WhatsApp-Key-DB-Extractor-master\tmp\whatsapp.ab
File eliminato - C:\Users\aless\Desktop\WhatsApp-Key-DB-Extractor-master\tmp\waplen.txt
File eliminato - C:\Users\aless\Desktop\WhatsApp-Key-DB-Extractor-master\tmp\sdpath.txt
File eliminato - C:\Users\aless\Desktop\WhatsApp-Key-DB-Extractor-master\tmp\wapath.txt
File eliminato - C:\Users\aless\Desktop\WhatsApp-Key-DB-Extractor-master\tmp\wapver.txt
File eliminato - C:\Users\aless\Desktop\WhatsApp-Key-DB-Extractor-master\tmp\sdkver.txt

Done

Restoring WhatsApp 2.20.157

Could someone help me?