When I try to build the APK, I get the error: [Build Error #1] “More information may be available in the Simulator Code” I look at the console and there is just a warning “The signer’s certificate is self-signed.” And just a log. I don’t know what to do, help please
The warning simply indicates that you are using the development certificate to sign your apk, but it doesn’t reflect the error that’s causing your build to fail. Please share a screenshot of what your console shows.
When i try build with “standart” sign:
17:54:45.687
17:54:45.687 Solar2D Simulator 2024.3711 (Nov 1 2024 21:47:59)
17:54:45.687
17:54:45.687
17:54:45.687 Copyright (C) 2009-2024 C o r o n a L a b s I n c .
17:54:45.687 Version: 3.0.0
17:54:45.687 Build: 2024.3711
17:54:45.687 Platform: GA02099 / x64 / 10.0 / AMD Radeon™ Graphics / 4.6.14761 Compatibility Profile Context 21.30.44.14 30.0.13044.14002 / 2024.3711 / ru_RU | RU | ru_RU | ru
17:54:45.687 Loading project from: C:\Users\x1!\Documents\Corona Projects\Additional Lessons
17:54:45.687 Project sandbox folder: C:\Users\x1!\AppData\Local\Corona Labs\Corona Simulator\Sandbox\additional lessons-7B04CDAD508851F7AD86BDF8DB3CFC73\Documents
17:55:38.951 Testing credentials for ‘C:\Program Files (x86)\Corona Labs\Corona\Resources\debug.keystore’:
17:55:39.870 Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
17:55:39.870 jar signed.
17:55:39.870
17:55:39.870 Warning:
17:55:39.870 The signer’s certificate is self-signed.
17:55:39.870
17:55:39.870 The timestamp will expire on 2031-11-10.
17:55:41.273 Excluding specified files from build:
17:55:41.273 excluding: LaunchScreen.storyboardc
17:55:41.273 excluding: Icon.png
17:55:41.273 excluding: Icon-*dpi.png
17:55:41.273 excluding: Images.xcassets
17:55:41.273 㤠 ᮧ 䠩 .
17:55:41.273 ⥬ 㤠 㪠 .
17:55:41.273 Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
17:55:41.273 java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
17:55:41.273 at org.gradle.internal.concurrent.CompositeStoppable.(CompositeStoppable.java:37)
17:55:41.273 at org.gradle.internal.classloader.ClassLoaderUtils.tryClose(ClassLoaderUtils.java:51)
17:55:41.273 at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:64)
17:55:41.273 at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:37)
17:55:41.273 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
17:55:41.273 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
17:55:41.273 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
17:55:41.273 at java.base/java.lang.reflect.Method.invoke(Method.java:568)
17:55:41.273 at org.gradle.launcher.GradleMain.main(GradleMain.java:34)
17:55:41.273 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
17:55:41.273 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
17:55:41.273 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
17:55:41.273 at java.base/java.lang.reflect.Method.invoke(Method.java:568)
17:55:41.273 at org.gradle.wrapper.GradleWrapperMain.main(SourceFile:70)
17:55:41.273 Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
17:55:41.273 at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
17:55:41.273 at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
17:55:41.273 at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
17:55:41.273 … 14 more
17:55:41.397 Android build failed (1) after 2 seconds
When i try with my own sign:
17:57:56.587
17:57:56.587 Solar2D Simulator 2024.3711 (Nov 1 2024 21:47:59)
17:57:56.587
17:57:56.587
17:57:56.587 Copyright (C) 2009-2024 C o r o n a L a b s I n c .
17:57:56.587 Version: 3.0.0
17:57:56.587 Build: 2024.3711
17:57:56.587 Platform: GA02099 / x64 / 10.0 / AMD Radeon™ Graphics / 4.6.14761 Compatibility Profile Context 21.30.44.14 30.0.13044.14002 / 2024.3711 / ru_RU | RU | ru_RU | ru
17:57:56.587 Loading project from: C:\Users\x1!\Documents\Corona Projects\Additional Lessons
17:57:56.587 Project sandbox folder: C:\Users\x1!\AppData\Local\Corona Labs\Corona Simulator\Sandbox\additional lessons-7B04CDAD508851F7AD86BDF8DB3CFC73\Documents
17:58:39.579 Testing credentials for ‘C:\Users\x1!\Documents\Corona Projects\Additional Lessons\keystore’:
17:58:44.035 Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
17:58:44.035 jar signed.
17:58:44.035
17:58:44.035 Warning:
17:58:44.035 The signer’s certificate is self-signed.
17:58:44.035
17:58:44.035 The timestamp will expire on 2031-11-10.
17:58:45.405 Excluding specified files from build:
17:58:45.405 excluding: LaunchScreen.storyboardc
17:58:45.405 excluding: Icon.png
17:58:45.405 excluding: Icon-*dpi.png
17:58:45.405 excluding: Images.xcassets
17:58:45.405 㤠 ᮧ 䠩 .
17:58:45.405 ⥬ 㤠 㪠 .
17:58:45.405 Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
17:58:45.405 java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
17:58:45.405 at org.gradle.internal.concurrent.CompositeStoppable.(CompositeStoppable.java:37)
17:58:45.405 at org.gradle.internal.classloader.ClassLoaderUtils.tryClose(ClassLoaderUtils.java:51)
17:58:45.405 at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:64)
17:58:45.405 at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:37)
17:58:45.405 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
17:58:45.405 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
17:58:45.405 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
17:58:45.405 at java.base/java.lang.reflect.Method.invoke(Method.java:568)
17:58:45.405 at org.gradle.launcher.GradleMain.main(GradleMain.java:34)
17:58:45.405 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
17:58:45.405 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
17:58:45.405 at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
17:58:45.405 at java.base/java.lang.reflect.Method.invoke(Method.java:568)
17:58:45.405 at org.gradle.wrapper.GradleWrapperMain.main(SourceFile:70)
17:58:45.405 Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
17:58:45.405 at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
17:58:45.405 at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
17:58:45.405 at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
17:58:45.405 … 14 more
17:58:45.515 Android build failed (1) after 1 seconds
Can you successfully build a simple hello world project or one of the sample projects?
I tried and i cant build examples too.
Oh, okay, forget about this. Because I maybe solved this problem. I just renamed my pc account (it was contain “!” symbol) And I tried to build application again and it worked
Glad to hear you fixed it. I was just going to ask about that