question

wmoh avatar image
wmoh asked David Marginian Deactivated commented

Unable Sideloading apk to Mini DevKit

Not sure what is going on, but following the document on the Clover site on the sideloading akp file to a DevKit, but unsuccessful.

here are the error messages that I got while trying adb install an apk file via cmd line:

adb: failed to install app-clover-debug.apk: Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION: Failed to collect certificates from /data/app/vmdl453800795.tmp/base.apk: Failed reading lib/x86_64/libopencv_java3.so in android.util.jar.StrictJarFile@86c91f5: Size mismatch on inflated file: 43441305 vs 43441344]

===

adb: failed to install app-clover-debug.apk: Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION: Failed to collect certificates from /data/app/vmdl1996012108.tmp/base.apk: Failed reading res/mipmap-mdpi-v4/busy_background.png in android.util.jar.StrictJarFile@e62c807: META-INF/MANIFEST.MF has invalid digest for res/mipmap-mdpi-v4/busy_background.png in res/mipmap-mdpi-v4/busy_background.png]

===

adb: failed to install app-clover-debug.apk: Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION: Failed to collect certificates from /data/app/vmdl1785090447.tmp/base.apk: Failed reading lib/x86_64/libopencv_java3.so in android.util.jar.StrictJarFile@7b927d8: META-INF/MANIFEST.MF has invalid digest for lib/x86_64/libopencv_java3.so in lib/x86_64/libopencv_java3.so]

===

adb: failed to install app-clover-debug819.apk: Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION: Failed to collect certificates from /data/app/vmdl47654036.tmp/base.apk: Failed reading assets/VerIDModels/shape_predictor_68_face_landmarks.dat in android.util.jar.StrictJarFile@57b6740: META-INF/MANIFEST.MF has invalid digest for assets/VerIDModels/shape_predictor_68_face_landmarks.dat in assets/VerIDModels/shape_predictor_68_face_landmarks.dat]

clover developer community
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

wmoh avatar image
wmoh answered David Marginian Deactivated commented

What one should be doing to get a support here?

We are currently not able to sideloading a QA build to our mini devKit. We currently can only QA our development build by turn the apk file into production release build and uploaded it to our sandbox account.

If there is a fee for support needed, please let us know. We can not afford to sit on our hands and not get this resolved.

Thanks!

5 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

David Marginian avatar image David Marginian ♦♦ commented ·
How you building/signing your APK? Are you running apksigner manually, using Android Studio, something else?
0 Likes 0 ·
wmoh avatar image wmoh David Marginian ♦♦ commented ·

App center is signing the APK (which we make sure is V1) but we are having problems with getting it to work using build types.

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ wmoh commented ·

I am not familiar with App Center but you should look into how it performs the signing. I read a bit about App Center and it sounds like by default it signs debug apks, please see our requirements here - https://docs.clover.com/docs/adding-an-apk-to-your-app#verify-that-you-follow-apk-guidelines.

0 Likes 0 ·
Show more comments
wmoh avatar image
wmoh answered David Marginian Deactivated commented

Ok, one last question:

- how (or where) do you find out which version of App Updater and Clover Engine is running on a DevKit?

Thanks

1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community