简体   繁体   English

CodenameOne AAP中的运行时错误

[英]Runtime error in codenameone aap

when I run the app on my Samsung Galaxy S duos (didn't test on other devices), it's giving me error/exception 当我在Samsung Galaxy S duos上运行该应用程序(未在其他设备上进行测试)时,它给我错误/异常

java.lang.NoclassDefFoundError:org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher java.lang.NoclassDefFoundError:org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher

but its running fine on emulator. 但它在模拟器上运行良好。

I have added bouncy castle jar in my libraries. 我在图书馆中添加了充气城堡罐。

Remove the BouncyCastle.jar you downloaded from their website and click this link to download the CN1Lib version supported by Codename one. 删除从其网站下载的BouncyCastle.jar,然后单击此链接以下载代号为one的CN1Lib版本。

Place the file in the lib folder of your project and do refresh libs on your project. 将文件放在项目的lib文件夹中,并refresh libs项目上的lib

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

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