Does this reproduce on a debug build or release build? debug
Does this reproduce on a simulator, or only on a physical device? Physical: Pixel 2
Logcat Stack Trace form Android Studio
2020-08-31 17:39:27.131 27051-27112/com.thecompany.theproject.android E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #6Process: com.thecompany.theproject.android, PID: 27051java.lang.RuntimeException: An error occurred while executing doInBackground()at android.os.AsyncTask$4.done(AsyncTask.java:399)at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)at java.util.concurrent.FutureTask.setException(FutureTask.java:252)at java.util.concurrent.FutureTask.run(FutureTask.java:271)at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289)at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)at java.lang.Thread.run(Thread.java:919)Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/nimbusds/jose/util/Base64;at com.nimbusds.jwt.SignedJWT.parse(SignedJWT.java:110)at com.microsoft.cordova.CodePush.verifyAndDecodeJWT(CodePush.java:174)at com.microsoft.cordova.CodePush.access$100(CodePush.java:39)at com.microsoft.cordova.CodePush$1.doInBackground(CodePush.java:133)at com.microsoft.cordova.CodePush$1.doInBackground(CodePush.java:115)at android.os.AsyncTask$3.call(AsyncTask.java:378)at java.util.concurrent.FutureTask.run(FutureTask.java:266)at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
Caused by: java.lang.ClassNotFoundException: com.nimbusds.jose.util.Base64at java.lang.VMClassLoader.findLoadedClass(Native Method)at java.lang.ClassLoader.findLoadedClass(ClassLoader.java:738)at java.lang.ClassLoader.loadClass(ClassLoader.java:363)at java.lang.ClassLoader.loadClass(ClassLoader.java:312)at com.nimbusds.jwt.SignedJWT.parse(SignedJWT.java:110)
at com.microsoft.cordova.CodePush.verifyAndDecodeJWT(CodePush.java:174)
at com.microsoft.cordova.CodePush.access$100(CodePush.java:39)
at com.microsoft.cordova.CodePush$1.doInBackground(CodePush.java:133)
at com.microsoft.cordova.CodePush$1.doInBackground(CodePush.java:115)
at android.os.AsyncTask$3.call(AsyncTask.java:378)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lnet/minidev/json/JSONAware;at com.nimbusds.jwt.SignedJWT.parse(SignedJWT.java:110)
at com.microsoft.cordova.CodePush.verifyAndDecodeJWT(CodePush.java:174)
at com.microsoft.cordova.CodePush.access$100(CodePush.java:39)
at com.microsoft.cordova.CodePush$1.doInBackground(CodePush.java:133)
at com.microsoft.cordova.CodePush$1.doInBackground(CodePush.java:115)
at android.os.AsyncTask$3.call(AsyncTask.java:378)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
Caused by: java.lang.ClassNotFoundException: Didn't find class "net.minidev.json.JSONAware" on path: DexPathList[[zip file "/data/app/com.thecompany.theproject.android-16QuIFfjNmZKfGyx5CbWrA==/base.apk"],nativeLibraryDirectories=[/data/app/com.thecompany.theproject.android-16QuIFfjNmZKfGyx5CbWrA==/lib/arm64, /system/lib64, /system/product/lib64]]at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:196)at java.lang.ClassLoader.loadClass(ClassLoader.java:379)at java.lang.ClassLoader.loadClass(ClassLoader.java:312)at com.nimbusds.jwt.SignedJWT.parse(SignedJWT.java:110)
at com.microsoft.cordova.CodePush.verifyAndDecodeJWT(CodePush.java:174)
at com.microsoft.cordova.CodePush.access$100(CodePush.java:39)
at com.microsoft.cordova.CodePush$1.doInBackground(CodePush.java:133)
at com.microsoft.cordova.CodePush$1.doInBackground(CodePush.java:115)
at android.os.AsyncTask$3.call(AsyncTask.java:378)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
Description
On android, codepush fetches and downloads the newest code from appcenter but crashes when unpacking the code to the device
Reproduction
N/A
Additional Information
Logcat Stack Trace form Android Studio