Problems while building apk, could not find jarsigner

i can not bulid my project with these error infos:
Error: Your build failed due to an error in the JarSigner stage, not because of an error in your program.

full:

	

请求编译WeisiStore,请求时间:2024年6月9日 下午6:21:34
Waiting for 32 seconds.
________Creating fragment xml
________Creating provider_path xml
________Generating manifest file
________Attaching native libraries
________Attaching Android Archive (AAR) libraries
________Attaching component assets
________Invoking AAPT
AAPT time: 1.843 seconds
________Compiling source files
(compiling C:\Users\许桓铭\AppData\Local\Temp\1717928494400_0.8509314991806687-0\youngandroidproject\..\src\com\appybuilder\test\WeisiStore\Appinfo.yail to com.appybuilder.test.WeisiStore.Appinfo)
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:122:3: warning - more than one possibly applicable method 'put' in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.Object,java.lang.Object)
candidate: void gnu.mapping.Environment.put(gnu.mapping.Symbol,java.lang.Object)
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.String,java.lang.Object)
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:125:3: warning - more than one possibly applicable method 'get' in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.get(gnu.mapping.Symbol)
candidate: java.lang.Object gnu.mapping.Environment.get(java.lang.Object)
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:702:7: warning - more than one possibly applicable method 'put' in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.Object,java.lang.Object)
candidate: void gnu.mapping.Environment.put(gnu.mapping.Symbol,java.lang.Object)
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.String,java.lang.Object)
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:704:7: warning - more than one possibly applicable method 'put' in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.Object,java.lang.Object)
candidate: void gnu.mapping.Environment.put(gnu.mapping.Symbol,java.lang.Object)
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.String,java.lang.Object)
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:714:9: warning - more than one possibly applicable method 'get' in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.get(gnu.mapping.Symbol)
candidate: java.lang.Object gnu.mapping.Environment.get(java.lang.Object)
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:719:7: warning - more than one possibly applicable method 'remove' in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.remove(java.lang.Object)
candidate: void gnu.mapping.Environment.remove(gnu.mapping.Symbol)
candidate: java.lang.Object gnu.mapping.Environment.remove(gnu.mapping.EnvironmentKey)
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:721:7: warning - more than one possibly applicable method 'remove' in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.remove(java.lang.Object)
candidate: void gnu.mapping.Environment.remove(gnu.mapping.Symbol)
candidate: java.lang.Object gnu.mapping.Environment.remove(gnu.mapping.EnvironmentKey)
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:727:11: warning - more than one possibly applicable method 'put' in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.Object,java.lang.Object)
candidate: void gnu.mapping.Environment.put(gnu.mapping.Symbol,java.lang.Object)
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.String,java.lang.Object)
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:729:11: warning - more than one possibly applicable method 'put' in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.Object,java.lang.Object)
candidate: void gnu.mapping.Environment.put(gnu.mapping.Symbol,java.lang.Object)
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.String,java.lang.Object)
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:735:9: warning - more than one possibly applicable method 'put' in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.Object,java.lang.Object)
candidate: void gnu.mapping.Environment.put(gnu.mapping.Symbol,java.lang.Object)
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.String,java.lang.Object)
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:737:9: warning - more than one possibly applicable method 'put' in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.Object,java.lang.Object)
candidate: void gnu.mapping.Environment.put(gnu.mapping.Symbol,java.lang.Object)
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.String,java.lang.Object)
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:747:9: warning - more than one possibly applicable method 'get' in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.get(gnu.mapping.Symbol)
candidate: java.lang.Object gnu.mapping.Environment.get(java.lang.Object)
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:766:9: warning - no accessible method 'addParent' in gnu.mapping.Environment
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:1124:3: warning - no accessible method 'runtimeFormErrorOccurredEvent' in java.lang.Object
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:1861:3: warning - more than one possibly applicable method 'makeList' in com.google.appinventor.components.runtime.util.YailList
candidate: com.google.appinventor.components.runtime.util.YailList com.google.appinventor.components.runtime.util.YailList.makeList(java.util.List)
candidate: com.google.appinventor.components.runtime.util.YailList com.google.appinventor.components.runtime.util.YailList.makeList(java.lang.Object[])
candidate: com.google.appinventor.components.runtime.util.YailList com.google.appinventor.components.runtime.util.YailList.makeList(java.util.Collection)
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:2543:5: warning - no known slot 'getDhcpInfo' in java.lang.Object
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:2565:3: warning - no known slot 'post' in java.lang.Object
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:2599:5: warning - no accessible method 'clear' in java.lang.Object
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:2603:3: warning - no accessible method 'setFormName' in java.lang.Object
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:2610:7: warning - no accessible method 'deleteComponent' in java.lang.Object
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:399:39: warning - no known slot 'getMessage' in java.lang.Object
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:400:66: warning - no known slot 'getMessage' in java.lang.Object
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:400:28: warning - more than one possibly applicable method 'makeText' in android.widget.Toast
candidate: android.widget.Toast android.widget.Toast.makeText(android.content.Context,int,int)
candidate: android.widget.Toast android.widget.Toast.makeText(android.content.Context,java.lang.CharSequence,int)
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:400:27: warning - no known slot 'show' in java.lang.Object
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:404:15: warning - no known slot 'getMessage' in java.lang.Object
(compiling C:\Users\许桓铭\AppData\Local\Temp\1717928494400_0.8509314991806687-0\youngandroidproject\..\src\com\appybuilder\test\WeisiStore\Main.yail to com.appybuilder.test.WeisiStore.Main)
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:399:39: warning - no known slot 'getMessage' in java.lang.Object
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:400:66: warning - no known slot 'getMessage' in java.lang.Object
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:400:28: warning - more than one possibly applicable method 'makeText' in android.widget.Toast
candidate: android.widget.Toast android.widget.Toast.makeText(android.content.Context,int,int)
candidate: android.widget.Toast android.widget.Toast.makeText(android.content.Context,java.lang.CharSequence,int)
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:400:27: warning - no known slot 'show' in java.lang.Object
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:404:15: warning - no known slot 'getMessage' in java.lang.Object
(compiling C:\Users\许桓铭\AppData\Local\Temp\1717928494400_0.8509314991806687-0\youngandroidproject\..\src\com\appybuilder\test\WeisiStore\Screen1.yail to com.appybuilder.test.WeisiStore.Screen1)
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:399:39: warning - no known slot 'getMessage' in java.lang.Object
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:400:66: warning - no known slot 'getMessage' in java.lang.Object
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:400:28: warning - more than one possibly applicable method 'makeText' in android.widget.Toast
candidate: android.widget.Toast android.widget.Toast.makeText(android.content.Context,int,int)
candidate: android.widget.Toast android.widget.Toast.makeText(android.content.Context,java.lang.CharSequence,int)
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:400:27: warning - no known slot 'show' in java.lang.Object
C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm:404:15: warning - no known slot 'getMessage' in java.lang.Object
(compiling C:\Users\许桓铭\AppData\Local\Temp\runtime3792495366070720638.scm to com.google.youngandroid.runtime)
Kawa compile time: 1.726 seconds
________Invoking DX
DX time: 18.206 seconds
________Invoking ApkBuilder to build: C:\Users\许桓铭\AppData\Local\Temp\1717928494400_0.8509314991806687-0\youngandroidproject\..\build\deploy\WeisiStore.ap_
________Signing the apk file
YAIL compiler - could not find jarsigner.

Error: Your build failed due to an error in the JarSigner stage, not because of an error in your program.

Which builder are you using, this doesn't look like MIT AppInventor (online) ?

\src\com\appybuilder\test\WeisiStore\Screen1.yail

Yes,I am using Appybuilter

I found the problem was on my jdk,it don not include a jarsigner

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.