1
我的應用程序在Samsung Galaxy S4上運行完美,但是當我嘗試在Motorola Nexus 6上運行時,我得到運行時異常。無法在Nexus 6上運行應用程序
我最近改變了構建變種:介紹:devDebug,數據:調試
gradleVersion '2.14.1'
12-01 20:52:37.357 1808-1808/? E/ctxmgr: [PlaceFenceHelper]NearbyBuffer is null!
12-01 20:52:37.770 846-6904/? E/ActivityManager: applyOptionsLocked: Unknown animationType=0
12-01 20:26:07.847 21100-21107/? E/art: Failed sending reply to debugger: Broken pipe
12-01 20:26:08.694 21100-21100/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.dev.debug, PID: 21100
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/spongycastle/jce/provider/BouncyCastleProvider;
at com.q42.qlassified.Provider.QlassifiedCrypto.encrypt(QlassifiedCrypto.java:31)
at com.q42.qlassified.Provider.QlassifiedKeyStore.encrypt(QlassifiedKeyStore.java:177)
at com.q42.qlassified.Provider.QlassifiedKeyStore.encryptEntry(QlassifiedKeyStore.java:119)
at com.q42.qlassified.QlassifiedFactory.put(QlassifiedFactory.java:70)
at com.q42.qlassified.Qlassified.put(Qlassified.java:120)
at com..presenter.utils.QlassifiedHelper.generateEncryptionKey(QlassifiedHelper.java:38)
at com.presenter.BaseApplication.initMainRealmConfiguration(BaseApplication.java:32)
at com.presenter.AndroidApplication.onCreate(AndroidApplication.java:24)
您的應用程序的'com.presenter.AndroidApplication'包名是什麼?你有包括'spongycastle'依賴嗎?你在使用'Bouncy Castle'嗎? –
您是否在您的Gradle構建中包含了BouncyCastle? – t0mm13b
我不想提出完整的應用程序名稱,因爲版權,我會檢查出來,但我認爲問題是關於構建變體@VaradChemburkar – adnx