Server.js Apparently not ran (Ionic 1)

Hello Everyone !

I ran ionic emulate android and its fine and work .

but when I click in login button, not work. see the log on Android Device Monitor:

03-23 00:30:49.829: W/art(5375): Attempt to remove non-JNI local reference, dumping thread
03-23 00:30:49.915: D/SystemWebChromeClient(5375): file:///android_asset/www/js/user.js: Line 22 : Authenticating ...
03-23 00:30:49.915: I/chromium(5375): [INFO:CONSOLE(22)] "Authenticating ...", source: file:///android_asset/www/js/user.js (22)
03-23 00:30:50.016: I/art(5375): Background sticky concurrent mark sweep GC freed 83(3032B) AllocSpace objects, 0(0B) LOS objects, 0% free, 15MB/15MB, paused 5.799ms total 200.754ms
03-23 00:30:50.154: W/art(5375): Attempt to remove non-JNI local reference, dumping thread
03-23 00:30:50.301: I/art(5375): Background partial concurrent mark sweep GC freed 94(3KB) AllocSpace objects, 3(8MB) LOS objects, 28% free, 9MB/13MB, paused 19.021ms total 243.655ms
03-23 00:30:50.327: D/cr_Ime(5375): [InputMethodManagerWrapper.java:59] isActive: true
03-23 00:30:50.327: D/cr_Ime(5375): [InputMethodManagerWrapper.java:68] hideSoftInputFromWindow
03-23 00:30:50.427: W/art(5375): Attempt to remove non-JNI local reference, dumping thread

this is my package.json

{
  "name": "opina",
  "version": "1.1.1",
  "description": "opina: An Ionic project",
  "dependencies": {
    "gulp": "^3.5.6",
    "gulp-sass": "^2.0.4",
    "gulp-concat": "^2.2.0",
    "gulp-minify-css": "^0.3.0",
    "gulp-rename": "^1.2.0"
  },
  "devDependencies": {
    "bower": "^1.3.3",
    "gulp-util": "^2.2.14",
    "shelljs": "^0.3.0"
  },
  "cordovaPlugins": [
    "cordova-plugin-device",
    "cordova-plugin-console",
    "cordova-plugin-whitelist",
    "cordova-plugin-splashscreen",
    "cordova-plugin-statusbar",
    "ionic-plugin-keyboard"
  ],
  "cordovaPlatforms": [
    "ios",
    "android"
  ]
}

server.js

'use strict';
var express = require('express');
var expressJwt = require('express-jwt');
var unless = require('express-unless');
var bodyParser = require('body-parser');
const MongoClient = require('mongodb').MongoClient;
var crypto = require('crypto');
var jwt = require('jsonwebtoken');

var JWT_SECRET = 'top-secret';

var app = express();
var consign = require('consign');
app.set('etag', false);
app.use(bodyParser.json());
app.use(expressJwt({secret: JWT_SECRET}).unless({path: ['/authenticate']}));

var db

MongoClient.connect('mongodb://elton:123456@ds035026.mlab.com:35026/star-wars-elton', (err, database) => {

  if (err) return console.log(err)
    db = database
    app.listen(3000, function() {
      console.log('mongodb  !!!');
      console.log('listening on 3000')
    })
});

app.post('/authenticate', function(request, response) {
  var user = request.body.user;
  var password = request.body.password;

  db.collection('user').findOne({email: { $eq: user }, password: { $eq: password }}, function(err, document) {
    if (err) return console.log(err)
      if (document != null) {
        response.json({
          token: jwt.sign({}, 'top-secret', {subject: user})
        });
      } else {
        response.sendStatus(401);
      }
  });
});

function sendError(response, error) {
  console.error(error);
  response.status(500).send('Internal Server Error');
}

//Lista Eventos
app.get('/eventos/', function(request, response) {
  db.collection('evento').find().toArray((err, result) => {
    if (err) return console.log(err)
      response.json(result);
  })
});

//Lista Palestrantes
app.get('/palestrantes/', function(request, response) {
  db.collection('palestrantes').find().sort( { name: 1} ).toArray((err, result) => {
    if (err) return console.log(err)
      response.json(result);
  })
});

