Hello,
I'm encountering an error in android when using MVisaQRParser-1.6.0.jar and one of the
class throws security exception and it only occurs in android 14, when parsing QR code data as JSON.
Any help is appreciated.
Solved! Go to Solution
Error Logs:
Fatal Exception: java.lang.SecurityException: Writable dex file '/data/user/0/com.aeoncredit.android.aeonpay_consumer/cache/. ' is not allowed.
at dalvik.system.DexFile.openDexFileNative(DexFile.java)
at dalvik.system.DexFile.openDexFile(DexFile.java:406)
at dalvik.system.DexFile.<init>(DexFile.java:171)
at dalvik.system.DexFile.loadDex(DexFile.java:231)
at dalvik.system.DexFile.loadDex(DexFile.java:198)
at com.visa.mvisa.tlvparser.a.If.<clinit>(:10925)
at com.visa.mvisa.tlvparser.QrCodeParser.parseQrData(:25)
at com.visa.mvisa.tlvparser.QrCodeParser.parseQrDataAsJson(:47)
at kh.com.aeon.android.aeonpay.fragment.ScanQRFragment.handleResult(ScanQRFragment.java:109)
at me.dm7.barcodescanner.zxing.ZXingScannerView$1.run(ZXingScannerView.java:164)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:222)
at android.os.Looper.loop(Looper.java:314)
at android.app.ActivityThread.main(ActivityThread.java:8680)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:565)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)