[Tasker Tips & Tricks] nmyshkin:
Not sure if this is the best thread for this, but I've had no luck anywhere else.

Here's the situation. I use Tasker to create custom apps for the Nook Simple Touch e-reader. Only version 1.3.3u2 will run on the device, or at least it used to. Before the most recent security update by B&N, this old version of Tasker installed and ran flawlessly. After the update (TLS 1.2 and probably other things), the app refuses to install, giving a long list of complaints as per a snippet of a logcat here:

D/PackageParser( 1112): Scanning package: /data/app/vmdl44994.tmp

W/PackageParser( 1112): Exception reading /data/app/vmdl44994.tmp

W/PackageParser( 1112): java.lang.RuntimeException: java.lang.RuntimeException: Hash algorithm not found

W/PackageParser( 1112):	at org.apache.harmony.xnet.provider.jsse.OpenSSLSignature.engineInitVerify(OpenSSLSignature.java:168)

W/PackageParser( 1112):	at java.security.Signature.initVerify(Signature.java:298)

W/PackageParser( 1112):	at org.apache.harmony.security.utils.JarUtils.verifySignature(JarUtils.java:155)

W/PackageParser( 1112):	at java.util.jar.JarVerifier.verifyCertificate(JarVerifier.java:304)

W/PackageParser( 1112):	at java.util.jar.JarVerifier.readCertificates(JarVerifier.java:273)

W/PackageParser( 1112):	at java.util.jar.JarFile.getInputStream(JarFile.java:416)

W/PackageParser( 1112):	at android.content.pm.PackageParser.loadCertificates(PackageParser.java:327)

W/PackageParser( 1112):	at android.content.pm.PackageParser.collectCertificates(PackageParser.java:489)

W/PackageParser( 1112):	at com.android.server.PackageManagerService.installPackageLI(PackageManagerService.java:4360)

W/PackageParser( 1112):	at com.android.server.PackageManagerService.access$1700(PackageManagerService.java:109)

W/PackageParser( 1112):	at com.android.server.PackageManagerService$6.run(PackageManagerService.java:3852)

W/PackageParser( 1112):	at android.os.Handler.handleCallback(Handler.java:587)

W/PackageParser( 1112):	at android.os.Handler.dispatchMessage(Handler.java:92)

W/PackageParser( 1112):	at android.os.Looper.loop(Looper.java:123)

W/PackageParser( 1112):	at android.os.HandlerThread.run(HandlerThread.java:60)

W/PackageParser( 1112): Caused by: java.lang.RuntimeException: Hash algorithm not found

W/PackageParser( 1112):	at org.apache.harmony.xnet.provider.jsse.NativeCrypto.EVP_VerifyInit(Native Method)

W/PackageParser( 1112):	at org.apache.harmony.xnet.provider.jsse.OpenSSLSignature.engineInitVerify(OpenSSLSignature.java:166)

W/PackageParser( 1112):	... 14 more

D/AndroidRuntime( 8558): Shutting down VM

However, if I resign the apk (I used a version of ZipSigner that will run on the device), then it

will

install and run except that plugin apps do not respond. This makes testing very problematic. In a project compiled with App Factory, everything will function correctly, including calls to plugins, but I'm sort of flying blind during writing the tasks if the plugin stuff is complicated.

I've tried resigning all the plugin apps and reinstalling them. That makes no difference. Right now my "solution" is to keep one of my devices on the older firmware version so that everything works but that is not an ideal "solution" since anything having to do with net access often complains because of the absence of the security updates.

Does anyone have any ideas?