app.post('/opinar/:Opiniao/:idPalestrante', function(request, response) {
  var noteId = crypto.randomBytes(4).toString('hex');

  db.collection('opinar').insert({
      _id: noteId,
      descricao_opiniao: request.params.Opiniao,
      id_palestrante : request.params.idPalestrante,
      id: noteId
    }, (err, result) => {
    if (err) return console.log(err);
  })

  //response.set('Location', '/notes/' + noteId);
  response.status(201).send();
});

//Lista editar
app.get('/notes/:noteId', function(request, response) {
  db.collection('notes').findOne({id: { $eq: request.params.noteId }}, function(err, document) {
    if (err) return console.log(err)
    response.json(document);
  });
});

//Novo
app.post('/notes/', function(request, response) {
  var noteId = crypto.randomBytes(4).toString('hex');

  db.collection('user').insert({
      _id: noteId,
      name: request.body.nome,
      email: request.body.email,
      password: request.body.senha,
      id: noteId
    }, (err, result) => {
    if (err) return console.log(err);
  })

  response.status(201).send();
});


app.put('/notes/:noteId', function(request, response) {
  db.collection('notes').save(request.body, (err, result) => {
    if (err) return console.log(err)  
  })
  if (request.params.noteId !== request.body.id) {
    response.status(400).send('URL does not match request body');
  } else {
    response.status(204).send();
  }
});

app.delete('/notes/:noteId', function(request, response) {
  db.collection('notes').remove({id: { $eq: request.params.noteId }}, (err, result) => {
    if (err) return console.log(err)  
      response.status(204).send();
  })
});

var server = app.listen(8200, function() {
  console.log('Notes API listening at http://localhost:8200');
});

module.exports = app;

app.js

(function() {

var app = angular.module('opina', ['ionic', 'opina.user', 'opina.eventos', 'opina.palestrantes', 'opina.opinar']);

app.config(function($stateProvider, $urlRouterProvider) {


  $stateProvider.state('cadastrar', {
    url: '/cadastrar',
    templateUrl: 'templates/cadastrar.html',
    controller: 'CadastrarCtrl'
  });
  
  $stateProvider.state('login', {
    url: '/login',
    templateUrl: 'templates/login.html',
    controller: 'LoginCtrl'
  });

  $stateProvider.state('eventos', {
    url: '/eventos',
    templateUrl: 'templates/eventos.html',
    cache: false
  });

  $stateProvider.state('palestrantes', {
    url: '/palestrantes',
    templateUrl: 'templates/palestrantes.html',
    cache: false
  });

  $urlRouterProvider.otherwise('/login');
});



app.controller('LoginCtrl', function($scope, $state, $ionicHistory, User) {

  $scope.credentials = {
    user: '',
    password: ''
  };
  $scope.loginFailed = false;

  $scope.login = function() {
    User.login($scope.credentials)
      .then(function() {
        $ionicHistory.nextViewOptions({historyRoot: true});
        $state.go('eventos');
      })
      .catch(function() {
        $scope.loginFailed = true;
      });
  };
});

app.controller('CadastrarCtrl', function($scope, $state, $ionicHistory, User) {
  $scope.credentials = {
    nome: '',
    email: '',
    senha: ''
  };

  $scope.save = function() {
      console.log('save');
      User.create($scope.credentials).then(function() {
      $state.go('login');
    });
  };
});

app.controller('EventosCtrl', function($scope, Eventos) {
  function refreshNotes() {
    Eventos.list().then(function(evento) {
      $scope.evento = evento;
    });
  }
  refreshNotes();
});

app.controller('PalestrantesCtrl', function($scope, Palestrantes, $ionicPopup, $timeout, User) {
  function refreshNotes() {
    Palestrantes.list().then(function(palestrante) {
      $scope.palestrante = palestrante;
    });
  }
  refreshNotes();

  // Triggered on a button click, or some other target
  $scope.showPopup = function(idPalestrante) {
    $scope.data = {}

    // An elaborate, custom popup
    var myPopup = $ionicPopup.show({
      template: '<textarea rows="7"  ng-model="data.opine" autofocus>',
      title: 'Opine',
      // subTitle: 'Please use normal things',
      scope: $scope,
      buttons: [
        { text: 'Cancelar' },
        {
          text: '<b>Salvar</b>',
          type: 'button-positive',
          onTap: function(e) {
            if (!$scope.data.opine) {
              //don't allow the user to close unless he enters your opinion
              e.preventDefault();
            } else {
             return $scope.data.opine;
            }
          }
        },
       ]
     });

     myPopup.then(function(res) {
       if (res != null)
        Palestrantes.opinar(res, idPalestrante);
     });
    };
});


app.run(function($rootScope, $state, $ionicPlatform, User) {
  $ionicPlatform.ready(function() {
    if (window.cordova && window.cordova.plugins.Keyboard) {
      cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
    }
    if (window.StatusBar) {
      StatusBar.styleDefault();
    }
  });
});
}());

