Меню

Architecture api is not installed ошибка

rbenv-2.6.5 is attempting to install openssl-1.1.1d and that’s where the architecture error comes, I have no direct access to the Makefile:

$ rbenv install 2.6.5
Downloading openssl-1.1.1d.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/1e3a91bc1f9dfce01af26026f856e064eab4c8ee0a8f457b5ae30b40b8b711f2
Installing openssl-1.1.1d...

BUILD FAILED (OS X 10.15.1 using ruby-build 20191124)

Inspect or clean up the working tree at /var/folders/8s/8mw7vg315l7dr9vyfxmv9vk80000gn/T/ruby-build.20191126132843.6027.Z0Hvfg
Results logged to /var/folders/8s/8mw7vg315l7dr9vyfxmv9vk80000gn/T/ruby-build.20191126132843.6027.log

Last 10 log lines:
In file included from include/openssl/e_os2.h:243:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include/inttypes.h:30:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/inttypes.h:227:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types/_wchar_t.h:34:9: error: unknown type name '__darwin_wchar_t'
typedef __darwin_wchar_t wchar_t;
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[1]: *** [apps/app_rand.o] Error 1
make: *** [all] Error 2

Complete log:

$ cat /var/folders/8s/8mw7vg315l7dr9vyfxmv9vk80000gn/T/ruby-build.20191126132843.6027.log
/var/folders/8s/8mw7vg315l7dr9vyfxmv9vk80000gn/T/ruby-build.20191126132843.6027.Z0Hvfg ~/Developer/ReactNativeApp/ios
HTTP/1.1 200 OK
Content-Type: binary/octet-stream
Content-Length: 8845861
Connection: keep-alive
Date: Tue, 26 Nov 2019 09:50:32 GMT
Last-Modified: Tue, 01 Oct 2019 21:38:26 GMT
ETag: "3be209000dbc7e1b95bcdf47980a3baa"
Accept-Ranges: bytes
Server: AmazonS3
X-Cache: Hit from cloudfront
Via: 1.1 e56e6732f380db727425bac2d6158761.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: FRA2-C2
X-Amz-Cf-Id: Hw-jhD36n4Jk8CezqbAuFTzudNo4qopXkdH3CaxRXUHbadZgf9Z6xA==
Age: 9492

/var/folders/8s/8mw7vg315l7dr9vyfxmv9vk80000gn/T/ruby-build.20191126132843.6027.Z0Hvfg/openssl-1.1.1d /var/folders/8s/8mw7vg315l7dr9vyfxmv9vk80000gn/T/ruby-build.20191126132843.6027.Z0Hvfg ~/Developer/ReactNativeApp/ios
Operating system: x86_64-apple-darwinDarwin Kernel Version 19.0.0: Thu Oct 17 16:17:15 PDT 2019; root:xnu-6153.41.3~29/RELEASE_X86_64
Configuring OpenSSL version 1.1.1d (0x1010104fL) for darwin64-x86_64-cc
Using os-specific seed configuration
Creating configdata.pm
Creating Makefile

**********************************************************************
***                                                                ***
***   OpenSSL has been successfully configured                     ***
***                                                                ***
***   If you encounter a problem while building, please open an    ***
***   issue on GitHub <https://github.com/openssl/openssl/issues>  ***
***   and include the output from the following command:           ***
***                                                                ***
***       perl configdata.pm --dump                                ***
***                                                                ***
***   (If you are new to OpenSSL, you might want to consult the    ***
***   'Troubleshooting' section in the INSTALL file first)         ***
***                                                                ***
**********************************************************************
WARNING! If you wish to build 32-bit libraries, then you have to
         invoke 'KERNEL_BITS=32 ./config  '--prefix=/Users/User/.rbenv/versions/2.6.5/openssl' '--openssldir=/Users/User/.rbenv/versions/2.6.5/openssl/ssl' 'zlib-dynamic' 'no-ssl3' 'shared''.
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" 
        "-oMakefile" crypto/include/internal/bn_conf.h.in > crypto/include/internal/bn_conf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" 
        "-oMakefile" crypto/include/internal/dso_conf.h.in > crypto/include/internal/dso_conf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" 
        "-oMakefile" include/openssl/opensslconf.h.in > include/openssl/opensslconf.h
