Error when using "sign_target_files_apks" => dumpkeys.jar not found

556 views
Skip to first unread message

pierre taillard

unread,
May 3, 2017, 3:15:30 PM5/3/17
to Android Building
Hello guys,

I try to build last tag version of Android (android-7.1.1_r39)
so I execute "make" with success but when i launch then :
make dist
 ./build/tools/releasetools/sign_target_files_apks -o -d ~/.android-certs out/dist/*-target_files-*.zip signed-target_files.zip

I have the following error:

rewriting SYSTEM/build.prop:
  replace:  ro.build.display.id=aosp_arm-userdebug 7.1.1 N6F26Y eng.pierre.20170501.182057 test-keys
     with:  ro.build.display.id=aosp_arm-userdebug 7.1.1 N6F26Y eng.pierre.20170501.182057
  replace:  ro.build.tags=test-keys
     with:  ro.build.tags=release-keys
  replace:  ro.build.description=aosp_arm-userdebug 7.1.1 N6F26Y eng.pierre.20170501.182057 test-keys
     with:  ro.build.description=aosp_arm-userdebug 7.1.1 N6F26Y eng.pierre.20170501.182057 release-keys
  replace:  ro.build.fingerprint=Android/aosp_arm/generic:7.1.1/N6F26Y/pierre05011820:userdebug/test-keys
     with:  ro.build.fingerprint=Android/aosp_arm/generic:7.1.1/N6F26Y/pierre05011820:userdebug/release-keys
rewriting SYSTEM/etc/security/mac_permissions.xml with new keys.
META/otakeys.txt has no keys; using /home/pierre/.android-certs/releasekey.x509.pem for OTA package verification.
Error: Unable to access jarfile out/host/linux-x86/framework/dumpkey.jar

   ERROR: failed to run dumpkeys

Could someone help me on that?
Why the dumpkeys.jar file is not already build?
What is the dumpkeys.jar feature and why I can build it?

Many thanks for your help
README_ERROR.txt

Dan Willemsen

unread,
May 3, 2017, 3:52:40 PM5/3/17
to Android Building, tb...@google.com
+Tao Bao 

You should be able to build that with 'm -j out/host/linux-x86/framework/dumpkey.jar' (or 'm -j dumpkey'), it's a bug that it wasn't built automatically though.

- Dan

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

pierre taillard

unread,
May 4, 2017, 3:59:47 PM5/4/17
to Android Building
Hey Dan,

Many thanks for your answer!
You save me times ;-)

Regards,
Pierre
Reply all
Reply to author
Forward
0 new messages