LibGDX project doesn't run on my android device

Viewed 2705

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 :

Cause: class "org.bouncycastle.jcajce.provider.symmetric.IDEA$Mappings"'s signer information does not match signer information of other classes in the same package

Please can anybody tell me how to fix this?Thank you

2 Answers

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...

@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))

Related