make depend && make _all
clang  -I. -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR=""/Users/User/.rbenv/versions/2.6.5/openssl/ssl"" -DENGINESDIR=""/Users/User/.rbenv/versions/2.6.5/openssl/lib/engines-1.1"" -D_REENTRANT -DZLIB -DZLIB_SHARED -DNDEBUG -I/Users/User/.rbenv/versions/2.6.5/include -MMD -MF apps/app_rand.d.tmp -MT apps/app_rand.o -c -o apps/app_rand.o apps/app_rand.c
In file included from apps/app_rand.c:10:
In file included from apps/apps.h:13:
In file included from ./e_os.h:13:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include/limits.h:37:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/limits.h:63:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/cdefs.h:807:2: error: Unsupported architecture
#error Unsupported architecture
 ^
In file included from apps/app_rand.c:10:
In file included from apps/apps.h:13:
In file included from ./e_os.h:13:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include/limits.h:37:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/limits.h:64:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/machine/limits.h:8:2: error: architecture not supported
#error architecture not supported
 ^
In file included from apps/app_rand.c:10:
In file included from apps/apps.h:13:
In file included from ./e_os.h:16:
In file included from include/openssl/e_os2.h:243:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include/inttypes.h:30:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/inttypes.h:226:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/_types.h:27:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:33:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/machine/_types.h:34:2: error: architecture not supported
#error architecture not supported
 ^
In file included from apps/app_rand.c:10:
In file included from apps/apps.h:13:
In file included from ./e_os.h:16:
In file included from include/openssl/e_os2.h:243:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include/inttypes.h:30:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/inttypes.h:226:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/_types.h:27:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:55:9: error: unknown type name '__int64_t'; did you mean '__int128_t'?
typedef __int64_t       __darwin_blkcnt_t;      /* total blocks */
        ^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:56:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t       __darwin_blksize_t;     /* preferred block size */
        ^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:57:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t       __darwin_dev_t;         /* dev_t */
        ^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:60:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t      __darwin_gid_t;         /* [???] process and group IDs */
        ^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:61:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t      __darwin_id_t;          /* [XSI] pid_t, uid_t, or gid_t*/
        ^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:62:9: error: unknown type name '__uint64_t'; did you mean '__uint128_t'?
typedef __uint64_t      __darwin_ino64_t;       /* [???] Used for 64 bit inodes */
        ^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:68:9: error: unknown type name '__darwin_natural_t'
typedef __darwin_natural_t __darwin_mach_port_name_t; /* Used by mach */
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:70:9: error: unknown type name '__uint16_t'; did you mean '__uint128_t'?
typedef __uint16_t      __darwin_mode_t;        /* [???] Some file attributes */
        ^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:71:9: error: unknown type name '__int64_t'; did you mean '__int128_t'?
typedef __int64_t       __darwin_off_t;         /* [???] Used for file sizes */
        ^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:72:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t       __darwin_pid_t;         /* [???] process and group IDs */
        ^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:73:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t      __darwin_sigset_t;      /* [???] signal set */
        ^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:74:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t       __darwin_suseconds_t;   /* [???] microseconds */
        ^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:75:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t      __darwin_uid_t;         /* [???] user IDs */
        ^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:76:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t      __darwin_useconds_t;    /* [???] microseconds */
        ^
note: '__uint128_t' declared here
In file included from apps/app_rand.c:10:
In file included from apps/apps.h:13:
In file included from ./e_os.h:16:
In file included from include/openssl/e_os2.h:243:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include/inttypes.h:30:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/inttypes.h:226:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/_types.h:43:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t      __darwin_wctype_t;
        ^
