简体   繁体   English

LibGDX项目无法在我的Android设备上运行

[英]LibGDX project doesn't run on my android device

So i just created a libGDX project,imported it in intellij and wanted to run it on my android device then i encountered this error : 所以我刚刚创建了一个libGDX项目,将其导入intellij并想在我的android设备上运行它,然后遇到此错误:

Cause: class "org.bouncycastle.jcajce.provider.symmetric.IDEA$Mappings"'s signer information does not match signer information of other classes in the same package 原因:类“ org.bouncycastle.jcajce.provider.symmetric.IDEA $ Mappings”的签名者信息与同一包中其他类的签名者信息不匹配

Please can anybody tell me how to fix this?Thank you 有人可以告诉我如何解决吗?谢谢

Well i found how to solve it...It was the keystore that wasn't good, and it looks like the keystore was not creating when i was running my application .I tried to create one with the key tool but failed because it told me the key was tempered. 好吧,我找到了解决方法...这是不好的密钥库,运行我的应用程序时似乎密钥库没有创建。我试图用密钥工具创建一个密钥库,但是失败了,因为它告诉我的钥匙被磨平了。 THE FIX WAS TO CREATE A APPLICATION IN ANDROID STUDIO AND RUN IT ON MY PHONE THEN THE KEYSTORE WOULD BE CREATED AND MY APPS WILL WORK AFTER... 该修复程序可以在Android平板电脑上创建一个应用程序并在我的手机上运行,​​然后将创建键盘存储,然后我的应用程序将在...

@Gagiu Filip. @Gagiu Filip。

Instead of it, just run the following line in the terminal. 取而代之的是,只需在终端中运行以下行。

keytool -genkey -v -keystore ~/.android/debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000

It will create a debug.keystore)) 它将创建一个debug.keystore))

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM