pwlin / cordova-plugin-file-opener2

A File Opener Plugin for Cordova
MIT License
318 stars 588 forks source link

Error when try to open a file #220

Closed ferdelcorro closed 6 years ago

ferdelcorro commented 6 years ago

I'm using

Ionic v1.7.16 Cordova 8.0.0 cordova-plugin-file-opener2 2.0.19

var fileDirectory = function() {
    if (typeof(cordova) != "undefined") {
        if (ionic.Platform.isIOS() || ionic.Platform.isIPad()) {
            return cordova.file.documentsDirectory + "XXX/";
        } else {
            return cordova.file.dataDirectory + "XXX/";
        }
    } else {
        return "";
    }
};

$scope.openFile = function(attachment) {
    analyticsService.initEvent("action", "opened a file");
    if (ionic.Platform.isAndroid() && attachment.type == "application/octet-stream") {
        openFormatedFile(attachment);
    } else {
        var url = attachment.mywallpaper;
        $cordovaInAppBrowser.open(url, '_blank');
    }
};

openFormatedFile = function(attachment) {
    $timeout(function() {
        var attachmentType = attachment.type;
        var auxArray = attachment.filename.split(".");
        var extension = attachment.filename.split(".")[auxArray.length - 1];
        if (extension.toLowerCase() == "pdf")
            attachmentType = "application/pdf";
        else if (extension.toLowerCase() == "xlsx")
            attachmentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
        else if ("xls xlm xla xlc xlt xlw".indexOf(extension) > -1)
            attachmentType = "application/vnd.ms-excel";
        $cordovaFileOpener2.open(
            fileDirectory() + attachment.filename, // Any system location, you CAN'T use your appliaction assets folder
            attachmentType
        ).then(function() {
            console.log('Success');
        }, function(error) {
            console.log(error);
        });
    }, 500);
};

filepath = "file:///data/data/com.xxx/files/XXX/233783465_dd3cc43c-4e48-48e7-978e-dc1cbddc202b.pdf" mime = "application/pdf" error = "Class not found" and i have the same error when I try to open a .xlsx for example.

godoyrw commented 6 years ago

Try this man, check these preferences in your config!

<platform name="ios">
    <preference name="iosPersistentFileLocation" value="Library" />
</platform>
<platform name="android">
        <preference name="AndroidPersistentFileLocation" value="Internal" />
</platform>
ferdelcorro commented 6 years ago

@godoyrw this doesn't work :(

godoyrw commented 6 years ago

Try this... put this inside AndroidManifest.xml inside its tag. On building again, and run.

<provider android:name="io.github.pwlin.cordova.plugins.fileopener2.FileProvider" android:authorities="${applicationId}.opener.provider" android:exported="false" android:grantUriPermissions="true">
        <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/opener_paths" />
      </provider>

If it not works, post the error log here!

ferdelcorro commented 6 years ago

I'm using Ionic, so every time I build the application, AndroidManifest.xml is overwritten. I don't have time today but I'll try to upload you some logs. Thanks

ferdelcorro commented 6 years ago

Hi again, sorry @godoyrw I'm late. This is a logcat from my app when I try to open a pdf file

PDF 1

08-08 13:01:55.997 25367 25367 D SystemWebChromeClient: file:///android_asset/www/lib/raven-js/dist/raven.js: Line 80 : 111 08-08 13:01:55.997 25367 25367 I chromium: [INFO:CONSOLE(80)] "111", source: file:///android_asset/www/lib/raven-js/dist/raven.js (80) 08-08 13:01:55.998 25367 26100 D PluginManager: exec() call to unknown plugin: FileOpener2 08-08 13:01:55.998 25367 25367 D SystemWebChromeClient: file:///android_asset/www/lib/raven-js/dist/raven.js: Line 80 : file:///data/user/0/com.xxxx/files/xxxx/233783465_dd3cc43c-4e48-48e7-978e-dc1cbddc202b.pdf 08-08 13:01:56.000 25367 25367 I chromium: [INFO:CONSOLE(80)] "file:///data/user/0/com.xxxx/files/xxxx/233783465_dd3cc43c-4e48-48e7-978e-dc1cbddc202b.pdf", source: file:///android_asset/www/lib/raven-js/dist/raven.js (80) 08-08 13:01:56.035 25367 25367 D SystemWebChromeClient: file:///android_asset/www/lib/raven-js/dist/raven.js: Line 80 : Class not found 08-08 13:01:56.036 25367 25367 I chromium: [INFO:CONSOLE(80)] "Class not found", source: file:///android_asset/www/lib/raven-js/dist/raven.js (80) 08-08 13:01:56.800 365 365 I SFPerfTracer: triggers: (rate: 2431:174582) (compose: 110:3825) (post: 1:8516) (render: 41:10720) (15:1315923 frames) (16:1425619) 08-08 13:01:56.800 365 365 D SFPerfTracer: layers: (3:7) (StatusBar (0xabd18400): 0:396371) (com.android.systemui.ImageWallpaper (0xabd34000): 0:284251) (animation background stackId=1 (0xabd35400): 0:965) (Sprite (0xabd1ac00): 0:3117) (DimLayerController/Stack=0 (0xabd57400): 0:2626) (NavigationBar (0xabd19800): 0:352) (com.xxxx/com.xxxx.MainActivity (0xabd56000): 16:1464) 08-08 13:01:57.783 3320 3320 D HeadsetPhoneState: Enter onSignalStrengthsChanged 08-08 13:01:57.783 3320 3320 D HeadsetPhoneState: Exit onSignalStrengthsChanged