note: '__uint128_t' declared here
In file included from apps/app_rand.c:10:
In file included from apps/apps.h:13:
In file included from ./e_os.h:16:
In file included from include/openssl/e_os2.h:243:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include/inttypes.h:30:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/inttypes.h:227:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types/_wchar_t.h:34:9: error: unknown type name '__darwin_wchar_t'
typedef __darwin_wchar_t wchar_t;
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[1]: *** [apps/app_rand.o] Error 1
make: *** [all] Error 2

@Aessar

MultiMc fails to launch the game with «Architectury API (Fabric)» installed (using the newest version availabal for 1.16.5, log below.
Any help on whats going on here on how to fix «this»? Im not very knowledgeable on this topic. Since the issue only happens with Architectury installed I assume that its the cause.

[22:55:59] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.2 Source=file:/E:/mmc-stable-win32/MultiMC/libraries/org/spongepowered/mixin/0.8.2/mixin-0.8.2.jar Service=Knot/Fabric Env=CLIENT
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-networking-blockentity-v0.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-rendering-data-attachment-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-renderer-indigo.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-events-interaction-v0.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-loot-tables-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-renderer-registries-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-blockrenderlayer-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-renderer-api-v1.debughud.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-containers-v0.accurate.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-rendering-fluids-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config stepheightentityattribute.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-resource-loader-v0.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-game-rule-api-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-object-builders-v0.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-tag-extensions-v0.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-rendering-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-transfer-api-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-item-groups-v0.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-command-api-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-crash-report-info-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-entity-events-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-renderer-api-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-screen-handler-api-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-lifecycle-events-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-containers-v0.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-structure-api-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-item-api-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-object-builder-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config mixins.terraform-boats.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-screen-api-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-dimensions-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-textures-v0.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-registry-sync-v0.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-models-v0.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-biome-api-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-networking-api-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-particles-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config mixins.terraform-leaves.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-tool-attribute-api-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-content-registries-v0.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-api-lookup-api-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config trinkets.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-key-binding-api-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config mixins.terraform-signs.json does not specify «minVersion» property
Failed to start Minecraft:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196)
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231)
at org.multimc.EntryPoint.listen(EntryPoint.java:143)
at org.multimc.EntryPoint.main(EntryPoint.java:34)
Caused by: java.lang.SecurityException: class «org.spongepowered.asm.mixin.transformer.FabricMixinTransformerProxy»‘s signer information does not match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(Unknown Source)
at java.lang.ClassLoader.preDefineClass(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at net.fabricmc.loader.launch.knot.KnotClassDelegate.initializeTransformers(KnotClassDelegate.java:77)
at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:141)
at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28)
… 8 more

@Juuxel

Caused by: java.lang.SecurityException: class «org.spongepowered.asm.mixin.transformer.FabricMixinTransformerProxy»‘s signer information does not match signer information of other classes in the same package

This error is really suspicious, as well as the fact that it’s seemingly using upstream mixin instead of Fabric’s. @shedaniel do you have any idea what’s causing this?

@shedaniel

No idea, we might want @Aessar to export their MultiMC instance to us, quite interesting that it only crashes with architectury installed? Architectury couldn’t be forcing upstream mixin possibly?

@Aessar

Do you want me to do that? Your gonna have to explain me how to tho.

@shedaniel

You can select an instance, right click, and click Export Instance, basically tick all folders, and send that exported zip somewhere like google drive. It would help a lot :p

@Aessar

@LunaVid6231

It happens exactly the same to me, the game fails to launch

@RashbaNor

Well, unfortunately I have the exact same problem.

@Kitt3yL0v3r66

