Waze app not working after simple editing - waze

I've used the APK Editor (app) to make a little change in the Waze app and when I run the app it crashes again and again. How can I fix this?
Here is Log Cat:
05-21 21:25:14.501 12765 12765 E AndroidRuntime: java.lang.SecurityException: Signature check failed for com.waze
05-21 21:25:14.506 2518 3410 W ActivityManager: Force finishing activity 1 com.waze/.MainActivity

you need a patch that will bypass signature check

Related

Android KeyStore crashes in Android Instant App

val masterKey =
MasterKey
.Builder(applicationContext)
.setKeyScheme(MasterKey.KeyScheme.AES256_GCM)
.build()
Running this code in an Instant App crashes my app with the following Stack Trace:
2020-12-21 13:07:29.654 28949-28949/com.example.instantappandroidkeystore E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.instantappandroidkeystore, PID: 28949
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.instantappandroidkeystore/com.example.instantappandroidkeystore.MainActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'int android.security.keystore.IKeystoreService.exist(java.lang.String, int)' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3448)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3595)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2147)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:7814)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1068)
Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'int android.security.keystore.IKeystoreService.exist(java.lang.String, int)' on a null object reference
at android.security.KeyStore.contains(KeyStore.java:408)
at android.security.keystore.AndroidKeyStoreSpi.engineContainsAlias(AndroidKeyStoreSpi.java:1038)
at java.security.KeyStore.containsAlias(KeyStore.java:1293)
at androidx.security.crypto.MasterKeys.keyExists(MasterKeys.java:154)
at androidx.security.crypto.MasterKeys.getOrCreate(MasterKeys.java:96)
at androidx.security.crypto.MasterKey$Builder.buildOnM(MasterKey.java:357)
at androidx.security.crypto.MasterKey$Builder.build(MasterKey.java:314)
at com.example.instantappandroidkeystore.MainActivity.onCreate(MainActivity.kt:32)
at android.app.Activity.performCreate(Activity.java:7955)
at android.app.Activity.performCreate(Activity.java:7944)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1307)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3423)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3595) 
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83) 
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) 
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2147) 
at android.os.Handler.dispatchMessage(Handler.java:107) 
at android.os.Looper.loop(Looper.java:237) 
at android.app.ActivityThread.main(ActivityThread.java:7814) 
at java.lang.reflect.Method.invoke(Native Method) 
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1068) 
I have no luck finding this issue in StackOverflow, but I have found it in Google Issue Tracker, but with no response. So I created submitted an issue to Google with more information. https://issuetracker.google.com/issues/176085956
Has anyone encounter this issue and was able to solve it.
My working environment is:
Mac OS 10.15.7
Android Studio 4.0.1
Samsung A70
Android version 10
While this is not documented formally on developer.android forum, looks like AndroidKeyStore access is restricted for instant apps. I came across this link https://www.reddit.com/r/androiddev/comments/7a4tdw/why_no_hardware_backed_keystore_in_instant_apps/
This is quite strange that keystore is restricted and no android documentation explains it. I am not sure on an alternative to accessing KeyStore as we have lot of dependency on keystore for our regular app (non instant) and I can't think of a better option. Looking forward for suggestions !

React Native Android debug build crashes on launch, iOS works fine