PDF 2 08-08 13:02:18.038 25367 25367 D SystemWebChromeClient: file:///android_asset/www/lib/raven-js/dist/raven.js: Line 80 : 111 08-08 13:02:18.038 25367 25367 I chromium: [INFO:CONSOLE(80)] "111", source: file:///android_asset/www/lib/raven-js/dist/raven.js (80) 08-08 13:02:18.043 25367 25367 D SystemWebChromeClient: file:///android_asset/www/lib/raven-js/dist/raven.js: Line 80 : file:///data/user/0/com.xxxx/files/xxxx/233783465_4f217faf-fa76-495c-84f3-ac93eeebc2b7.pdf 08-08 13:02:18.043 25367 25367 I chromium: [INFO:CONSOLE(80)] "file:///data/user/0/com.xxxx/files/xxxx/233783465_4f217faf-fa76-495c-84f3-ac93eeebc2b7.pdf", source: file:///android_asset/www/lib/raven-js/dist/raven.js (80) 08-08 13:02:18.044 25367 26100 D PluginManager: exec() call to unknown plugin: FileOpener2 08-08 13:02:18.082 25367 25367 D SystemWebChromeClient: file:///android_asset/www/lib/raven-js/dist/raven.js: Line 80 : Class not found 08-08 13:02:18.083 25367 25367 I chromium: [INFO:CONSOLE(80)] "Class not found", source: file:///android_asset/www/lib/raven-js/dist/raven.js (80) 08-08 13:02:19.068 365 365 I SFPerfTracer: triggers: (rate: 2431:174586) (compose: 110:3825) (post: 1:8516) (render: 41:10720) (14:1316017 frames) (15:1425732) 08-08 13:02:19.069 365 365 D SFPerfTracer: layers: (3:7) (StatusBar (0xabd18400): 0:396381) (com.android.systemui.ImageWallpaper (0xabd34000): 0:284251) (animation background stackId=1 (0xabd35400): 0:965) (Sprite (0xabd1ac00): 0:3117) (DimLayerController/Stack=0 (0xabd57400): 0:2626) (NavigationBar (0xabd19800): 0:352) (com.xxxx/com.xxxx.MainActivity (0xabd56000): 15:1567)

ferdelcorro commented 6 years ago

Hi @godoyrw i read the logs and saw that 08-08 13:02:18.044 25367 26100 D PluginManager: exec() call to unknown plugin: FileOpener2 then I check my config.xml and I could't see the plugin, after that I tried to install the plugin again and I received and error.

Looking in the tickets I found these tickets https://github.com/pwlin/cordova-plugin-file-opener2/issues/193, https://github.com/pwlin/cordova-plugin-file-opener2/issues/202, https://github.com/pwlin/cordova-plugin-file-opener2/issues/199 and https://github.com/ionic-team/ionic-cli/issues/1256 but now, when I build a new apk and try to open it in my phone the app crash and show me the error "XXXX was stop, close app".

This is the new logcat