Just curious but is this the same Mixin error?
[Info: 2022-03-06 18:07:29.0708041: GameCallbacks.cpp(177)] Game/FabricLoader/Metadata (main) Warn Mod soaringstructures2 (1.18 — 2.1) does not respect SemVer — comparison support is limited.
[Info: 2022-03-06 18:07:29.2936697: GameCallbacks.cpp(177)] Game/FabricLoader/Mixin (main) Info SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/C:/Users/kitt3/AppData/Roaming/.minecraft/libraries/net/fabricmc/sponge-mixin/0.11.2+mixin.0.8.5/sponge-mixin-0.11.2+mixin.0.8.5.jar Service=Knot/Fabric Env=CLIENT
[Info: 2022-03-06 18:07:29.3705382: GameCallbacks.cpp(177)] Game/FabricLoader/Mixin (main) Info Compatibility level set to JAVA_16
[Info: 2022-03-06 18:07:29.3787809: GameCallbacks.cpp(177)] Game/FabricLoader/Mixin (main) Info Compatibility level set to JAVA_17
[Info: 2022-03-06 18:07:29.5605004: GameCallbacks.cpp(177)] Game/Lithium (main) Info Loaded configuration file for Lithium: 102 options available, 0 override(s) found
[Info: 2022-03-06 18:07:29.6253076: GameCallbacks.cpp(177)] Game/Sodium (main) Info Loaded configuration file for Sodium: 29 options available, 1 override(s) found
[Info: 2022-03-06 18:07:30.0228439: GameCallbacks.cpp(177)] Game/Effective (main) Info Sodium found. Applying compatibility mixin…
[Info: 2022-03-06 18:07:30.1154692: GameCallbacks.cpp(177)] Game/FabricLoader/Mixin (main) Warn Error loading class: net/minecraft/class_6861 (java.lang.ClassNotFoundException: net/minecraft/class_6861)
[Info: 2022-03-06 18:07:30.1162186: GameCallbacks.cpp(177)] Game/FabricLoader/Mixin (main) Warn @mixin target net.minecraft.class_6861 was not found fabric-resource-loader-v0.mixins.json:LifecycledResourceManagerImplMixin
[Info: 2022-03-06 18:07:30.4444236: GameCallbacks.cpp(177)] Game/Sodium (main) Warn Force-disabling mixin ‘features.sky.MixinWorldRenderer’ as rule ‘mixin.features.sky’ (added by mods [iris]) disables it and children
[Info: 2022-03-06 18:07:30.6891276: GameCallbacks.cpp(177)] Game/Sodium (main) Info Trying to switch memory allocators to work around memory leaks present with Jemalloc 5.0.0 through 5.2.0 on Windows
[Info: 2022-03-06 18:07:30.8215419: GameCallbacks.cpp(177)] Game/FabricLoader (main) Error Minecraft has crashed!
net.fabricmc.loader.impl.FormattedException: java.lang.NoSuchMethodError: ‘com.mojang.bridge.game.GameVersion net.minecraft.class_3797.method_16672()’
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:418)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
Caused by: java.lang.NoSuchMethodError: ‘com.mojang.bridge.game.GameVersion net.minecraft.class_3797.method_16672()’
at fudge.notenoughcrashes.fabric.StacktraceDeobfuscator.(StacktraceDeobfuscator.java:29)
at net.minecraft.client.main.Main.handler$cli000$asSoonAsPossible(Main.java:517)
at net.minecraft.client.main.Main.main(Main.java)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:416)
… 2 more

@Juuxel

@Kitt3yL0v3r66 No, this is a different issue that is unrelated to architectury (seems to be notenoughcrashes crashing when deobfuscating another crash, ironically enough)

@Kitt3yL0v3r66

That is actually kinda funny, I seem to be getting a crash even with it removed, really bugging me sense the mods I had were working fine a while ago

@MaxNeedsSnacks

This is unfortunately one of those very difficult to reproduce issues, so I’m just asking out of curiosity: @Aessar does this issue still happen to you when trying to launch packs with Architectury (either this original instance or some other pack using it that you’ve played more recently)? Since this issue attracts a fair bit of unrelated traffic, I’ll probably have to close this either way, but I at least would like to know whether by some miracle, this issue fixed itself :p

@b0b1126

also crashing on start