I'm trying to launch a fresh react-native init app,
launching with react-native run-android
Build passes, the APK is installed on a device, but it crashes on launch.
The logcat shows:
06-13 10:09:50.467 11106 11106 W System.err: java.lang.ClassNotFoundException: host.exp.exponent.ReactNativeStaticHelpers
06-13 10:09:50.469 11106 11106 W System.err: Caused by: java.lang.ClassNotFoundException: Didn't find class "host.exp.exponent.ReactNativeStaticHelpers" on path: DexPathList[[zip file "/data/app/com.dummy-o3c6RDZQ-kC_ECVFF6RNOQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.dummy-o3c6RDZQ-kC_ECVFF6RNOQ==/lib/x86, /data/app/com.dummy-o3c6RDZQ-kC_ECVFF6RNOQ==/base.apk!/lib/x86, /system/lib, /system/product/lib]]
06-13 10:09:50.470 11106 11106 E unknown:ReactNative: Bundle url format is invalid.
06-13 10:09:50.470 11106 11106 E unknown:ReactNative:
06-13 10:09:50.470 11106 11106 E unknown:ReactNative: java.net.MalformedURLException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
What's particularly interesting is I'm not using Expo on this project, but the error shows couldn't find host.exp.exponent.ReactNativeStaticHelpers, along with Bundle url format is invalid.
When ran on another Mac, it runs completely fine.
I've tried reinstalling react-native-cli, whole Android Studio and tools/SDK's, tried to run on multiple devices (both emulators and physical devices) to no avail.
- Most probably the problem is with the caching of this library as you were previously using expo:
Both of expo and react-native facebook libraries are similar in naming but different in code.
Expo:
https://github.com/expo/expo/blob/sdk-33/android/ReactAndroid/src/main/java/com/facebook/react/modules/network/OkHttpClientProvider.java
React-native:
https://github.com/facebook/react-native/blob/0.60-stable/ReactAndroid/src/main/java/com/facebook/react/modules/network/OkHttpClientProvider.java
Solution:
Remove the Facebook folder from "/home/$user/.m2/repository/com/facebook" then sync the project again to re-download the correct library.

React Native Android - "Could not get BatchedBridge, make sure your bundle is packaged properly"

Running on Android - I can no longer get my app to build. I've tried 15+ ideas on stack overflow with similar batchedbridge errors'.
Results - after packaging:
- Red error screen popups up with "Could not get BatchedBridge, make sure your bundle is packaged properly” (with no other callstack details) and then a second later get a blank white screen.
Results - after the error and then reloading from the app dev tools menu:
- Could not connect to development server
react-native version 0.40.0 npm=5.0.3 node=v7.4.0
The app was working previously for months so i'm guessing connected to a recent change, version problem, cache problem, npm version or reactnative version?
Tried adb reverse tcp:8081 tcp:8081
Tried npm cache clean
Tried on emulator and device - same issue
Tried closing all react packagers
Made sure no other react native apps/packagers running
Android app is building OK in Android Studio (without react native)
Looking in the logcat I seem some red flags but not sure if these problems are new or were previously there:
- Lots of 'ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.???????' etc
- React: The packager does not seem to be running as we got an IOException requesting its status: Connection reset
Here's the logcat snippet and stack trace from the app when it tries to start - if you need more of the logcat let me know (my attempt to add it here didn't work).
iceapp.challengeme ic=null D/FA: Connected to remote service W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.reactnative.androidsdk.FBLoginButtonManager V/FA: Processing queued up service tasks: 2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.reactnative.androidsdk.FBSendButtonManager W/art: Before Android 4.1, method boolean com.facebook.share.widget.ShareButtonBase.canShare() would have incorrectly overridden the package-private method in android.widget.TextView W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.reactnative.androidsdk.FBShareButtonManager
E/unknown:React: Exception in native call from JS
com.facebook.react.devsupport.JSException: Could not get BatchedBridge, make sure your bundle is packaged correctly
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
at android.os.Looper.loop(Looper.java:154)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196)
at java.lang.Thread.run(Thread.java:762)
Caused by: com.facebook.jni.CppException: Could not get BatchedBridge, make sure your bundle is packaged correctly
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method) 
at android.os.Handler.handleCallback(Handler.java:751) 
at android.os.Handler.dispatchMessage(Handler.java:95) 
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31) 
at android.os.Looper.loop(Looper.java:154) 
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196) 
at java.lang.Thread.run(Thread.java:762)  W/unknown:React: Packager connection already open, nooping. W/unknown:React: Inspector connection already open, nooping. E/unknown:React: Exception in native call
java.lang.RuntimeException: Error calling function: RCTDeviceEventEmitter:emit
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
at android.os.Looper.loop(Looper.java:154)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196)
at java.lang.Thread.run(Thread.java:762)
Caused by: java.lang.RuntimeException: Empty Optional cannot be unwrapped
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method) 
at android.os.Handler.handleCallback(Handler.java:751) 
at android.os.Handler.dispatchMessage(Handler.java:95) 
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31) 
at android.os.Looper.loop(Looper.java:154) 
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196) 
at java.lang.Thread.run(Thread.java:762)  E/unknown:React: Exception in native call
java.lang.RuntimeException: Error calling function: AppRegistry:runApplication
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
at android.os.Looper.loop(Looper.java:154)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196)
at java.lang.Thread.run(Thread.java:762)
Caused by: java.lang.RuntimeException: Empty Optional cannot be unwrapped
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method) 
at android.os.Handler.handleCallback(Handler.java:751) 
at android.os.Handler.dispatchMessage(Handler.java:95) 
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31) 
at android.os.Looper.loop(Looper.java:154) 
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196) 
at java.lang.Thread.run(Thread.java:762) 