the complete log emulator :

03-23 00:30:50.427: W/art(5375): [ 03-23 00:34:11.505  1009: 1009 I/         ]
03-23 00:30:50.427: W/art(5375): free_cache(2596046) avail 711262208
03-23 00:34:12.819: I/art(1253): Background sticky concurrent mark sweep GC freed 43553(2MB) AllocSpace objects, 2(40KB) LOS objects, 20% free, 11MB/14MB, paused 5.865ms total 173.292ms
03-23 00:34:15.572: I/PackageManager.DexOptimizer(1253): Running dexopt (dex2oat) on: /data/app/vmdl923178097.tmp/base.apk pkg=com.ionicframework.opinaversao01 isa=x86 vmSafeMode=false debuggable=true target-filter=interpret-only oatDir = /data/app/vmdl923178097.tmp/oat sharedLibraries=null
03-23 00:34:15.589: W/dex2oat(5498): Unexpected CPU variant for X86 using defaults: x86
03-23 00:34:15.589: W/dex2oat(5498): Mismatch between dex2oat instruction set features (ISA: X86 Feature string: smp,-ssse3,-sse4.1,-sse4.2,-avx,-avx2,-lock_add,-popcnt) and those of dex2oat executable (ISA: X86 Feature string: smp,ssse3,-sse4.1,-sse4.2,-avx,-avx2,-lock_add,-popcnt) for the command line:
03-23 00:34:15.589: W/dex2oat(5498): /system/bin/dex2oat --zip-fd=6 --zip-location=base.apk --oat-fd=7 --oat-location=/data/app/vmdl923178097.tmp/oat/x86/base.odex --instruction-set=x86 --instruction-set-variant=x86 --instruction-set-features=default --runtime-arg -Xms64m --runtime-arg -Xmx512m --compiler-filter=interpret-only --swap-fd=9 --debuggable
03-23 00:34:15.590: I/dex2oat(5498): /system/bin/dex2oat --compiler-filter=interpret-only --debuggable
03-23 00:34:16.120: I/dex2oat(5498): dex2oat took 531.792ms (threads: 1) arena alloc=952B (952B) java alloc=181KB (186120B) native alloc=969KB (992680B) free=1078KB (1104472B)
03-23 00:34:16.127: I/ActivityManager(1253): Force stopping com.ionicframework.opinaversao01 appid=10079 user=-1: installPackageLI
03-23 00:34:16.127: I/ActivityManager(1253): Killing 5375:com.ionicframework.opinaversao01/u0a79 (adj 0): stop com.ionicframework.opinaversao01
03-23 00:34:16.127: D/ActivityManager(1253): cleanUpApplicationRecord -- 5375
03-23 00:34:16.132: W/ActivityManager(1253): Force removing ActivityRecord{ab54b95 u0 com.ionicframework.opinaversao01/.MainActivity t13}: app died, no saved state
03-23 00:34:16.133: E/JavaBinder(1253): !!! FAILED BINDER TRANSACTION !!!  (parcel size = 56)
03-23 00:34:16.137: W/InputDispatcher(1253): channel '853a3f3 com.ionicframework.opinaversao01/com.ionicframework.opinaversao01.MainActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
03-23 00:34:16.137: E/InputDispatcher(1253): channel '853a3f3 com.ionicframework.opinaversao01/com.ionicframework.opinaversao01.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
03-23 00:34:16.144: D/GraphicsStats(1253): Buffer count: 3
03-23 00:34:16.153: W/InputDispatcher(1253): Attempted to unregister already unregistered input channel '853a3f3 com.ionicframework.opinaversao01/com.ionicframework.opinaversao01.MainActivity (server)'
03-23 00:34:16.154: I/WindowManager(1253): Destroying surface Surface(name=com.ionicframework.opinaversao01/com.ionicframework.opinaversao01.MainActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881 com.android.server.wm.WindowState.removeLocked:1449 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2478 com.android.server.wm.WindowManagerService.removeWindowLocked:2436 com.android.server.wm.WindowManagerService.removeWindowLocked:2305 com.android.server.wm.AppWindowToken.removeAllWindows:530 com.android.server.wm.AppWindowToken.removeAppFromTaskLocked:326 
03-23 00:34:16.162: W/WindowManager(1253): Failed looking up window
03-23 00:34:16.162: W/WindowManager(1253): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@1926662 does not exist
03-23 00:34:16.162: W/WindowManager(1253): 	at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9100)
03-23 00:34:16.162: W/WindowManager(1253): 	at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9091)
03-23 00:34:16.162: W/WindowManager(1253): 	at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1777)
03-23 00:34:16.162: W/WindowManager(1253): 	at android.os.BinderProxy.sendDeathNotice(Binder.java:688)
03-23 00:34:16.163: I/WindowManager(1253): WIN DEATH: null
03-23 00:34:16.286: W/art(1253): Long monitor contention with owner PackageManager (1279) at void com.android.server.pm.PackageManagerService.removePackageDataLIF(com.android.server.pm.PackageSetting, int[], com.android.server.pm.PackageManagerService$PackageRemovedInfo, int, boolean)(PackageManagerService.java:15761) waiters=0 in void com.android.server.pm.PackageManagerService.setPackageStoppedState(java.lang.String, boolean, int) for 118ms
03-23 00:34:16.334: I/PackageManager(1253): Package com.ionicframework.opinaversao01 codePath changed from /data/app/com.ionicframework.opinaversao01-2 to /data/app/com.ionicframework.opinaversao01-1; Retaining data and using new
03-23 00:34:16.341: W/PackageManager(1253): Code path for com.ionicframework.opinaversao01 changing from /data/app/com.ionicframework.opinaversao01-2 to /data/app/com.ionicframework.opinaversao01-1
03-23 00:34:16.342: W/PackageManager(1253): Resource path for com.ionicframework.opinaversao01 changing from /data/app/com.ionicframework.opinaversao01-2 to /data/app/com.ionicframework.opinaversao01-1
03-23 00:34:16.386: E/EGL_emulation(1926): tid 2133: eglSurfaceAttrib(1178): error 0x3009 (EGL_BAD_MATCH)
03-23 00:34:16.386: W/OpenGLRenderer(1926): Failed to set EGL_SWAP_BEHAVIOR on surface 0x98e65cc0, error=EGL_BAD_MATCH
03-23 00:34:16.645: W/art(1253): Long monitor contention with owner PackageManager (1279) at void com.android.server.pm.PackageManagerService.updateSettingsInternalLI(android.content.pm.PackageParser$Package, java.lang.String, int[], int[], com.android.server.pm.PackageManagerService$PackageInstalledInfo, android.os.UserHandle)(PackageManagerService.java:14757) waiters=0 in int com.android.server.pm.PackageManagerService.checkUidPermission(java.lang.String, int) for 295ms
03-23 00:34:16.851: W/art(1253): Long monitor contention with owner PackageManager (1279) at void com.android.server.pm.PackageManagerService.updateSettingsInternalLI(android.content.pm.PackageParser$Package, java.lang.String, int[], int[], com.android.server.pm.PackageManagerService$PackageInstalledInfo, android.os.UserHandle)(PackageManagerService.java:14757) waiters=1 in void com.android.server.pm.Settings$RuntimePermissionPersistence.writePermissionsSync(int) for 364ms
03-23 00:34:16.852: W/art(1253): Long monitor contention with owner PackageManager (1279) at void com.android.server.pm.PackageManagerService.updateSettingsInternalLI(android.content.pm.PackageParser$Package, java.lang.String, int[], int[], com.android.server.pm.PackageManagerService$PackageInstalledInfo, android.os.UserHandle)(PackageManagerService.java:14757) waiters=2 in int com.android.server.pm.PackageManagerService.checkUidPermission(java.lang.String, int) for 285ms
03-23 00:34:16.852: W/art(1253): Long monitor contention with owner PackageManager (1279) at void com.android.server.pm.PackageManagerService.updateSettingsInternalLI(android.content.pm.PackageParser$Package, java.lang.String, int[], int[], com.android.server.pm.PackageManagerService$PackageInstalledInfo, android.os.UserHandle)(PackageManagerService.java:14768) waiters=2 in int com.android.server.pm.PackageManagerService.checkUidPermission(java.lang.String, int) for 207ms
03-23 00:34:16.879: I/art(1253): Starting a blocking GC Explicit
03-23 00:34:16.940: I/art(1253): Explicit concurrent mark sweep GC freed 66529(3MB) AllocSpace objects, 14(376KB) LOS objects, 27% free, 10MB/14MB, paused 5.170ms total 59.074ms
03-23 00:34:16.940: I/art(1253): [ 03-23 00:34:16.945  1009: 1009 E/         ]
03-23 00:34:16.940: I/art(1253): Couldn't opendir /data/app/vmdl923178097.tmp: No such file or directory
03-23 00:34:16.961: I/ActivityManager(1253): Force stopping com.ionicframework.opinaversao01 appid=10079 user=0: pkg removed
03-23 00:34:17.012: I/InputReader(1253): Reconfiguring input devices.  changes=0x00000010
03-23 00:34:17.072: I/art(1926): Background partial concurrent mark sweep GC freed 279(10KB) AllocSpace objects, 0(0B) LOS objects, 37% free, 6MB/10MB, paused 25.886ms total 107.489ms
03-23 00:34:17.227: W/art(1253): Long monitor contention with owner ActivityManager (1267) at void com.android.server.am.BroadcastQueue.processNextBroadcast(boolean)(BroadcastQueue.java:759) waiters=0 in boolean com.android.server.am.ActivityManagerService.isUserRunning(int, int) for 218ms
03-23 00:34:17.228: W/art(1253): Long monitor contention with owner ActivityManager (1267) at void com.android.server.am.BroadcastQueue.processNextBroadcast(boolean)(BroadcastQueue.java:759) waiters=2 in int com.android.server.am.ActivityManagerService.broadcastIntent(android.app.IApplicationThread, android.content.Intent, java.lang.String, android.content.IIntentReceiver, int, java.lang.String, android.os.Bundle, java.lang.String[], int, android.os.Bundle, boolean, boolean, int) for 214ms
03-23 00:34:17.240: I/InputReader(1253): Reconfiguring input devices.  changes=0x00000010
03-23 00:34:17.251: I/InputReader(1253): Reconfiguring input devices.  changes=0x00000010
03-23 00:34:17.299: W/InputMethodInfo(1253): Duplicated subtype definition found: , voice
03-23 00:34:17.458: D/AndroidRuntime(5500): >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
03-23 00:34:17.461: D/AndroidRuntime(5500): CheckJNI is ON
03-23 00:34:17.495: W/art(5500): Unexpected CPU variant for X86 using defaults: x86
03-23 00:34:17.498: D/ICU(5500): No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
03-23 00:34:17.603: D/CarrierSvcBindHelper(1472): No carrier app for: 0
03-23 00:34:17.604: D/CarrierSvcBindHelper(1472): No carrier app for: 0
03-23 00:34:17.605: D/CarrierConfigLoader(1472): mHandler: 9 phoneId: 0
03-23 00:34:17.622: E/memtrack(5500): Couldn't load memtrack module (No such file or directory)
03-23 00:34:17.622: E/android.os.Debug(5500): failed to load memtrack module: -2
03-23 00:34:17.625: I/Radio-JNI(5500): register_android_hardware_Radio DONE
03-23 00:34:17.682: D/AndroidRuntime(5500): Calling main entry com.android.commands.input.Input
03-23 00:34:17.683: I/Input(5500): injectKeyEvent: KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_MENU, scanCode=0, metaState=0, flags=0x0, repeatCount=0, eventTime=3088065, downTime=3088065, deviceId=-1, source=0x101 }
03-23 00:34:17.703: W/ActivityManager(1253): Permission Denial: Accessing service ComponentInfo{com.google.android.music/com.google.android.music.dial.DialMediaRouteProviderService} from pid=5146, uid=10071 that is not exported from uid 10058
03-23 00:34:17.705: I/Input(5500): injectKeyEvent: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_MENU, scanCode=0, metaState=0, flags=0x0, repeatCount=0, eventTime=3088065, downTime=3088065, deviceId=-1, source=0x101 }
03-23 00:34:17.744: D/AndroidRuntime(5500): Shutting down VM
03-23 00:34:17.783: W/ContextImpl(4310): Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1385 android.content.ContextWrapper.startService:613 android.content.ContextWrapper.startService:613 com.android.keychain.KeyChainBroadcastReceiver.onReceive:12 android.app.ActivityThread.handleReceiver:3011 
03-23 00:34:17.891: W/ActivityManager(1253): Permission Denial: Accessing service ComponentInfo{com.google.android.music/com.google.android.music.dial.DialMediaRouteProviderService} from pid=5146, uid=10071 that is not exported from uid 10058
03-23 00:34:18.145: E/NetworkScheduler.SR(1688): Invalid parameter app
03-23 00:34:18.145: E/NetworkScheduler.SR(1688): Invalid package name : Perhaps you didn't include a PendingIntent in the extras?
03-23 00:34:18.452: D/AndroidRuntime(5511): >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
03-23 00:34:18.455: D/AndroidRuntime(5511): CheckJNI is ON
03-23 00:34:18.592: W/ActivityManager(1253): Permission Denial: Accessing service ComponentInfo{com.google.android.music/com.google.android.music.dial.DialMediaRouteProviderService} from pid=5146, uid=10071 that is not exported from uid 10058
03-23 00:34:18.646: W/art(5511): Unexpected CPU variant for X86 using defaults: x86
03-23 00:34:18.653: D/ICU(5511): No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
03-23 00:34:18.707: E/memtrack(5511): Couldn't load memtrack module (No such file or directory)
03-23 00:34:18.708: E/android.os.Debug(5511): failed to load memtrack module: -2
03-23 00:34:18.709: I/Radio-JNI(5511): register_android_hardware_Radio DONE
03-23 00:34:18.726: D/AndroidRuntime(5511): Calling main entry com.android.commands.am.Am
03-23 00:34:18.775: I/ActivityManager(1253): START u0 {act=android.intent.action.MAIN flg=0x10000000 cmp=com.ionicframework.opinaversao01/.MainActivity} from uid 2000 on display 0
03-23 00:34:18.860: I/ActivityManager(1253): Start proc 5528:com.ionicframework.opinaversao01/u0a79 for activity com.ionicframework.opinaversao01/.MainActivity
03-23 00:34:18.893: I/art(5528): Not late-enabling -Xcheck:jni (already on)
03-23 00:34:18.894: W/art(5528): Unexpected CPU variant for X86 using defaults: x86
03-23 00:34:19.115: W/System(5528): ClassLoader referenced unknown path: /data/app/com.ionicframework.opinaversao01-1/lib/x86
03-23 00:34:19.141: D/gralloc_goldfish(993): gralloc_alloc: Creating ashmem region of size 3932160
03-23 00:34:19.195: I/CordovaLog(5528): Changing log level to DEBUG(3)
03-23 00:34:19.195: I/CordovaActivity(5528): Apache Cordova native platform version 6.1.2 is starting
03-23 00:34:19.201: D/CordovaActivity(5528): CordovaActivity.onCreate()
03-23 00:34:19.215: W/System(5528): ClassLoader referenced unknown path: /system/app/Chrome/lib/x86
03-23 00:34:19.250: I/WebViewFactory(5528): Loading com.android.chrome version 51.0.2704.90 (code 275509012)
03-23 00:34:19.354: I/cr_LibraryLoader(5528): Time to load native libraries: 60 ms (timestamps 9676-9736)
03-23 00:34:19.354: I/cr_LibraryLoader(5528): Expected native library version number "51.0.2704.90", actual native library version number "51.0.2704.90"
03-23 00:34:19.367: V/WebViewChromiumFactoryProvider(5528): Binding Chromium to main looper Looper (main, tid 1) {ad3f8b4}
03-23 00:34:19.367: I/cr_LibraryLoader(5528): Expected native library version number "51.0.2704.90", actual native library version number "51.0.2704.90"
03-23 00:34:19.370: I/chromium(5528): [INFO:library_loader_hooks.cc(143)] Chromium logging enabled: level = 0, default verbosity = 0
03-23 00:34:19.438: I/cr_BrowserStartup(5528): Initializing chromium process, singleProcess=true
03-23 00:34:19.465: E/ApkAssets(5528): Error while loading asset assets/natives_blob_64.bin: java.io.FileNotFoundException: assets/natives_blob_64.bin
03-23 00:34:19.466: E/ApkAssets(5528): Error while loading asset assets/snapshot_blob_64.bin: java.io.FileNotFoundException: assets/snapshot_blob_64.bin
03-23 00:34:19.466: E/ApkAssets(5528): [ 03-23 00:34:19.479  5528: 5528 D/         ]
03-23 00:34:19.466: E/ApkAssets(5528): HostConnection::get() New Host Connection established 0xa5759c00, tid 5528
03-23 00:34:19.466: E/ApkAssets(5528): [ 03-23 00:34:19.510  5528: 5528 W/         ]
03-23 00:34:19.466: E/ApkAssets(5528): Process pipe failed
03-23 00:34:19.531: W/OpenGLRenderer(1926): Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
03-23 00:34:19.813: W/cr_media(5528): Requires BLUETOOTH permission
03-23 00:34:20.075: W/ActivityManager(1253): Slow operation: 162ms so far, now at getContentProviderImpl: after updateOomAdj
03-23 00:34:20.076: W/ActivityManager(1253): Slow operation: 162ms so far, now at getContentProviderImpl: done!
03-23 00:34:20.190: D/cr_Ime(5528): [InputMethodManagerWrapper.java:30] Constructor
03-23 00:34:20.261: W/cr_AwContents(5528): onDetachedFromWindow called when already detached. Ignoring
03-23 00:34:20.268: D/cr_Ime(5528): [InputMethodManagerWrapper.java:59] isActive: false
03-23 00:34:20.315: D/SystemWebViewEngine(5528): CordovaWebView is running on device made by: Google
03-23 00:34:20.333: D/PluginManager(5528): init()
03-23 00:34:20.372: D/cr_Ime(5528): [InputMethodManagerWrapper.java:59] isActive: false
03-23 00:34:20.422: E/SurfaceFlinger(993): ro.sf.lcd_density must be defined as a build property
03-23 00:34:20.478: D/CordovaWebViewImpl(5528): >>> loadUrl(file:///android_asset/www/index.html)
03-23 00:34:20.567: I/cr_Ime(5528): ImeThread is not enabled.
03-23 00:34:20.619: D/CordovaActivity(5528): Started the activity.
03-23 00:34:20.623: D/CordovaActivity(5528): Resumed the activity.
03-23 00:34:20.674: I/art(5528): Background sticky concurrent mark sweep GC freed 23272(1113KB) AllocSpace objects, 5(100KB) LOS objects, 24% free, 5MB/7MB, paused 30.996ms total 292.113ms
03-23 00:34:20.703: I/OpenGLRenderer(5528): Initialized EGL, version 1.4
03-23 00:34:20.703: D/OpenGLRenderer(5528): Swap behavior 1
03-23 00:34:20.703: D/OpenGLRenderer(5528): [ 03-23 00:34:20.704  5528: 5561 D/         ]
03-23 00:34:20.703: D/OpenGLRenderer(5528): HostConnection::get() New Host Connection established 0x96421e80, tid 5561
03-23 00:34:20.757: E/EGL_emulation(5528): tid 5561: eglSurfaceAttrib(1178): error 0x3009 (EGL_BAD_MATCH)
03-23 00:34:20.757: W/OpenGLRenderer(5528): Failed to set EGL_SWAP_BEHAVIOR on surface 0xa57589c0, error=EGL_BAD_MATCH
03-23 00:34:20.817: E/EGL_emulation(5528): tid 5561: eglSurfaceAttrib(1178): error 0x3009 (EGL_BAD_MATCH)
03-23 00:34:20.817: W/OpenGLRenderer(5528): Failed to set EGL_SWAP_BEHAVIOR on surface 0xa575a2a0, error=EGL_BAD_MATCH
03-23 00:34:20.860: E/EGL_emulation(5528): tid 5561: eglSurfaceAttrib(1178): error 0x3009 (EGL_BAD_MATCH)
03-23 00:34:20.860: W/OpenGLRenderer(5528): Failed to set EGL_SWAP_BEHAVIOR on surface 0xa575a2c0, error=EGL_BAD_MATCH
03-23 00:34:20.881: I/WindowManager(1253): Switching to real app window: Window{d313fbb u0 com.ionicframework.opinaversao01/com.ionicframework.opinaversao01.MainActivity}
03-23 00:34:20.996: E/libEGL(5528): validate_display:99 error 3008 (EGL_BAD_DISPLAY)
03-23 00:34:21.090: I/VideoCapabilities(5528): Unsupported profile 4 for video/mp4v-es
03-23 00:34:21.090: I/VideoCapabilities(5528): [ 03-23 00:34:21.112  5528: 5570 D/         ]
03-23 00:34:21.090: I/VideoCapabilities(5528): HostConnection::get() New Host Connection established 0x957b8440, tid 5570
03-23 00:34:21.228: I/WindowManager(1253): Destroying surface Surface(name=com.ionicframework.opinaversao01/com.ionicframework.opinaversao01.MainActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881 com.android.server.wm.WindowState.removeLocked:1449 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2478 com.android.server.wm.WindowManagerService.removeWindowLocked:2436 com.android.server.wm.WindowManagerService.removeWindowLocked:2305 com.android.server.wm.WindowManagerService.removeWindow:2300 com.android.server.wm.Session.remove:193 
03-23 00:34:21.328: I/ActivityManager(1253): Displayed com.ionicframework.opinaversao01/.MainActivity: +2s513ms
03-23 00:34:21.332: D/AndroidRuntime(5511): Shutting down VM
03-23 00:34:21.378: D/CordovaWebViewImpl(5528): onPageDidNavigate(file:///android_asset/www/index.html)
03-23 00:34:21.398: E/chromium(5528): [ERROR:gles2_cmd_decoder.cc(2167)] [GroupMarkerNotSet(crbug.com/242999)!:5429C695]GL ERROR :GL_INVALID_OPERATION : BackFramebuffer::Create: <- error from previous GL command
03-23 00:34:21.563: W/InputMethodManagerService(1253): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@69eb33 attribute=null, token = android.os.BinderProxy@63c723e
03-23 00:34:21.769: I/WindowManager(1253): Destroying surface Surface(name=Starting com.ionicframework.opinaversao01) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881 com.android.server.wm.WindowState.destroyOrSaveSurface:2073 com.android.server.wm.AppWindowToken.destroySurfaces:363 com.android.server.wm.WindowStateAnimator.finishExit:565 com.android.server.wm.WindowStateAnimator.stepAnimationLocked:491 com.android.server.wm.WindowAnimator.updateWindowsLocked:303 com.android.server.wm.WindowAnimator.animateLocked:704 
03-23 00:34:22.348: W/cr_BindingManager(5528): Cannot call determinedVisibility() - never saw a connection for the pid: 5528
03-23 00:34:22.348: D/cr_Ime(5528): [InputMethodManagerWrapper.java:59] isActive: false
03-23 00:34:23.065: I/WindowManager(1253): Destroying surface Surface(name=com.ionicframework.opinaversao01/com.ionicframework.opinaversao01.MainActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881