Uncaught exception in thread «main»
java.lang.RuntimeException: Failed to obtain root directory for mod ‘roughlyenoughitems-default-plugin’!
at net.fabricmc.loader.impl.ModContainerImpl.obtainRootPaths(ModContainerImpl.java:148)
at net.fabricmc.loader.impl.ModContainerImpl.getRootPaths(ModContainerImpl.java:100)
at net.fabricmc.loader.api.ModContainer.findPath(ModContainer.java:62)
at net.fabricmc.loader.impl.FabricLoaderImpl.loadAccessWideners(FabricLoaderImpl.java:481)
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:145)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:71)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
Caused by: java.io.IOException: Error accessing file:///C:/Users/dda11/AppData/Roaming/.minecraft/.fabric/processedMods/roughlyenoughitems-default-plugin-5.12.385-6a449b1be23b29f1.jar: java.util.zip.ZipError: zip END header not found
at net.fabricmc.loader.impl.util.FileSystemUtil.getJarFileSystem(FileSystemUtil.java:83)
at net.fabricmc.loader.impl.util.FileSystemUtil.getJarFileSystem(FileSystemUtil.java:59)
at net.fabricmc.loader.impl.ModContainerImpl.obtainRootPath(ModContainerImpl.java:156)
at net.fabricmc.loader.impl.ModContainerImpl.obtainRootPaths(ModContainerImpl.java:137)
… 6 more
Caused by: java.util.zip.ZipError: zip END header not found
at com.sun.nio.zipfs.ZipFileSystem.zerror(ZipFileSystem.java:1605)
at com.sun.nio.zipfs.ZipFileSystem.findEND(ZipFileSystem.java:1021)
at com.sun.nio.zipfs.ZipFileSystem.initCEN(ZipFileSystem.java:1030)
at com.sun.nio.zipfs.ZipFileSystem.(ZipFileSystem.java:130)
at com.sun.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:117)
at java.nio.file.FileSystems.newFileSystem(FileSystems.java:326)
at java.nio.file.FileSystems.newFileSystem(FileSystems.java:276)
at net.fabricmc.loader.impl.util.FileSystemUtil.getJarFileSystem(FileSystemUtil.java:78)
… 9 more

@MaxNeedsSnacks

Since the original issue has since been hijacked by a bunch of unrelated reports and we can’t seem to reproduce this reliably, I’m gonna be closing this for now

Полное сообщение об ошибке:
Installation did not succeed.
The application could not be installed: INSTALL_FAILED_OLDER_SDK
The application’s minSdkVersion is newer than the device API level.


означает, что версия SDK устройства, которое я использую, ниже, чем требуемая версия SDK.

Решение:
Найдите расположение проекта
Расположение проекта app build.gradle
Обратите внимание, что он находится в папке приложения, а не в хорошо известной (в папке gradle).

Измените содержимое внутри minSdkVersion
Диапазон настройки minSdkVersion — 14–16,
И я протестировал targetSdkVersion от 1 до 10000 без каких-либо проблем, но все же не рекомендуется изменять его случайным образом.
различается в зависимости от настроек компьютера, не спрашивайте, как я получил этот диапазон, я сам пробовал это долгое время

Конкретный номер версии выглядит следующим образом