React-Native: _reactNativeFacebookLogin.FBLoginManager.loginWithPermissions is undefined

Im trying to implement this Facebook-SDK for React-Native.
I followed the steps in the README guide but cannot get it to Work.
Every time i try to log in with Facebook I get the following error message:
EDIT: Im running the a signed APK
EDIT2: The error does only happen with the signed APK - what could that mean?
undefined is not a function (evaluating '_reactNativeFacebookLogin.FBLoginManager.loginWithPermissions')
Unable to symbolicate stack trace: Bundle was not loaded from the packager
FATAL EXCEPTION: mqt_native_modules
Process: com.solopro.dogwood, PID: 5018
com.facebook.react.modules.core.JavascriptException: undefined is not a function (evaluating '_reactNativeFacebookLogin.FBLoginManager.loginWithPermi
ssions'), stack:
facebookLogin#76454:62
touchableHandlePress#52180:39
_performSideEffectsForTransition#21343:26
_receiveSignal#21259:38
touchableHandleResponderRelease#21033:20
invokeGuardedCallback#15044:12
executeDispatch#14877:38
executeDispatchesInOrder#14900:16
executeDispatchesAndRelease#14354:42
executeDispatchesAndReleaseTopLevel#14365:35
forEachAccumulated#15179:12
processEventQueue#14527:19
runEventQueueInBatch#15204:33
handleTopLevel#15215:21
<unknown>#14147:39
perform#16143:16
batchedUpdates#31745:20
batchedUpdates#15373:32
_receiveRootNodeIDEvent#14146:28
receiveTouches#14208:48
__callFunction#7706:28
<unknown>#7613:22
guard#7564:3
callFunctionReturnFlushedQueue#7612:6
at com.facebook.react.modules.core.ExceptionsManagerModule.showOrThrowError(ExceptionsManagerModule.java:90)
at com.facebook.react.modules.core.ExceptionsManagerModule.reportFatalException(ExceptionsManagerModule.java:78)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.facebook.react.bridge.BaseJavaModule$JavaMethod.invoke(BaseJavaModule.java:319)
at com.facebook.react.bridge.NativeModuleRegistry$ModuleDefinition.call(NativeModuleRegistry.java:187)
at com.facebook.react.bridge.NativeModuleRegistry.call(NativeModuleRegistry.java:62)
at com.facebook.react.bridge.CatalystInstanceImpl$NativeModulesReactCallback.call(CatalystInstanceImpl.java:432)
at com.facebook.react.bridge.queue.NativeRunnableDeprecated.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
at android.os.Looper.loop(Looper.java:135)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:193)
at java.lang.Thread.run(Thread.java:818)
Maybe this is even a known issue.
UPDATE:
The error is pointing out the function "loginWithPermissions" which is not even available in the android package of react-native-fbsdk but only in the iOS package.
I have no idea why this function is being used.
I am using LoginManager.logInWithReadPermissions(['public_profile', 'email']).then(...) for the FB-Login
Most likely the questioner had overcome this issue.
Sometimes, if some Facebook libraries (like fbjs/lib/invariant) are used in development process, the related lines must be marked as comment line before building the release apk.

Blank Map in android studio app, app released two months ago and now stop work