08-10 15:33:17.762  2102  8825 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.xxxxxxx/.MainActivity (has extras)} from uid 10053 on display 0
08-10 15:33:17.764   377   457 I ThermalEngine: Thermal-Server: Thermal received msg from  override
08-10 15:33:17.764   377   457 E ThermalEngine: override_notify: SS mode 1 override
08-10 15:33:17.764  3308 10911 I Thermal-Lib: Thermal-Lib-Client: Client request sent
08-10 15:33:17.779  2731  9527 D ProcSpeedReader: Failed to read freq stats from null
08-10 15:33:17.793  2102  2161 W BroadcastQueue: Permission Denial: receiving Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 pkg=com.google.android.googlequicksearchbox (has extras) } to com.google.android.googlequicksearchbox/com.google.android.apps.gsa.reflection.ReflectionReceiver requires com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS due to sender com.google.android.googlequicksearchbox (uid 10053)
08-10 15:33:17.797  2102  2161 W BroadcastQueue: Permission Denial: receiving Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 pkg=com.google.android.gms (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$GmsExternalReceiver requires com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS due to sender com.google.android.googlequicksearchbox (uid 10053)
08-10 15:33:17.822  2731  9527 D ProcSpeedReader: Failed to read freq stats from null
08-10 15:33:17.870 10739 10739 I CordovaLog: Changing log level to DEBUG(3)
08-10 15:33:17.870 10739 10739 I CordovaActivity: Apache Cordova native platform version 7.1.1 is starting
08-10 15:33:17.870 10739 10739 D CordovaActivity: CordovaActivity.onCreate()
08-10 15:33:17.899 10739 10739 D ApplicationLoaders: ignored Vulkan layer search path /data/app/com.android.chrome-2/lib/arm:/data/app/com.android.chrome-2/base.apk!/lib/armeabi-v7a for namespace 0xb2404090
08-10 15:33:17.908 10739 10739 I WebViewFactory: Loading com.android.chrome version 68.0.3440.91 (code 344009102)
08-10 15:33:17.915  6425  6425 I MicroDetector: Keeping mic open: false
08-10 15:33:17.916  6425  7736 I DeviceStateChecker: DeviceStateChecker cancelled
08-10 15:33:17.916  6425  7544 I AudioController: internalShutdown
08-10 15:33:17.917  6425 20085 I MicroRecognitionRunner: Stopping hotword detection.
08-10 15:33:17.917   394 10155 D audio_hw_primary: in_standby: enter: stream (0xad8b5e00) usecase(7: audio-record)
08-10 15:33:17.956   394 10155 D hardware_info: hw_info_append_hw_type : device_name = voice-rec-mic
08-10 15:33:17.964   394   394 D APM_AudioPolicyManager: stopInput() input 8006
08-10 15:33:17.965   394 10155 D audio_hw_primary: in_set_parameters: enter: kvpairs=routing=0
08-10 15:33:17.974  6425  7544 I MicrophoneInputStream: mic_close  SR : 16000 CC : 16 SO : 1999
08-10 15:33:17.975  6425  3148 I MicroRecognitionRunner: Detection finished
08-10 15:33:17.976   394   768 D audio_hw_primary: adev_close_input_stream: enter:stream_handle(0xad8b5e00)
08-10 15:33:17.977   394   768 D audio_hw_primary: in_standby: enter: stream (0xad8b5e00) usecase(7: audio-record)
08-10 15:33:18.045 10739 10739 I cr_LibraryLoader: Time to load native libraries: 7 ms (timestamps 9210-9217)
08-10 15:33:18.068 10739 10922 W System  : ClassLoader referenced unknown path: 
08-10 15:33:18.071 10739 10922 D ApplicationLoaders: ignored Vulkan layer search path /data/app/com.android.chrome-2/lib/arm:/data/app/com.android.chrome-2/base.apk!/lib/armeabi-v7a for namespace 0xb24040d0
08-10 15:33:18.079 10739 10739 I chromium: [INFO:library_loader_hooks.cc(36)] Chromium logging enabled: level = 0, default verbosity = 0
08-10 15:33:18.080 10739 10739 I cr_LibraryLoader: Expected native library version number "68.0.3440.91", actual native library version number "68.0.3440.91"
08-10 15:33:18.095  2102  3329 I ActivityManager: Start proc 10923:com.android.chrome:webview_service/u0a64 for service com.android.chrome/org.chromium.android_webview.services.VariationsSeedServer
08-10 15:33:18.119 10739 10739 I cr_BrowserStartup: Initializing chromium process, singleProcess=true
08-10 15:33:18.127 10739 10739 I cr_base : Android Locale: es_US requires .pak files: [es, es-419]
08-10 15:33:18.132 10739 10739 W ResourceType: Failure getting entry for 0x7f1204a3 (t=17 e=1187) (error -2147483647)
08-10 15:33:18.175 10739 10739 I chromium: [INFO:aw_field_trial_creator.cc(52)] First-WebView-Experiment found, group=Control
08-10 15:33:18.216 10739 10739 I art     : Rejecting re-init on previously-failed class java.lang.Class<ul>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/SafeBrowsingResponse;
08-10 15:33:18.216 10739 10739 I art     :   at xf com.android.webview.chromium.WebViewChromiumFactoryProvider.a(android.webkit.WebView, android.content.Context) (SourceFile:209)
08-10 15:33:18.216 10739 10739 I art     :   at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (SourceFile:63)
08-10 15:33:18.216 10739 10739 I art     :   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:636)
08-10 15:33:18.216 10739 10739 I art     :   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:572)
08-10 15:33:18.216 10739 10739 I art     :   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:555)
08-10 15:33:18.216 10739 10739 I art     :   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:542)
08-10 15:33:18.216 10739 10739 I art     :   at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context, android.util.AttributeSet) (SystemWebView.java:47)
08-10 15:33:18.216 10739 10739 I art     :   at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context) (SystemWebView.java:43)
08-10 15:33:18.216 10739 10739 I art     :   at void org.apache.cordova.engine.SystemWebViewEngine.<init>(android.content.Context, org.apache.cordova.CordovaPreferences) (SystemWebViewEngine.java:76)
08-10 15:33:18.216 10739 10739 I art     :   at java.lang.Object java.lang.reflect.Constructor.newInstance0!(java.lang.Object[]) (Constructor.java:-2)
08-10 15:33:18.216 10739 10739 I art     :   at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:430)
08-10 15:33:18.216 10739 10739 I art     :   at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaWebViewImpl.createEngine(android.content.Context, org.apache.cordova.CordovaPreferences) (CordovaWebViewImpl.java:80)
08-10 15:33:18.216 10739 10739 I art     :   at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaActivity.makeWebViewEngine() (CordovaActivity.java:206)
08-10 15:33:18.216 10739 10739 I art     :   at org.apache.cordova.CordovaWebView org.apache.cordova.CordovaActivity.makeWebView() (CordovaActivity.java:202)
08-10 15:33:18.216 10739 10739 I art     :   at void org.apache.cordova.CordovaActivity.init() (CordovaActivity.java:146)
08-10 15:33:18.216 10739 10739 I art     :   at void org.apache.cordova.CordovaActivity.loadUrl(java.lang.String) (CordovaActivity.java:224)
08-10 15:33:18.216 10739 10739 I art     :   at void com.xxxxxxx.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:39)
08-10 15:33:18.216 10739 10739 I art     :   at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6687)
08-10 15:33:18.216 10739 10739 I art     :   at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1140)
08-10 15:33:18.216 10739 10739 I art     :   at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2631)
08-10 15:33:18.216 10739 10739 I art     :   at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2743)
08-10 15:33:18.216 10739 10739 I art     :   at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
08-10 15:33:18.216 10739 10739 I art     :   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1490)
08-10 15:33:18.216 10739 10739 I art     :   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
08-10 15:33:18.216 10739 10739 I art     :   at void android.os.Looper.loop() (Looper.java:154)
08-10 15:33:18.216 10739 10739 I art     :   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6165)
08-10 15:33:18.216 10739 10739 I art     :   at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
08-10 15:33:18.216 10739 10739 I art     :   at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:888)
08-10 15:33:18.216 10739 10739 I art     :   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:778)
08-10 15:33:18.216 10739 10739 I art     : Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.SafeBrowsingResponse" on path: DexPathList[[zip file "/data/app/com.android.chrome-2/base.apk"],nativeLibraryDirectories=[/data/app/com.android.chrome-2/lib/arm, /data/app/com.android.chrome-2/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
08-10 15:33:18.216 10739 10739 I art     :   at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
08-10 15:33:18.216 10739 10739 I art     :   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)
08-10 15:33:18.216 10739 10739 I art     :   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
08-10 15:33:18.216 10739 10739 I art     :   at xf com.android.webview.chromium.WebViewChromiumFactoryProvider.a(android.webkit.WebView, android.content.Context) (SourceFile:209)
08-10 15:33:18.216 10739 10739 I art     :   at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (SourceFile:63)
08-10 15:33:18.216 10739 10739 I art     :   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:636)
08-10 15:33:18.216 10739 10739 I art     :   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:572)
08-10 15:33:18.216 10739 10739 I art     :   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:555)
08-10 15:33:18.216 10739 10739 I art     :   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:542)
08-10 15:33:18.216 10739 10739 I art     :   at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context, android.util.AttributeSet) (SystemWebView.java:47)
08-10 15:33:18.216 10739 10739 I art     :   at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context) (SystemWebView.java:43)
08-10 15:33:18.216 10739 10739 I art     :   at void org.apache.cordova.engine.SystemWebViewEngine.<init>(android.content.Context, org.apache.cordova.CordovaPreferences) (SystemWebViewEngine.java:76)
08-10 15:33:18.216 10739 10739 I art     :   at java.lang.Object java.lang.reflect.Constructor.newInstance0!(java.lang.Object[]) (Constructor.java:-2)
08-10 15:33:18.216 10739 10739 I art     :   at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:430)
08-10 15:33:18.216 10739 10739 I art     :   at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaWebViewImpl.createEngine(android.content.Context, org.apache.cordova.CordovaPreferences) (CordovaWebViewImpl.java:80)
08-10 15:33:18.216 10739 10739 I art     :   at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaActivity.makeWebViewEngine() (CordovaActivity.java:206)
08-10 15:33:18.216 10739 10739 I art     :   at org.apache.cordova.CordovaWebView org.apache.cordova.CordovaActivity.makeWebView() (CordovaActivity.java:202)
08-10 15:33:18.216 10739 10739 I art     :   at void org.apache.cordova.CordovaActivity.init() (CordovaActivity.java:146)
08-10 15:33:18.216 10739 10739 I art     :   at void org.apache.cordova.CordovaActivity.loadUrl(java.lang.String) (CordovaActivity.java:224)
08-10 15:33:18.216 10739 10739 I art     :   at void com.xxxxxxx.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:39)
08-10 15:33:18.216 10739 10739 I art     :   at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6687)
08-10 15:33:18.216 10739 10739 I art     :   at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1140)
08-10 15:33:18.216 10739 10739 I art     :   at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2631)
08-10 15:33:18.216 10739 10739 I art     :   at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2743)
08-10 15:33:18.216 10739 10739 I art     :   at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
08-10 15:33:18.216 10739 10739 I art     :   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1490)
08-10 15:33:18.216 10739 10739 I art     :   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
08-10 15:33:18.216 10739 10739 I art     :   at void android.os.Looper.loop() (Looper.java:154)
08-10 15:33:18.216 10739 10739 I art     :   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6165)
08-10 15:33:18.216 10739 10739 I art     :   at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
08-10 15:33:18.216 10739 10739 I art     :   at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:888)
08-10 15:33:18.216 10739 10739 I art     :   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:778)
08-10 15:33:18.216 10739 10739 I art     : 
08-10 15:33:18.229 10739 10739 I art     : Rejecting re-init on previously-failed class java.lang.Class<xo>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/RenderProcessGoneDetail;
08-10 15:33:18.229 10739 10739 I art     :   at xf com.android.webview.chromium.WebViewChromiumFactoryProvider.a(android.webkit.WebView, android.content.Context) (SourceFile:209)
08-10 15:33:18.229 10739 10739 I art     :   at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (SourceFile:63)
08-10 15:33:18.229 10739 10739 I art     :   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:636)
08-10 15:33:18.229 10739 10739 I art     :   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:572)
08-10 15:33:18.229 10739 10739 I art     :   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:555)
08-10 15:33:18.229 10739 10739 I art     :   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:542)
08-10 15:33:18.229 10739 10739 I art     :   at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context, android.util.AttributeSet) (SystemWebView.java:47)
08-10 15:33:18.229 10739 10739 I art     :   at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context) (SystemWebView.java:43)
08-10 15:33:18.229 10739 10739 I art     :   at void org.apache.cordova.engine.SystemWebViewEngine.<init>(android.content.Context, org.apache.cordova.CordovaPreferences) (SystemWebViewEngine.java:76)
08-10 15:33:18.229 10739 10739 I art     :   at java.lang.Object java.lang.reflect.Constructor.newInstance0!(java.lang.Object[]) (Constructor.java:-2)
08-10 15:33:18.229 10739 10739 I art     :   at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:430)
08-10 15:33:18.229 10739 10739 I art     :   at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaWebViewImpl.createEngine(android.content.Context, org.apache.cordova.CordovaPreferences) (CordovaWebViewImpl.java:80)
08-10 15:33:18.229 10739 10739 I art     :   at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaActivity.makeWebViewEngine() (CordovaActivity.java:206)
08-10 15:33:18.229 10739 10739 I art     :   at org.apache.cordova.CordovaWebView org.apache.cordova.CordovaActivity.makeWebView() (CordovaActivity.java:202)
08-10 15:33:18.229 10739 10739 I art     :   at void org.apache.cordova.CordovaActivity.init() (CordovaActivity.java:146)
08-10 15:33:18.229 10739 10739 I art     :   at void org.apache.cordova.CordovaActivity.loadUrl(java.lang.String) (CordovaActivity.java:224)
08-10 15:33:18.229 10739 10739 I art     :   at void com.xxxxxxx.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:39)
08-10 15:33:18.229 10739 10739 I art     :   at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6687)
08-10 15:33:18.229 10739 10739 I art     :   at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1140)
08-10 15:33:18.229 10739 10739 I art     :   at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2631)
08-10 15:33:18.229 10739 10739 I art     :   at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2743)
08-10 15:33:18.229 10739 10739 I art     :   at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
08-10 15:33:18.229 10739 10739 I art     :   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1490)
08-10 15:33:18.229 10739 10739 I art     :   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
08-10 15:33:18.229 10739 10739 I art     :   at void android.os.Looper.loop() (Looper.java:154)
08-10 15:33:18.229 10739 10739 I art     :   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6165)
08-10 15:33:18.229 10739 10739 I art     :   at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
08-10 15:33:18.229 10739 10739 I art     :   at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:888)
08-10 15:33:18.229 10739 10739 I art     :   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:778)
08-10 15:33:18.229 10739 10739 I art     : Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.RenderProcessGoneDetail" on path: DexPathList[[zip file "/data/app/com.android.chrome-2/base.apk"],nativeLibraryDirectories=[/data/app/com.android.chrome-2/lib/arm, /data/app/com.android.chrome-2/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
08-10 15:33:18.229 10739 10739 I art     :   at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
08-10 15:33:18.229 10739 10739 I art     :   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)
08-10 15:33:18.229 10739 10739 I art     :   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
08-10 15:33:18.229 10739 10739 I art     :   at xf com.android.webview.chromium.WebViewChromiumFactoryProvider.a(android.webkit.WebView, android.content.Context) (SourceFile:209)
08-10 15:33:18.229 10739 10739 I art     :   at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (SourceFile:63)
08-10 15:33:18.229 10739 10739 I art     :   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:636)
08-10 15:33:18.229 10739 10739 I art     :   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:572)
08-10 15:33:18.230 10739 10739 I art     :   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:555)
08-10 15:33:18.230 10739 10739 I art     :   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:542)
08-10 15:33:18.230 10739 10739 I art     :   at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context, android.util.AttributeSet) (SystemWebView.java:47)
08-10 15:33:18.230 10739 10739 I art     :   at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context) (SystemWebView.java:43)
08-10 15:33:18.230 10739 10739 I art     :   at void org.apache.cordova.engine.SystemWebViewEngine.<init>(android.content.Context, org.apache.cordova.CordovaPreferences) (SystemWebViewEngine.java:76)
08-10 15:33:18.230 10739 10739 I art     :   at java.lang.Object java.lang.reflect.Constructor.newInstance0!(java.lang.Object[]) (Constructor.java:-2)
08-10 15:33:18.230 10739 10739 I art     :   at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:430)
08-10 15:33:18.230 10739 10739 I art     :   at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaWebViewImpl.createEngine(android.content.Context, org.apache.cordova.CordovaPreferences) (CordovaWebViewImpl.java:80)
08-10 15:33:18.230 10739 10739 I art     :   at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaActivity.makeWebViewEngine() (CordovaActivity.java:206)
08-10 15:33:18.230 10739 10739 I art     :   at org.apache.cordova.CordovaWebView org.apache.cordova.CordovaActivity.makeWebView() (CordovaActivity.java:202)
08-10 15:33:18.230 10739 10739 I art     :   at void org.apache.cordova.CordovaActivity.init() (CordovaActivity.java:146)
08-10 15:33:18.230 10739 10739 I art     :   at void org.apache.cordova.CordovaActivity.loadUrl(java.lang.String) (CordovaActivity.java:224)
08-10 15:33:18.230 10739 10739 I art     :   at void com.xxxxxxx.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:39)
08-10 15:33:18.230 10739 10739 I art     :   at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6687)
08-10 15:33:18.230 10739 10739 I art     :   at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1140)
08-10 15:33:18.230 10739 10739 I art     :   at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2631)
08-10 15:33:18.230 10739 10739 I art     :   at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2743)
08-10 15:33:18.230 10739 10739 I art     :   at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
08-10 15:33:18.230 10739 10739 I art     :   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1490)
08-10 15:33:18.230 10739 10739 I art     :   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
08-10 15:33:18.230 10739 10739 I art     :   at void android.os.Looper.loop() (Looper.java:154)
08-10 15:33:18.230 10739 10739 I art     :   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6165)
08-10 15:33:18.230 10739 10739 I art     :   at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
08-10 15:33:18.230 10739 10739 I art     :   at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:888)
08-10 15:33:18.230 10739 10739 I art     :   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:778)
08-10 15:33:18.230 10739 10739 I art     : 
08-10 15:33:18.326 10739 10739 D SystemWebViewEngine: CordovaWebView is running on device made by: motorola
08-10 15:33:18.331 10739 10965 E chromium: [ERROR:devtools_http_handler.cc(292)] Cannot start http server for devtools. Stop devtools.
08-10 15:33:18.338 10739 10739 D PluginManager: init()
08-10 15:33:18.353 10739 10739 D FileUtils: Unrecognized extra filesystem identifier: assets
08-10 15:33:18.367 10739 10739 D AndroidRuntime: Shutting down VM
08-10 15:33:18.369 10739 10739 E AndroidRuntime: FATAL EXCEPTION: main
08-10 15:33:18.369 10739 10739 E AndroidRuntime: Process: com.xxxxxxx, PID: 10739
08-10 15:33:18.369 10739 10739 E AndroidRuntime: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/util/ArraySet;
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at io.intercom.android.sdk.utilities.ActivityFinisher.<init>(ActivityFinisher.java:10)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at io.intercom.android.sdk.Injector.<init>(Injector.java:62)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at io.intercom.android.sdk.Injector.initWithAppCredentials(Injector.java:101)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at io.intercom.android.sdk.RealIntercom.create(RealIntercom.java:72)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at io.intercom.android.sdk.Intercom.initialize(Intercom.java:68)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at io.intercom.android.sdk.IntercomBridge.setUpIntercom(IntercomBridge.java:80)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at io.intercom.android.sdk.IntercomBridge.access$000(IntercomBridge.java:26)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at io.intercom.android.sdk.IntercomBridge$1.run(IntercomBridge.java:33)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at android.app.Activity.runOnUiThread(Activity.java:5874)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at io.intercom.android.sdk.IntercomBridge.pluginInitialize(IntercomBridge.java:31)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at org.apache.cordova.CordovaPlugin.privateInitialize(CordovaPlugin.java:58)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at org.apache.cordova.PluginManager.getPlugin(PluginManager.java:171)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:97)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at org.apache.cordova.PluginManager.init(PluginManager.java:86)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at org.apache.cordova.CordovaWebViewImpl.init(CordovaWebViewImpl.java:117)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:149)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:224)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at com.xxxxxxx.MainActivity.onCreate(MainActivity.java:39)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at android.app.Activity.performCreate(Activity.java:6687)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1140)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2631)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2743)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at android.app.ActivityThread.-wrap12(ActivityThread.java)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1490)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:102)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:154)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:6165)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:778)
08-10 15:33:18.369 10739 10739 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v4.util.ArraySet" on path: DexPathList[[zip file "/data/app/com.xxxxxxx-1/base.apk"],nativeLibraryDirectories=[/data/app/com.xxxxxxx-1/lib/arm, /system/lib, /vendor/lib]]
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
08-10 15:33:18.369 10739 10739 E AndroidRuntime:    ... 30 more
08-10 15:33:18.373  2102 20696 W ActivityManager:   Force finishing activity com.xxxxxxx/.MainActivity
08-10 15:33:18.377  2102 10969 W DropBoxManagerService: Dropping: data_app_crash (2827 > 0 bytes)
08-10 15:33:18.379  2731  9527 D ProcSpeedReader: Failed to read freq stats from null
08-10 15:33:18.443  2102 17043 I OpenGLRenderer: Initialized EGL, version 1.4
08-10 15:33:18.443  2102 17043 D OpenGLRenderer: Swap behavior 1
08-10 15:33:18.526   365   365 I SFPerfTracer:      triggers: (rate: 3777:266876) (compose: 171:5792) (post: 1:11533) (render: 60:15114) (0:2015734 frames) (1:2189748)
08-10 15:33:18.526   365   365 D SFPerfTracer:        layers: (2:10) (StatusBar (0xabd18400): 1:664796) (com.android.systemui.ImageWallpaper (0xabd34000): 1:468535)* (animation background stackId=1 (0xabd35400): 0:1729)* (Sprite (0xabd1ac00): 0:4513)* (DimLayerController/Stack=0 (0xabd57400): 0:4434)* (com.google.android.googlequicksearchbox/com.google.android.launcher.GEL (0xabd36800): 1:482)* (NavigationBar (0xabd17000): 1:120) (com.google.android.googlequicksearchbox/com.google.android.launcher.GEL (0xabd19800): 1:187)* (Starting com.xxxxxxx (0xabd37c00): 1:34)* (Application Error: com.xxxxxxx (0xabd56000): 1:5)* 
08-10 15:33:18.530 13872 10971 E DropboxRealtime: null InputStream
08-10 15:33:18.530 13872 10971 E DropboxRealtime: java.io.IOException: null InputStream
08-10 15:33:18.530 13872 10971 E DropboxRealtime:   at amxk.a(:com.google.android.gms@12874022@12.8.74 (040308-204998136):16)
08-10 15:33:18.530 13872 10971 E DropboxRealtime:   at amxk.a(:com.google.android.gms@12874022@12.8.74 (040308-204998136):36)
08-10 15:33:18.530 13872 10971 E DropboxRealtime:   at amwn.a(:com.google.android.gms@12874022@12.8.74 (040308-204998136):3)
08-10 15:33:18.530 13872 10971 E DropboxRealtime:   at amvc.a(:com.google.android.gms@12874022@12.8.74 (040308-204998136):2)
08-10 15:33:18.530 13872 10971 E DropboxRealtime:   at com.google.android.gms.stats.service.DropBoxEntryAddedChimeraService.onHandleIntent(:com.google.android.gms@12874022@12.8.74 (040308-204998136):435)
08-10 15:33:18.530 13872 10971 E DropboxRealtime:   at dde.handleMessage(:com.google.android.gms@12874022@12.8.74 (040308-204998136))
08-10 15:33:18.530 13872 10971 E DropboxRealtime:   at android.os.Handler.dispatchMessage(Handler.java:102)
08-10 15:33:18.530 13872 10971 E DropboxRealtime:   at android.os.Looper.loop(Looper.java:154)
08-10 15:33:18.530 13872 10971 E DropboxRealtime:   at android.os.HandlerThread.run(HandlerThread.java:61)
08-10 15:33:18.531 13872 10971 E DropboxRealtime: null InputStream
08-10 15:33:18.531 13872 10971 E DropboxRealtime: java.io.IOException: null InputStream
08-10 15:33:18.531 13872 10971 E DropboxRealtime:   at amxk.a(:com.google.android.gms@12874022@12.8.74 (040308-204998136):16)
08-10 15:33:18.531 13872 10971 E DropboxRealtime:   at amxk.a(:com.google.android.gms@12874022@12.8.74 (040308-204998136):36)
08-10 15:33:18.531 13872 10971 E DropboxRealtime:   at amwn.a(:com.google.android.gms@12874022@12.8.74 (040308-204998136):3)
08-10 15:33:18.531 13872 10971 E DropboxRealtime:   at amvc.a(:com.google.android.gms@12874022@12.8.74 (040308-204998136):2)
08-10 15:33:18.531 13872 10971 E DropboxRealtime:   at com.google.android.gms.stats.service.DropBoxEntryAddedChimeraService.onHandleIntent(:com.google.android.gms@12874022@12.8.74 (040308-204998136):435)
08-10 15:33:18.531 13872 10971 E DropboxRealtime:   at dde.handleMessage(:com.google.android.gms@12874022@12.8.74 (040308-204998136))
08-10 15:33:18.531 13872 10971 E DropboxRealtime:   at android.os.Handler.dispatchMessage(Handler.java:102)
08-10 15:33:18.531 13872 10971 E DropboxRealtime:   at android.os.Looper.loop(Looper.java:154)
08-10 15:33:18.531 13872 10971 E DropboxRealtime:   at android.os.HandlerThread.run(HandlerThread.java:61)
08-10 15:33:18.532 13872 10971 E DropboxRealtime: null InputStream
08-10 15:33:18.532 13872 10971 E DropboxRealtime: java.io.IOException: null InputStream
08-10 15:33:18.532 13872 10971 E DropboxRealtime:   at amxk.a(:com.google.android.gms@12874022@12.8.74 (040308-204998136):16)
08-10 15:33:18.532 13872 10971 E DropboxRealtime:   at amxk.a(:com.google.android.gms@12874022@12.8.74 (040308-204998136):36)
08-10 15:33:18.532 13872 10971 E DropboxRealtime:   at amwn.a(:com.google.android.gms@12874022@12.8.74 (040308-204998136):3)
08-10 15:33:18.532 13872 10971 E DropboxRealtime:   at amvc.a(:com.google.android.gms@12874022@12.8.74 (040308-204998136):2)
08-10 15:33:18.532 13872 10971 E DropboxRealtime:   at com.google.android.gms.stats.service.DropBoxEntryAddedChimeraService.onHandleIntent(:com.google.android.gms@12874022@12.8.74 (040308-204998136):435)
08-10 15:33:18.532 13872 10971 E DropboxRealtime:   at dde.handleMessage(:com.google.android.gms@12874022@12.8.74 (040308-204998136))
08-10 15:33:18.532 13872 10971 E DropboxRealtime:   at android.os.Handler.dispatchMessage(Handler.java:102)
08-10 15:33:18.532 13872 10971 E DropboxRealtime:   at android.os.Looper.loop(Looper.java:154)
08-10 15:33:18.532 13872 10971 E DropboxRealtime:   at android.os.HandlerThread.run(HandlerThread.java:61)
08-10 15:33:18.535 13872 10971 E DropboxRealtime: null InputStream
08-10 15:33:18.535 13872 10971 E DropboxRealtime: java.io.IOException: null InputStream
08-10 15:33:18.535 13872 10971 E DropboxRealtime:   at amxk.a(:com.google.android.gms@12874022@12.8.74 (040308-204998136):16)
08-10 15:33:18.535 13872 10971 E DropboxRealtime:   at amxk.a(:com.google.android.gms@12874022@12.8.74 (040308-204998136):36)
08-10 15:33:18.535 13872 10971 E DropboxRealtime:   at amwn.a(:com.google.android.gms@12874022@12.8.74 (040308-204998136):3)
08-10 15:33:18.535 13872 10971 E DropboxRealtime:   at amvc.a(:com.google.android.gms@12874022@12.8.74 (040308-204998136):2)
08-10 15:33:18.535 13872 10971 E DropboxRealtime:   at com.google.android.gms.stats.service.DropBoxEntryAddedChimeraService.onHandleIntent(:com.google.android.gms@12874022@12.8.74 (040308-204998136):435)
08-10 15:33:18.535 13872 10971 E DropboxRealtime:   at dde.handleMessage(:com.google.android.gms@12874022@12.8.74 (040308-204998136))
08-10 15:33:18.535 13872 10971 E DropboxRealtime:   at android.os.Handler.dispatchMessage(Handler.java:102)
08-10 15:33:18.535 13872 10971 E DropboxRealtime:   at android.os.Looper.loop(Looper.java:154)
08-10 15:33:18.535 13872 10971 E DropboxRealtime:   at android.os.HandlerThread.run(HandlerThread.java:61)
08-10 15:33:18.539  2102 20697 W DropBoxManagerService: Dropping: platform_stats_bookmark (13 > 0 bytes)
08-10 15:33:18.880  2102  2161 W ActivityManager: Activity pause timeout for ActivityRecord{415a23d u0 com.xxxxxxx/.MainActivity t11983 f}
08-10 15:33:18.949  2102  2161 I WindowManager: Failed to capture screenshot of Token{cd2da32 ActivityRecord{415a23d u0 com.xxxxxxx/.MainActivity t11983 f}} appWin=Window{3acaffb u0 Starting com.xxxxxxx} drawState=4
08-10 15:33:18.969  2102  2161 I ActivityManager: moveHomeStack, setupComplete:true
08-10 15:33:18.971  2731  9527 D ProcSpeedReader: Failed to read freq stats from null
08-10 15:33:19.064   365   365 I SFPerfTracer:       trigger: frame rate (-28.259%) (43.045 fps)    (23.232 ms)     (6 drops)   (21 frames)
08-10 15:33:19.064   365   365 I SFPerfTracer:      triggers: (rate: 3778:266882) (compose: 171:5793) (post: 1:11533) (render: 60:15116) (21:2015755 frames) (22:2189771)
08-10 15:33:19.064   365   365 D SFPerfTracer:        layers: (4:10) (StatusBar (0xabd18400): 22:664819) (com.android.systemui.ImageWallpaper (0xabd34000): 22:468558)* (animation background stackId=1 (0xabd35400): 0:1729)* (Sprite (0xabd1ac00): 0:4513)* (DimLayerController/Stack=0 (0xabd57400): 9:4443) (com.google.android.googlequicksearchbox/com.google.android.launcher.GEL (0xabd36800): 22:505)* (NavigationBar (0xabd17000): 22:143) (com.google.android.googlequicksearchbox/com.google.android.launcher.GEL (0xabd19800): 22:210)* (Starting com.xxxxxxx (0xabd37c00): 22:57)* (Application Error: com.xxxxxxx (0xabd56000): 22:28) 
08-10 15:33:19.198  6425  6425 I MicroDetectionWorker: #startMicroDetector [speakerMode: 0]
08-10 15:33:19.204  6425  6425 I AudioController: Created new AudioSource
08-10 15:33:19.212  6425  6425 I MicroDetectionWorker: onReady
08-10 15:33:19.236  6425  7736 I MicroRecognitionRunner: Starting detection.
08-10 15:33:19.238  6425  7544 I MicrophoneInputStream: mic_starting  SR : 16000 CC : 16 SO : 1999
08-10 15:33:19.240   394   763 D audio_hw_primary: adev_open_input_stream: enter: sample_rate(16000) channel_mask(0x10) devices(0x80000004)        stream_handle(0xad8b5e00) io_handle(8014)
08-10 15:33:19.242   394 10981 I AudioFlinger: AudioFlinger's thread 0xac303980 ready to run
08-10 15:33:19.242   394 10981 D audio_hw_primary: in_standby: enter: stream (0xad8b5e00) usecase(7: audio-record)
08-10 15:33:19.244   394 10981 D audio_hw_primary: in_standby: enter: stream (0xad8b5e00) usecase(7: audio-record)
08-10 15:33:19.249   394 10981 D audio_hw_primary: in_set_parameters: enter: kvpairs=input_source=6;routing=-2147483644
08-10 15:33:19.251   394   768 D APM_AudioPolicyManager: AudioPolicyManager::startInput() input source = 1999
08-10 15:33:19.252   394 10981 V msm8916_platform: platform_update_usecase_from_source: input source :6
08-10 15:33:19.252   394 10981 D audio_hw_primary: start_input_stream: enter: stream(0xad8b5e00)usecase(7: audio-record)
08-10 15:33:19.252   394 10981 E audio_hw_primary: voice_extn_compress_voip_is_active: COMPRESS_VOIP_ENABLED is not defined
08-10 15:33:19.253   394 10981 V msm8916_platform: platform_get_input_snd_device: enter: out_device(0) in_device(0x4)
08-10 15:33:19.253   394 10981 V msm8916_platform: platform_get_input_snd_device: exit: in_snd_device(voice-rec-mic)
08-10 15:33:19.253   394 10981 D audio_hw_primary: select_devices: out_snd_device(0: ) in_snd_device(69: voice-rec-mic)
08-10 15:33:19.253   394 10981 D hardware_info: hw_info_append_hw_type : device_name = voice-rec-mic
08-10 15:33:19.254  6425  7544 I MicrophoneInputStream: mic_started  SR : 16000 CC : 16 SO : 1999
08-10 15:33:19.264   394 10981 V msm8916_platform: platform_get_input_snd_device: enter: out_device(0x2) in_device(0x4)
08-10 15:33:19.264   394 10981 E msm8916_platform: voice_extn_compress_voip_is_active: COMPRESS_VOIP_ENABLED is not defined
08-10 15:33:19.264   394 10981 V msm8916_platform: platform_get_input_snd_device: exit: in_snd_device(voice-rec-mic)
08-10 15:33:19.265   394 10981 V msm8916_platform: platform_send_audio_calibration: sending audio calibration for snd_device(69) acdb_id(4)
08-10 15:33:19.265   394 10981 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 4, path =  1
08-10 15:33:19.265   394 10981 D ACDB-LOADER: ACDB -> send_asm_topology
08-10 15:33:19.265   394 10981 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
08-10 15:33:19.265   394 10981 D ACDB-LOADER: ACDB -> send_adm_topology
08-10 15:33:19.265   394 10981 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
08-10 15:33:19.265   394 10981 D ACDB-LOADER: ACDB -> send_audtable
08-10 15:33:19.265   394 10981 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE_SIZE
08-10 15:33:19.265   394 10981 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
08-10 15:33:19.265   394 10981 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_CAL
08-10 15:33:19.265   394 10981 D ACDB-LOADER: ACDB -> send_audvoltable
08-10 15:33:19.265   394 10981 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE
08-10 15:33:19.265   394 10981 D         : Failed to fetch the lookup information of the device 00000004 
08-10 15:33:19.265   394 10981 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
08-10 15:33:19.265   394 10981 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
08-10 15:33:19.265   394 10981 D ACDB-LOADER: ACDB -> send_afe_cal
08-10 15:33:19.265   394 10981 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
08-10 15:33:19.265   394 10981 D         : Failed to fetch the lookup information of the device 00000004 
08-10 15:33:19.265   394 10981 D ACDB-LOADER: ACDB -> AUDIO_SET_AFE_CAL
08-10 15:33:19.265   394 10981 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 4 path = 1
08-10 15:33:19.265   394 10981 D ACDB-LOADER: ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
08-10 15:33:19.266   394 10981 D audio_hw_primary: select_devices: done
08-10 15:33:19.311  2102  2161 I ActivityManager: Killing 8986:com.viewdle.frservice/u0a32 (adj 906): empty #13
08-10 15:33:19.328  6425  6425 I MicroDetectionWorker: onReady
08-10 15:33:19.358  2102 11701 D ActivityManager: cleanUpApplicationRecord -- 8986
08-10 15:33:19.516  2102  2207 W WindowManager: Failed looking up window
08-10 15:33:19.516  2102  2207 W WindowManager: java.lang.IllegalArgumentException: Requested window android.view.ViewRootImpl$W@b877d8a does not exist
08-10 15:33:19.516  2102  2207 W WindowManager:     at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9616)
08-10 15:33:19.516  2102  2207 W WindowManager:     at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9607)
08-10 15:33:19.516  2102  2207 W WindowManager:     at com.android.server.wm.WindowManagerService.removeWindow(WindowManagerService.java:2511)
08-10 15:33:19.516  2102  2207 W WindowManager:     at com.android.server.wm.Session.remove(Session.java:202)
08-10 15:33:19.516  2102  2207 W WindowManager:     at android.view.ViewRootImpl.dispatchDetachedFromWindow(ViewRootImpl.java:3308)
08-10 15:33:19.516  2102  2207 W WindowManager:     at android.view.ViewRootImpl.doDie(ViewRootImpl.java:5935)
08-10 15:33:19.516  2102  2207 W WindowManager:     at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3644)
08-10 15:33:19.516  2102  2207 W WindowManager:     at android.os.Handler.dispatchMessage(Handler.java:102)
08-10 15:33:19.516  2102  2207 W WindowManager:     at android.os.Looper.loop(Looper.java:154)
08-10 15:33:19.516  2102  2207 W WindowManager:     at android.os.HandlerThread.run(HandlerThread.java:61)
08-10 15:33:19.516  2102  2207 W WindowManager:     at com.android.server.ServiceThread.run(ServiceThread.java:46)
08-10 15:33:20.195  2102  2161 I ActivityManager: Killing 10344:com.android.keychain/1000 (adj 906): empty #13

08-10 15:33:20.251  2102 11701 D ActivityManager: cleanUpApplicationRecord -- 10344

08-10 15:33:20.765   377   457 I ThermalEngine: Thermal-Server: Thermal received msg from  override
08-10 15:33:20.765   377   457 E ThermalEngine: override_notify: SS mode 0 override
08-10 15:33:20.766  3308 10989 I Thermal-Lib: Thermal-Lib-Client: Client request sent
ferdelcorro commented 6 years ago

Ok, after have a lot of problems tring to open a pdf or a xls file, I found a solution here https://github.com/pwlin/cordova-plugin-file-opener2/issues/202#issuecomment-371884432