android {

compileSdkVersion 29
buildToolsVersion "29.0.3"

defaultConfig {
    applicationId "com.example.myapplication"
    minSdkVersion 15
    targetSdkVersion 29
    versionCode 1
    versionName "1.0"

    testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

Версия gradle — последняя 3.6.0

 Hello World
На этот раз процесс установки программного обеспечения напоминает мне об использовании очень низкой версии и не может автоматически обновляться до последней версии. Это может быть вызвано только установкой библиотеки tesorflow, которая не подходит для python версии 3.7 из pip на официальном сайте.Я переустановил две версии python, даже 2.0, но версии 3.6 нет, и, наконец, нашел способ установить библиотеку pycharm

  • Remove From My Forums
  • Question

  • I’m trying to set up Xamarin Platform in my Visual Studio Community 2015. I tried to change the Visual Studio installation and active the Xamarin platform but now it says: ‘Setup Completed. However not all features installed correctly.’

    Android SDK Setup (API Level 19 and 21) : The following package(s) were not downloaded: platform-tools extra-android-support extra-android-m2repository build-tools-19.1.0 build-tools-21.1.2 android-19 android-21 sys-img-armeabi-v7a-android-19 sys-img-x86-android-19
    addon-google_apis_x86-google-19 addon-google_apis-google-19 . Please check your internet connection and try again.

    Android SDK Setup (API Level 23) : The following package(s) were not downloaded: build-tools-23.0.1 android-23 . Please check your internet connection and try again.

    Android SDK Setup (API Level 22) : The following package(s) were not downloaded: build-tools-22.0.1 android-22 . Please check your internet connection and try again.

    But my internet connection is fine…

MAGIX.info

The magix.info Community – Find help here

philip-m


wrote on 5/15/2018, 7:20 AM

Spectral Layers wont play. Device error shows — API was not installed. How do I solve this?

Comments

Can you give more details ? (SpectraLayers exact version, your Windows version, you can also send me the logs files located in Documents/SpectraLayers Pro logs to contact [at] divideframe.com so I get all the details). You can also provide a screenshot of the Device preferences (Edit/Preferences/Device).

Thanks

I’m having a similar error with «API was not initialized.» Please help. The software looks awesome and worth purchase, but if I can’t even get the trial to work… I’ve only got so many days on this trial and want it to work!

Can you give more details ? (SpectraLayers exact version, your Windows version, you can also send me the logs files located in Documents/SpectraLayers Pro logs to contact [at] divideframe.com so I get all the details). You can also provide a screenshot of the Device preferences (Edit/Preferences/Device).

Thanks

Hi, I just had a look at the log files, you were supposed to see another warning message before this one, saying
«Open Error: input device sample rate (96000Hz) doesn’t match output device sample rate (192000Hz)».
Can you confirm you see this warning ? It shows up when you open a file or start a new project.

It means you have to set the same sample rate for the input device and output device. To do so, right-click the Windows volume control (the little speaker icon at the bottom right of your screen), then click «Recording devices», click your default input device (in your case, «Internal Microphone») then click Properties, Advanced, and set it to the same sample rate as your output device (here, 192000Hz).

Or do the opposite, set the output device (in your case «Speakers») to 96000Hz.

That should solve the issue 🙂

It worked! Thanks!

I followed your instructions, put both input and output to the same frequency, went into preferences in SLP and reset the device page and it works. Thanks again!

Report as questionable

Dialog


Реализована функция обновления в приложении с использованием следующего фрагмента кода:

private void showInAppUpdateDialog(boolean isMandatoryUpdate) {
    Task<AppUpdateInfo> appUpdateInfoTask = appUpdateManager.getAppUpdateInfo();

    appUpdateInfoTask.addOnSuccessListener(appUpdateInfo -> {
        if (appUpdateInfo.updateAvailability() == UpdateAvailability.UPDATE_AVAILABLE
                || appUpdateInfo.updateAvailability() == UpdateAvailability.DEVELOPER_TRIGGERED_UPDATE_IN_PROGRESS) {

            int appUpdateType = isMandatoryUpdate ? IMMEDIATE : AppUpdateType.FLEXIBLE;
            int requestCode = isMandatoryUpdate ? REQUEST_APP_UPDATE_IMMEDIATE : REQUEST_APP_UPDATE_FLEXIBLE;

            if (appUpdateInfo.isUpdateTypeAllowed(appUpdateType)) {
                // start the app update
                try {
                    appUpdateManager.startUpdateFlowForResult(appUpdateInfo, appUpdateType, targetActivity, requestCode);
                } catch (IntentSender.SendIntentException e) {
                    e.printStackTrace();
                }
            }
        }
    }).addOnFailureListener(e -> {
        e.printStackTrace();
    });
}

Я тестирую обновление в приложении на устройстве с Android 9. Тем не менее оно выдает сообщение об ошибке (ERROR_API_NOT_AVAILABLE):

com.google.android.play.core.install.InstallException: Install Error(-3): The API is not available on this device. (https://developer.android.com/reference/com/google/android/play/core/install/model/InstallErrorCode#ERROR_API_NOT_AVAILABLE)
        at com.google.android.play.core.appupdate.i.a(Unknown Source:24)
        at com.google.android.play.core.internal.o.a(Unknown Source:13)
        at com.google.android.play.core.internal.j.onTransact(Unknown Source:22)
        at android.os.Binder.execTransact(Binder.java:731)

Говорят, что проверьте следующую ссылку:
https://developer.android.com/reference/com/google/android/play/core/install/model/InstallErrorCode#ERROR_API_NOT_AVAILABLE )

Использование версии библиотеки ядра Play: 1.6.5

Последняя версия базовой библиотеки:

implementation 'com.google.android.play:core:1.7.0'

Тем не менее, я не могу понять, почему он говорит, что ERROR_API_NOT_AVAILABLE. Любая помощь будет оценена!






Ответы:


Во-первых , пожалуйста, убедитесь, что вы используете последнюю версию библиотеки воспроизведения.

Во-вторых , недооцененный факт: проверьте, что приложение, которое вы тестируете, имеет такое же имя пакета, которое доступно в магазине игр.

Пример:

В магазине Play есть приложение с именем пакета, com.example.appно вы тестируете приложение с именем пакета com.example.app.debug. Вы получите эту ошибку: ERROR_API_NOT_AVAILABLE

Примечание. Во время тестирования в магазине игр должна быть хотя бы одна версия приложения.






Мое приложение работало нормально до сегодняшнего дня, но я начал получать эту ошибку сегодня. Один из временных способов — очистить кэш и хранилище Google Play Store, а затем попытаться запустить приложение. Для меня это работает только в первый раз, но потом не получается. Перед повторным запуском приложения я должен очистить кеш и хранилище снова. Я думаю, что в Google Play Store что-то не так, из-за чего эта проблема происходит, потому что до сегодняшнего дня у меня все было хорошо.


Вдобавок к тому, что предложил Vipal, проблема может быть связана с несоответствием подписи между версией, которую вы установили на устройстве, и той, которую поставляет Play Store (это распространенная проблема, если вы пытаетесь протестировать ее с отладочными сборками). См. Https://developer.android.com/guide/playcore/in-app-updates#troubleshoot.

Недавно API Play Core начал возвращать API_NOT_AVAILABLEошибку, если приложение не принадлежит пользователю или несоответствие подписей, в то время как раньше оно использовалось для возврата успешного UPDATE_NOT_AVAILABLEзадания.

Рекомендация:

  • если вы используете расширение Kotlin, убедитесь, что вы перехватываете исключение, выдаваемое requestAppUpdateInfo
  • если вы используете PlayCore Java, убедитесь, что у вас есть, onFailureListenerкоторый обрабатывает сбои изgetAppUpdateInfo
  • для тестирования отладочной сборки вы можете использовать Internal App Sharing, как описано здесь: https://developer.android.com/guide/playcore/in-app-updates#internal-app-sharing

Источник: я работаю в команде Play Core



Временный обходной путь на данный момент заключается в том, OnCompleteListenerчтобы:

try {...} catch(e: RuntimeExecutionException) {...}

Просто чтобы избежать необходимости очищать кэш PlayStore каждый раз, когда я перезапускаю приложение



После долгого времени отладки. Я обнаружил, что это из-за того, что мы тестируем приложение прямо в мобильном телефоне. Даже если мы создаем и используем подписанный apk, эта ошибка произойдет. Единственный способ избавиться от этой ошибки — загрузить приложение из Google Play.

Мы можем использовать внутренний обмен приложениями для тестирования или просто опубликовать наше приложение.

Я создал базовый Rest API с помощью ASP.NET Core 5, который я хочу запустить с помощью докера. Приложение отлично работает в IIS Express.

Я также хочу создать контейнер докеров для запуска приложения.

В папке проекта я создал папку Docker с несколькими файлами.
Вот мой файл App.dockerfile:

FROM mcr.microsoft.com/dotnet/aspnet:5.0

ARG WEBAPP_VERSION=0.0.1
LABEL maintainer=anymail@email_server.com 
    Name=webapp 
    Version=${WEBAPP_VERSION}
ARG URL_PORT
WORKDIR /app
ENV NUGET_XMLDOC_MODE skip
ENV ASPNETCORE_URLS http://*:${URL_PORT}
ENTRYPOINT [ "dotnet", "WebApplication.dll" ]

Еще у меня есть файл Build.docker:

FROM mcr.microsoft.com/dotnet/aspnet:5.0
## Can be Debug or Release.
ARG BUILD_CONFIG=Debug
ARG BUILDER_VERSION=0.0.1
LABEL maintainer=some_email@email_server.com 
    Name=webapp-build-${BUILD_CONFIG} 
    Version=${BUILDER_VERSION}
## Will be the path mapped to the external volume.
ARG BUILD_LOCATION=/app/out
ENV NUGET_XMLDOC_MODE skip
WORKDIR /app
COPY *.csproj .
RUN dotnet restore
COPY . /app
RUN dotnet publish --output ${BUILD_LOCATION} --configuration ${BUILD_CONFIG}

Наконец-то у меня есть docker-compose.yml

version: '3'
services:
  webapp:
    container_name: webapp.test
    image: webapp:${WEBAPP_VERSION}
    build:
      context: ../
      dockerfile: ./Docker/App.dockerfile
      args:
        WEBAPP_VERSION: ${WEBAPP_VERSION}
        URL_PORT: ${URL_PORT}
    ports:
      - "5000:${URL_PORT}"
    volumes:
      - appbuild:/app
    links:
      - mysql
    environment:
      MYSQL_SERVER_NAME: ${MYSQL_SERVER_NAME}
    env_file:
      - secrets.env
    depends_on:
      - builder
  
  builder:
    container_name: builder
    image: webapp:${BUILDER_VERSION}.${BUILD_CONFIG}
    build:
      context: ../
      dockerfile: ./Docker/Build.dockerfile
      args:
        BUILDER_VERSION: ${BUILDER_VERSION}
        BUILD_CONFIG: ${BUILD_CONFIG}
        BUILD_LOCATION: ${BUILD_LOCATION}
    volumes:
      - appbuild:${BUILD_LOCATION}
   
  mysql:
    container_name: ${MYSQL_SERVER_NAME}
    image: mysql/mysql-server:8.0.23
    restart: always
    volumes:
      - dbvol:/var/lib/mysql
    environment:
      MYSQL_RANDOM_ROOT_PASSWORD: root
    env_file:
      - secrets.env

volumes:
  appbuild:
  dbvol:

Наконец, я запускаю следующую командную строку:

docker build -f Docker/App.dockerfile -t webapp:Debug --build-arg URL_PORT=7909 .

Процесс довольно быстрый.
Я также запускаю эту командную строку:

docker run --name webapp.test -p 5000:7909 -it webapp:Debug

К сожалению, я получаю сообщение об ошибке.

Could not execute because the application was not found or a compatible .NET SDK is not installed.
Possible reasons for this include:
  * You intended to execute a .NET program:
      The application 'WebApplication.dll' does not exist.
  * You intended to execute a .NET SDK command:
      It was not possible to find any installed .NET SDKs.
      Install a .NET SDK from:
        https://aka.ms/dotnet-download

0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии

А вот еще интересные материалы:

  • Яшка сломя голову остановился исправьте ошибки
  • Ятрогенная патология врачебные ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного где ошибка
  • Arcania is already running ошибка