I released an app two months ago with Gmaps service and it worked properly but from some days the app stopped doing its job! Now the map appears totally blank and I don't know what do... I tried to recompile and control api key but everything is ok! So when I compile now an error appears:
05-23 15:43:00.389 13762-13762/vs.realitycompany W/System: ClassLoader referenced unknown path: /data/app/vs.realitycompany-1/lib/arm
05-23 15:43:00.548 13762-13762/vs.realitycompany I/GMPM: App measurement is starting up, version: 8487
05-23 15:43:00.548 13762-13762/vs.realitycompany I/GMPM: To enable debug logging run: adb shell setprop log.tag.GMPM VERBOSE
05-23 15:43:00.560 13762-13762/vs.realitycompany E/GMPM: GoogleService failed to initialize, status: 10, Missing an expected resource: 'R.string.google_app_id' for initializing Google services. Possible causes are missing google-services.json or com.google.gms.google-services gradle plugin.
05-23 15:43:00.560 13762-13762/vs.realitycompany E/GMPM: Scheduler not set. Not logging error/warn.
05-23 15:43:00.617 13762-14730/vs.realitycompany E/GMPM: Uploading is not possible. App measurement disabled
05-23 15:43:00.938 13762-14738/vs.realitycompany D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
05-23 15:43:00.981 13762-14738/vs.realitycompany I/Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: EGL 1.4 QUALCOMM build: Nondeterministic_AU_msm8974_LA.BF.1.1.3_RB1__release_AU (Ia6c73e7530)
OpenGL ES Shader Compiler Version: E031.29.00.00
Build Date: 12/04/15 Fri
Local Branch: mybranch17080070
Remote Branch: quic/LA.BF.1.1.3_rb1.5
Local Patches: NONE
Reconstruct Branch: NOTHING
05-23 15:43:00.982 13762-14738/vs.realitycompany I/OpenGLRenderer: Initialized EGL, version 1.4
05-23 15:43:03.759 13762-13762/vs.realitycompany I/zzad: Making Creator dynamically
05-23 15:43:03.793 13762-13762/vs.realitycompany D/ChimeraCfgMgr: Reading stored module config
05-23 15:43:03.817 13762-13762/vs.realitycompany W/System: ClassLoader referenced unknown path: /data/user/0/com.google.android.gms/app_chimera/m/00000001/n/armeabi-v7a
05-23 15:43:03.817 13762-13762/vs.realitycompany W/System: ClassLoader referenced unknown path: /data/user/0/com.google.android.gms/app_chimera/m/00000001/n/armeabi
05-23 15:43:03.818 13762-13762/vs.realitycompany D/ChimeraFileApk: Primary ABI of requesting process is armeabi-v7a
05-23 15:43:03.819 13762-13762/vs.realitycompany D/ChimeraFileApk: Classloading successful. Optimized code found.
05-23 15:43:03.853 13762-13762/vs.realitycompany I/Google Maps Android API: Google Play services client version: 8487000
05-23 15:43:03.859 13762-13762/vs.realitycompany I/Google Maps Android API: Google Play services package version: 9083438
05-23 15:43:04.202 13762-13762/vs.realitycompany I/Choreographer: Skipped 32 frames! The application may be doing too much work on its main thread.
05-23 15:43:04.222 13762-14843/vs.realitycompany I/b: Sending API token request.
05-23 15:43:04.484 13762-14843/vs.realitycompany E/b: Authentication failed on the server.
05-23 15:43:04.484 13762-14843/vs.realitycompany E/Google Maps Android API: Authorization failure. Please see https://developers.google.com/maps/documentation/android-api/start for how to correctly set up the map.
05-23 15:43:04.485 13762-14843/vs.realitycompany E/Google Maps Android API: In the Google Developer Console (https://console.developers.google.com)
Ensure that the "Google Maps Android API v2" is enabled.
Ensure that the following Android Key exists:
API Key: AIzaSyCPsPVsNjqAizEyBzu1w8_6EGlZHKfSAbQ
Android Application (<cert_fingerprint>;<package_name>): 38:10:51:0C:63:CA:8E:34:84:EE:E5:9B:4F:72:AF:61:8A:5A:E3:15;vs.realitycompany
05-23 15:43:06.176 13762-14839/vs.realitycompany V/GoogleSignatureVerifier: com.google.android.gms signature not valid. Found:
MIIEQzCCAyugAwIBAgIJAMLgh0ZkSjCNMA0GCSqGSIb3DQEBBAUAMHQxCzAJBgNVBAYTAlVTMRMw
EQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtHb29n
bGUgSW5jLjEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9pZDAeFw0wODA4MjEyMzEz
MzRaFw0zNjAxMDcyMzEzMzRaMHQxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYw
FAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtHb29nbGUgSW5jLjEQMA4GA1UECxMHQW5k
cm9pZDEQMA4GA1UEAxMHQW5kcm9pZDCCASAwDQYJKoZIhvcNAQEBBQADggENADCCAQgCggEBAKtW
LgDYO6IIrgqWbxJOKdoR8qtW0I9Y4sypEwPpt1TTcvZApxsdyxMJZ2JORland2qSGT2y5b+3JKke
dxiLDmpHpDsz2WCbdxgxRczfey5YZnTJ4VZbH0xqWVW/8lGmPav5xVwnIiJS6HXk+BVKZF+JcWjA
sb/GEuq/eFdpuzSqeYTcfi6idkyugwfYwXFU1+5fZKUaRKYCwkkFQVfcAs1fXA5V+++FGfvjJ/Cx
URaSxaBvGdGDhfXE28LWuT9ozCl5xw4Yq5OGazvV24mZVSoOO0yZ31j7kYvtwYK6NeADwbSxDdJE
qO4k//0zOHKrUiGYXtqw/A0LFFtqoZKFjnkCAQOjgdkwgdYwHQYDVR0OBBYEFMd9jMIhF1Ylmn/T
gt9r45jk14alMIGmBgNVHSMEgZ4wgZuAFMd9jMIhF1Ylmn/Tgt9r45jk14aloXikdjB0MQswCQYD
VQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIG
A1UEChMLR29vZ2xlIEluYy4xEDAOBgNVBAsTB0FuZHJvaWQxEDAOBgNVBAMTB0FuZHJvaWSCCQDC
4IdGZEowjTAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBAUAA4IBAQBt0lLO74UwLDYKqs6Tm8/y
zKkEu116FmH4rkaymUIE0P9KaMftGlMexFlaYjzmB2OxZyl6euNXEsQH8gjwyxCUKRJNexBiGcCE
yj6z+a1fuHHvkiaai+KL8W1EyNmgjmyy8AW7P+LLlkR+ho5zEHatRbM/YAnqGcFh5iZBqpknHf1S
KMXFh4dd239FJ1jWYfbMDMy3NS5CTMQ2XFI1MvcyUTdZPErjQfTbQe3aDQsQcafEQPD+nqActifK
Z0Np0IS9L9kR/wbNvyz6ENwPiTrjV2KRkEjH78ZMcUQXg0L3BYHJ3lc69Vs5Ddf9uUGGMYldX3Wf
MBEmh/9iFBDAaTCK
05-23 15:43:06.195 13762-14839/vs.realitycompany E/DynamiteModule: Failed to load module descriptor class: Didn't find class "com.google.android.gms.dynamite.descriptors.com.google.android.gms.googlecertificates.ModuleDescriptor" on path: DexPathList[[zip file "/data/app/vs.realitycompany-1/base.apk"],nativeLibraryDirectories=[/data/app/vs.realitycompany-1/lib/arm, /vendor/lib, /system/lib]]
05-23 15:43:06.201 13762-14839/vs.realitycompany I/DynamiteModule: Considering local module com.google.android.gms.googlecertificates:0 and remote module com.google.android.gms.googlecertificates:1
05-23 15:43:06.201 13762-14839/vs.realitycompany I/DynamiteModule: Selected remote version of com.google.android.gms.googlecertificates, version >= 1
05-23 15:43:06.212 13762-14839/vs.realitycompany W/System: ClassLoader referenced unknown path: /data/user/0/com.google.android.gms/app_chimera/m/00000000/n/armeabi
05-23 15:43:06.213 13762-14839/vs.realitycompany D/ChimeraFileApk: Primary ABI of requesting process is armeabi-v7a
05-23 15:43:06.215 13762-14839/vs.realitycompany D/ChimeraFileApk: Classloading successful. Optimized code found.
05-23 15:43:06.219 13762-14839/vs.realitycompany D/GoogleCertificates: com.google.android.gms.googlecertificates module is loaded
05-23 15:43:06.298 13762-14839/vs.realitycompany D/GoogleCertificatesImpl: Fetched 154 Google release certificates
05-23 15:43:06.304 13762-14839/vs.realitycompany V/GoogleSignatureVerifier: vs.realitycompany signature not valid. Found:
MIIB3TCCAUYCAQEwDQYJKoZIhvcNAQEFBQAwNzEWMBQGA1UEAwwNQW5kcm9pZCBEZWJ1ZzEQMA4G
A1UECgwHQW5kcm9pZDELMAkGA1UEBhMCVVMwHhcNMTYwNTIyMjAyNzM5WhcNNDYwNTE1MjAyNzM5
WjA3MRYwFAYDVQQDDA1BbmRyb2lkIERlYnVnMRAwDgYDVQQKDAdBbmRyb2lkMQswCQYDVQQGEwJV
UzCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAj+2RpluWlva2H85SRcYtZX7E4dQY/GSAgdEs
OaaZLP8yzPo0OOaGUdNz+ZI1uY7CaAX9i+EsOsUZXA0St9w7u7jUpAnt3DSBOLCjH+m/fc3QErBr
c3aDBQ7e34fzMr22d7grgIfe4Lje33qASiuAOYcs25wF8fK19qsFFrkkW/kCAwEAATANBgkqhkiG
9w0BAQUFAAOBgQAYPncLTg3aEIZVs94qrk+QiuugbBWrHcHDf68/fZvCZW0JIeYnCRo4KOHjSWzR
Ppv8DduDZUZs6rIK4Bo+MLts/G+5DqlV60tDAd8vUO0YEWKtTeiY4oIY5QE1TnVDPILBcy2OCBCP
6I7lG7DiJC3s+xuGx07HxV57j2TGtxlQ7w==
05-23 15:43:06.304 13762-14839/vs.realitycompany D/GoogleCertificatesImpl: Fetched 300 Google certificates
05-23 15:43:06.313 13762-14839/vs.realitycompany V/GoogleSignatureVerifier: vs.realitycompany signature not valid. Found:
MIIB3TCCAUYCAQEwDQYJKoZIhvcNAQEFBQAwNzEWMBQGA1UEAwwNQW5kcm9pZCBEZWJ1ZzEQMA4G
A1UECgwHQW5kcm9pZDELMAkGA1UEBhMCVVMwHhcNMTYwNTIyMjAyNzM5WhcNNDYwNTE1MjAyNzM5
WjA3MRYwFAYDVQQDDA1BbmRyb2lkIERlYnVnMRAwDgYDVQQKDAdBbmRyb2lkMQswCQYDVQQGEwJV
UzCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAj+2RpluWlva2H85SRcYtZX7E4dQY/GSAgdEs
OaaZLP8yzPo0OOaGUdNz+ZI1uY7CaAX9i+EsOsUZXA0St9w7u7jUpAnt3DSBOLCjH+m/fc3QErBr
c3aDBQ7e34fzMr22d7grgIfe4Lje33qASiuAOYcs25wF8fK19qsFFrkkW/kCAwEAATANBgkqhkiG
9w0BAQUFAAOBgQAYPncLTg3aEIZVs94qrk+QiuugbBWrHcHDf68/fZvCZW0JIeYnCRo4KOHjSWzR
Ppv8DduDZUZs6rIK4Bo+MLts/G+5DqlV60tDAd8vUO0YEWKtTeiY4oIY5QE1TnVDPILBcy2OCBCP
6I7lG7DiJC3s+xuGx07HxV57j2TGtxlQ7w==
What I can do?
Only last thing, I've noticed that there isn't a google_maps_api.xml for release (there is only for debug). Could the issue be arising from missing google_maps_api.xml? What can be the solution for this?
I read through your error logs and found some issue like:
The application may be doing too much work on its main thread - what this means is that your code is taking long to process.
Fixing this requires identifying nodes where there is or possible can happen long duration of process. The best way is to do all the processing no matter how small or big in a thread separate from main UI thread.
Sending API token request Authentication failed on the server
Don't forgot to enable the map services in google console. Try uninstalling and reinstalling the application. Apparently if you make one mistake on the configuration the system caches the failed authentication and your maps won't work even after fixing your configuration.
Try following the docs and guides on configuring Google Maps API on Android but every time you change something on your configuration uninstall and reinstall. Ensure that the "Google Maps Android API" is enabled and ensure that the following Android Key exist.
05-23 15:43:03.853 13762-13762/vs.realitycompany I/Google Maps Android API: Google Play services client version: 8487000
05-23 15:43:03.859 13762-13762/vs.realitycompany I/Google Maps Android API: Google Play services package version: 9083438
These two lines indicate the current Google Play Service on the device is older than what you used, so it won't show any map.
check your developer console, and see if the api token is at the right place and nothing changed !