Android only Crash "Application entry point file not found"

android

#1

Hi,
My project is running great on Android and iOS simulator and also on iPhone. Apple Connect and devices are ok, but Google Play Console tests and Android devices shows the screen startup and crash inmediatly.

I’m running the app succesfully on the emulator (although I see the same error at terminal, but no crashes) by
tns run android --bundle --env.aot --env.snapshot --env.uglify

No issues were detected.
✔ Your ANDROID_HOME environment variable is set and points to correct directory.
✔ Your adb from the Android SDK is correctly installed.
✔ The Android SDK is installed.
✔ A compatible Android SDK for compilation is found.
✔ Javac is installed and is configured properly.
✔ The Java Development Kit (JDK) is installed and is configured properly.
✔ Xcode is installed and is configured properly.
✔ xcodeproj is installed and is configured properly.
✔ CocoaPods are installed.
✔ CocoaPods update is not required.
✔ CocoaPods are configured properly.
✔ Your current CocoaPods version is newer than 1.0.0.
✔ Python installed and configured correctly.
✔ The Python 'six' package is found.
✔ Getting NativeScript components versions information...
✔ Component nativescript has 4.1.0 version and is up to date.
✔ Component tns-core-modules has 4.1.0 version and is up to date.
⚠ Update available for component tns-android. Your current version is 4.1.1 and the latest available version is 4.1.2.
✔ Component tns-ios has 4.1.0 version and is up to date.
"nativescript": {
    "id": "com.uvox.selector",
    "tns-android": {
      "version": "4.1.1"
    },
    "tns-ios": {
      "version": "4.1.0"
    }
  },
  "scripts": {
    "lint": "tslint \"app/**/*.ts\""
  },
  "dependencies": {
    "@angular/animations": "^5.2.10",
    "@angular/common": "^5.2.10",
    "@angular/compiler": "^5.2.10",
    "@angular/core": "^5.2.10",
    "@angular/forms": "^5.2.10",
    "@angular/http": "^5.2.10",
    "@angular/platform-browser": "^5.2.10",
    "@angular/platform-browser-dynamic": "^5.2.10",
    "@angular/router": "^5.2.10",
    "email-validator": "^1.2.3",
    "gulp-typescript": "^4.0.2",
    "is-valid-birthdate": "^0.1.0",
    "moment": "^2.22.1",
    "nativescript-angular": "~5.2.0",
    "nativescript-appversion": "^1.4.1",
    "nativescript-checkbox": "^3.0.3",
    "nativescript-directions": "^1.2.0",
    "nativescript-facebook": "^2.2.2",
    "nativescript-iqkeyboardmanager": "^1.3.0",
    "nativescript-localize": "^2.3.2",
    "nativescript-modal-datetimepicker": "^1.1.2",
    "nativescript-pro-ui": "~3.3.0",
    "nativescript-pulltorefresh": "^2.1.0",
    "nativescript-social-share": "^1.5.0",
    "nativescript-theme-core": "^1.0.4",
    "nativescript-unit-test-runner": "^0.3.4",
    "reflect-metadata": "~0.1.10",
    "remove-accents-diacritics": "^1.0.2",
    "rxjs": "^5.5.10",
    "tns-core-modules": "^4.1.0",
    "zone.js": "^0.8.26"
  },
  "devDependencies": {
    "@angular/compiler-cli": "^5.2.10",
    "@ngtools/webpack": "^1.10.2",
    "@types/mocha": "^5.2.0",
    "babel-traverse": "6.26.0",
    "babel-types": "6.26.0",
    "babylon": "6.18.0",
    "chai": "^4.1.2",
    "clean-webpack-plugin": "~0.1.19",
    "codelyzer": "~4.0.2",
    "copy-webpack-plugin": "~4.3.0",
    "css-loader": "^0.28.11",
    "extract-text-webpack-plugin": "~3.0.2",
    "gulp": "^3.9.1",
    "gulp-less": "^3.5.0",
    "gulp-sass": "^3.2.1",
    "gulp-sourcemaps": "^2.6.4",
    "karma": "^2.0.2",
    "karma-chai": "^0.1.0",
    "karma-mocha": "^1.3.0",
    "karma-nativescript-launcher": "^0.4.0",
    "lazy": "1.0.11",
    "mocha": "^5.1.1",
    "nativescript-dev-sass": "^1.5.0",
    "nativescript-dev-typescript": "^0.7.1",
    "nativescript-dev-webpack": "^0.10.2",
    "nativescript-worker-loader": "^0.8.1",
    "raw-loader": "~0.5.1",
    "resolve-url-loader": "~2.2.1",
    "sass-loader": "^6.0.7",
    "tslint": "~5.8.0",
    "typescript": "^2.8.1",
    "uglifyjs-webpack-plugin": "^1.2.5",
    "webpack": "~3.10.0",
    "webpack-bundle-analyzer": "^2.11.1",
    "webpack-sources": "^1.1.0"
  },

I’m adding the log as appears on Google Play Console

java.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Application entry point file not found. Please specify the file in package.json otherwise make sure the file index.js or bootstrap.js exists.\nIf using typescript make sure your entry point file is transpiled to javascript.

FATAL EXCEPTION: main
Process: com.uvox.selector, PID: 13282
java.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Application entry point file not found. Please specify the file in package.json otherwise make sure the file index.js or bootstrap.js exists.\nIf using typescript make sure your entry point file is transpiled to javascript.
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5678)
at android.app.ActivityThread.-wrap2(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1637)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:156)
at android.app.ActivityThread.main(ActivityThread.java:6524)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:941)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:831)
Caused by: com.tns.NativeScriptException: Application entry point file not found. Please specify the file in package.json otherwise make sure the file index.js or bootstrap.js exists.\nIf using typescript make sure your entry point file is transpiled to javascript.
at com.tns.Module.bootstrapApp(Module.java:311)
at com.tns.Runtime.run(Runtime.java:521)
at com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:21)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1028)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5659)
… 8 more
Caused by: com.tns.NativeScriptException: Failed to find module: “./”, relative to: app//
at com.tns.Module.resolvePathHelper(Module.java:146)
at com.tns.Module.bootstrapApp(Module.java:309)
… 12 more

THE SIMULATOR RUNS THE APP OK but shows the same errors on the terminal, I include it on the next post …


#3

Webpack compilation complete. Watching for file changes.
Webpack build done!
Executing before-shouldPrepare hook from /Users/a77/MyRepos/U-Vox 5/Selector/hooks/before-shouldPrepare/nativescript-dev-webpack.js
Skipping prepare.
Successfully transferred all files.
Refreshing application…
Successfully synced application com.uvox.selector on device emulator-5554.
ActivityManager: Start proc 17920:com.google.android.calendar/u0a43 for broadcast com.google.android.calendar/.widgetmonth.MonthViewWidgetProvider
ActivityManager: Start proc 17941:com.android.providers.calendar/u0a2 for content provider com.android.providers.calendar/.CalendarProvider2
ActivityManager: Killing 15380:android.process.media/u0a10 (adj 906): empty for 10428s
ActivityManager: Killing 7415:com.google.android.apps.messaging:rcs/u0a71 (adj 906): empty for 13447s
ActivityManager: Start proc 22692:com.google.android.apps.photos/u0a69 for broadcast com.google.android.apps.photos/com.google.android.apps.moviemaker.app.ApplicationEnabler$Receiver
ActivityManager: Start proc 22727:com.google.process.gapps/u0a14 for broadcast com.google.android.gsf/.loginservice.ServicesWatcher
ActivityManager: Unable to start service Intent { cmp=com.google.android.gms/.analytics.service.RefreshEnabledStateService } U=0: not found
ActivityManager: Start proc 22770:com.google.android.configupdater/u0a5 for service com.google.android.configupdater/.MainJobService
ActivityManager: Killing 4865:com.google.android.youtube/u0a78 (adj 906): empty for 30459s
ActivityManager: Start proc 22795:android.process.media/u0a10 for content provider com.android.providers.downloads/.DownloadProvider
ActivityManager: Killing 17920:com.google.android.calendar/u0a43 (adj 906): empty for 20066s
ActivityManager: Killing 15790:com.google.android.apps.wallpaper/u0a30 (adj 906): empty for 29069s
ActivityManager: Killing 15672:com.google.android.talk/u0a58 (adj 906): empty for 13615s
ActivityManager: Start proc 23322:com.google.android.talk/u0a58 for service com.google.android.talk/com.google.android.apps.hangouts.concurrent.impl.GcmTriggeredNotifier
ActivityManager: Killing 17941:com.android.providers.calendar/u0a2 (adj 906): empty for 11795s
ActivityManager: Start proc 24325:android.process.acore/u0a3 for content provider com.android.providers.contacts/.ContactsProvider2
ActivityManager: Killing 22692:com.google.android.apps.photos/u0a69 (adj 906): empty for 10259s
ActivityManager: Start proc 24781:com.google.android.youtube/u0a78 for service com.google.android.youtube/com.google.android.libraries.youtube.common.gcore.gcoreclient.gcm.impl.GcmTaskServiceDelegator
ActivityManager: Permission Denial: Accessing service ComponentInfo{com.google.android.music/com.google.android.music.dial.DialMediaRouteProviderService} from pid=24781, uid=10078 that is not exported from uid 10065
ActivityManager: Killing 22727:com.google.process.gapps/u0a14 (adj 906): empty for 13346s
ActivityManager: Start proc 27083:com.google.android.apps.messaging/u0a71 for broadcast com.google.android.apps.messaging/.shared.analytics.AnalyticsAlarmReceiver
ActivityManager: Killing 22770:com.google.android.configupdater/u0a5 (adj 906): empty for 22781s
ActivityManager: Start proc 27112:com.google.android.apps.messaging:rcs/u0a71 for service com.google.android.apps.messaging/com.google.android.ims.service.JibeService
ActivityManager: Killing 23322:com.google.android.talk/u0a58 (adj 906): empty for 15404s
ActivityManager: Start proc 31959:com.google.process.gapps/u0a14 for content provider com.google.android.gsf/.settings.GoogleSettingsProvider
ActivityManager: Start proc 31995:com.google.android.apps.photos/u0a69 for broadcast com.google.android.apps.photos/com.google.android.apps.moviemaker.app.ApplicationEnabler$Receiver
ActivityManager: Unable to start service Intent { cmp=com.google.android.gms/.analytics.service.RefreshEnabledStateService } U=0: not found
ActivityManager: Start proc 32052:com.google.android.configupdater/u0a5 for service com.google.android.configupdater/.MainJobService
ActivityManager: Killing 24325:android.process.acore/u0a3 (adj 904): empty for 33334s
ActivityManager: Killing 24781:com.google.android.youtube/u0a78 (adj 904): empty for 3629s
ActivityManager: Killing 22795:android.process.media/u0a10 (adj 906): empty for 30263s
ActivityManager: Start proc 403:com.google.android.youtube/u0a78 for service com.google.android.youtube/com.google.android.libraries.youtube.common.gcore.gcoreclient.gcm.impl.GcmTaskServiceDelegator
ActivityManager: Permission Denial: Accessing service ComponentInfo{com.google.android.music/com.google.android.music.dial.DialMediaRouteProviderService} from pid=403, uid=10078 that is not exported from uid 10065
ActivityManager: Killing 31995:com.google.android.apps.photos/u0a69 (adj 904): empty for 5548s
ActivityManager: Start proc 1135:com.google.android.gms.ui/u0a14 for service com.google.android.gms/.chimera.UiIntentOperationService
ActivityManager: Killing 27112:com.google.android.apps.messaging:rcs/u0a71 (adj 904): empty for 8043s
ActivityManager: Scheduling restart of crashed service com.google.android.apps.messaging/com.google.android.ims.service.JibeService in 1000ms
ActivityManager: Start proc 1178:com.google.android.apps.messaging:rcs/u0a71 for service com.google.android.apps.messaging/com.google.android.ims.service.JibeService
ActivityManager: Killing 27083:com.google.android.apps.messaging/u0a71 (adj 906): empty for 8045s
ActivityManager: Start proc 1461:com.google.android.apps.maps/u0a66 for service com.google.android.apps.maps/com.google.android.apps.gmm.shared.cache.glide.GlideDiskCacheExpirationService
ActivityManager: Killing 31959:com.google.process.gapps/u0a14 (adj 906): empty for 8897s
ActivityManager: Start proc 2108:com.google.android.videos/u0a74 for service com.google.android.videos/.service.drm.RefreshLicenseTaskService
ActivityManager: Unable to start service Intent { act=com.android.vending.contentfilters.IContentFiltersService.BIND pkg=com.android.vending } U=0: not found
ActivityManager: Background start not allowed: service Intent { cmp=com.google.android.videos/.service.pinning.TransferService (has extras) } to com.google.android.videos/.service.pinning.TransferService from pid=2108 uid=10074 pkg=com.google.android.videos
ActivityManager: Killing 32052:com.google.android.configupdater/u0a5 (adj 906): empty for 10570s
ActivityManager: Start proc 3069:android.process.media/u0a10 for content provider com.android.providers.downloads/.DownloadProvider
ActivityManager: Killing 1135:com.google.android.gms.ui/u0a14 (adj 906): empty for 5300s
ActivityManager: Start proc 3285:com.google.android.apps.wallpaper/u0a30 for broadcast com.google.android.apps.wallpaper/.module.DailyLoggingAlarmReceiver
ActivityManager: Killing 1178:com.google.android.apps.messaging:rcs/u0a71 (adj 906): empty for 5935s
ActivityManager: Start proc 5359:com.google.android.calendar/u0a43 for broadcast com.google.android.calendar/com.android.calendar.widget.CalendarAppWidgetProvider
ActivityManager: Start proc 5386:com.android.providers.calendar/u0a2 for content provider com.android.providers.calendar/.CalendarProvider2
ActivityManager: Killing 2108:com.google.android.videos/u0a74 (adj 906): empty for 11780s
ActivityManager: Killing 1461:com.google.android.apps.maps/u0a66 (adj 906): empty for 13460s
ActivityManager: Start proc 5479:com.google.android.gms.ui/u0a14 for service com.google.android.gms/.chimera.UiIntentOperationService
ActivityManager: Killing 3069:android.process.media/u0a10 (adj 906): empty for 9217s
ActivityManager: Start proc 10129:com.google.process.gapps/u0a14 for content provider com.google.android.gsf/.settings.GoogleSettingsProvider
ActivityManager: Killing 403:com.google.android.youtube/u0a78 (adj 906): empty for 29198s
ActivityManager: Start proc 10730:com.google.android.talk/u0a58 for service com.google.android.talk/com.google.android.apps.hangouts.concurrent.impl.GcmTriggeredNotifier
ActivityManager: Killing 3285:com.google.android.apps.wallpaper/u0a30 (adj 906): empty for 32816s
ActivityManager: Start proc 11717:android.process.acore/u0a3 for content provider com.android.providers.contacts/.ContactsProvider2
ActivityManager: Killing 5359:com.google.android.calendar/u0a43 (adj 906): empty for 31045s
ActivityManager: Start proc 12219:android.process.media/u0a10 for content provider com.android.providers.downloads/.DownloadProvider
ActivityManager: Start proc 12238:com.google.android.youtube/u0a78 for service com.google.android.youtube/com.google.android.libraries.youtube.common.gcore.gcoreclient.gcm.impl.GcmTaskServiceDelegator
ActivityManager: Permission Denial: Accessing service ComponentInfo{com.google.android.music/com.google.android.music.dial.DialMediaRouteProviderService} from pid=12238, uid=10078 that is not exported from uid 10065
ActivityManager: Killing 5386:com.android.providers.calendar/u0a2 (adj 906): empty for 22205s
ActivityManager: Killing 5479:com.google.android.gms.ui/u0a14 (adj 906): empty for 34409s
ActivityManager: Start proc 14469:com.google.android.apps.messaging/u0a71 for broadcast com.google.android.apps.messaging/.shared.analytics.AnalyticsAlarmReceiver
ActivityManager: Start proc 14508:com.google.android.apps.messaging:rcs/u0a71 for service com.google.android.apps.messaging/com.google.android.ims.service.JibeService
ActivityManager: Killing 10129:com.google.process.gapps/u0a14 (adj 906): empty for 23524s
ActivityManager: Killing 10730:com.google.android.talk/u0a58 (adj 906): empty for 15142s
ActivityManager: Start proc 19109:com.google.process.gapps/u0a14 for broadcast com.google.android.gsf/.settings.GoogleLocationSettings$LocationSettingsChangedListener
ActivityManager: Killing 11717:android.process.acore/u0a3 (adj 906): empty for 32369s
ActivityManager: Slow operation: 139ms so far, now at startProcess: returned from zygote!
ActivityManager: Slow operation: 139ms so far, now at startProcess: done updating battery stats
ActivityManager: Slow operation: 145ms so far, now at startProcess: building log message
ActivityManager: Start proc 21199:com.google.android.dialer/u0a18 for broadcast com.google.android.dialer/com.google.android.apps.dialer.phenotype.UpdateBroadcastReceiver
ActivityManager: Slow operation: 145ms so far, now at startProcess: starting to update pids map
ActivityManager: Slow operation: 145ms so far, now at startProcess: done updating pids map
ActivityManager: Slow operation: 145ms so far, now at startProcess: done starting proc!
ActivityManager: Start proc 21224:com.google.android.gms.feedback/u0a14 for service com.google.android.gms/.feedback.FeedbackService
ActivityManager: Start proc 21251:com.google.android.gms.ui/u0a14 for service com.google.android.gms/.chimera.UiIntentOperationService
ActivityManager: Killing 12219:android.process.media/u0a10 (adj 906): empty for 37692s
ActivityManager: Killing 19109:com.google.process.gapps/u0a14 (adj 906): empty for 8890s
ActivityManager: Killing 12238:com.google.android.youtube/u0a78 (adj 906): empty for 3386s
ActivityManager: Start proc 21520:com.google.android.apps.maps/u0a66 for service com.google.android.apps.maps/com.google.android.apps.gmm.shared.cache.glide.GlideDiskCacheExpirationService
ActivityManager: Start proc 21571:com.google.process.gapps/u0a14 for content provider com.google.android.gsf/.settings.GoogleSettingsProvider
ActivityManager: Killing 21224:com.google.android.gms.feedback/u0a14 (adj 906): empty for 1813s
ActivityManager: Killing 21199:com.google.android.dialer/u0a18 (adj 906): empty for 1813s
ActivityManager: Scheduling restart of crashed service com.google.android.gms/.feedback.FeedbackService in 1000ms
ActivityManager: Start proc 22343:com.google.android.youtube/u0a78 for service com.google.android.youtube/com.google.android.libraries.youtube.common.gcore.gcoreclient.gcm.impl.GcmTaskServiceDelegator
ActivityManager: Permission Denial: Accessing service ComponentInfo{com.google.android.music/com.google.android.music.dial.DialMediaRouteProviderService} from pid=22343, uid=10078 that is not exported from uid 10065
ActivityManager: Killing 14469:com.google.android.apps.messaging/u0a71 (adj 906): empty for 6741s
ActivityManager: Start proc 22464:com.google.android.apps.wallpaper/u0a30 for broadcast com.google.android.apps.wallpaper/.module.DailyLoggingAlarmReceiver
ActivityManager: Start proc 22479:android.process.media/u0a10 for content provider com.android.providers.downloads/.DownloadProvider
ActivityManager: Killing 21520:com.google.android.apps.maps/u0a66 (adj 906): empty for 5102s
ActivityManager: Killing 21251:com.google.android.gms.ui/u0a14 (adj 906): empty for 6782s
ActivityManager: Force finishing activity com.android.systemui/.recents.RecentsActivity
ActivityManager: Killing 2027:com.android.systemui/u0a31 (adj -800): user request after error
ActivityManager: Process com.android.systemui (pid 2027) has died: pers PER
ActivityManager: Scheduling restart of crashed service com.android.systemui/.SystemUIService in 0ms
ActivityManager: Scheduling restart of crashed service com.android.systemui/.keyguard.KeyguardService in 0ms
ActivityManager: Scheduling restart of crashed service com.android.systemui/.ImageWallpaper in 0ms
ActivityManager: Re-adding persistent process ProcessRecord{5912124 2027:com.android.systemui/u0a31}
ActivityManager: Start proc 22877:com.android.systemui/u0a31 for restart com.android.systemui
ActivityManager: setHasOverlayUi called on unknown pid: 2027
06-13 22:26:10.518 1868 1886 W Looper : Dispatch took 205ms on android.ui, h=Handler (com.android.server.am.ActivityManagerService$UiHandler) {720b9d9} cb=null msg=53
ActivityManager: Activity pause timeout for ActivityRecord{bc0dc78 u0 com.uvox.selector/com.tns.NativeScriptActivity t438}
ActivityManager: Slow operation: 97ms so far, now at startProcess: returned from zygote!
ActivityManager: Slow operation: 98ms so far, now at startProcess: done updating battery stats
ActivityManager: Slow operation: 98ms so far, now at startProcess: building log message
ActivityManager: Start proc 22929:com.android.keychain/1000 for service com.android.keychain/.KeyChainService
ActivityManager: Slow operation: 98ms so far, now at startProcess: starting to update pids map
ActivityManager: Slow operation: 98ms so far, now at startProcess: done updating pids map
ActivityManager: Slow operation: 98ms so far, now at startProcess: done starting proc!
ActivityManager: Activity reported stop, but no longer stopping: ActivityRecord{bc0dc78 u0 com.uvox.selector/com.tns.NativeScriptActivity t438}
ActivityManager: Start proc 22965:android.process.acore/u0a3 for content provider com.android.providers.contacts/.ContactsProvider2
ActivityManager: START u0 {flg=0x10804000 cmp=com.android.systemui/.recents.RecentsActivity} from uid 10031
ActivityManager: Killing 21571:com.google.process.gapps/u0a14 (adj 906): empty for 6668s
ActivityManager: Killing 9613:com.uvox.selector/u0a166 (adj 900): remove task
ActivityManager: setHasOverlayUi called on unknown pid: 9613
ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.google.android.apps.nexuslauncher/.NexusLauncherActivity} from uid 10031
ActivityManager: Force stopping com.uvox.selector appid=10166 user=-1: deletePackageX
ActivityManager: Start proc 23079:com.android.defcontainer/u0a7 for service com.android.defcontainer/.DefaultContainerService
ActivityManager: Force stopping com.uvox.selector appid=10166 user=0: pkg removed
ActivityManager: Permission Denial: Accessing service ComponentInfo{com.google.android.music/com.google.android.music.dial.DialMediaRouteProviderService} from pid=22343, uid=10078 that is not exported from uid 10065
ActivityManager: Start proc 23099:com.android.documentsui/u0a12 for broadcast com.android.documentsui/.PackageReceiver
ActivityManager: Start proc 23140:com.google.android.apps.docs/u0a53 for content provider com.google.android.apps.docs/.storagebackend.StorageBackendContentProvider
ActivityManager: Killing 1532:com.google.android.gms.unstable/u0a14 (adj 906): empty for 3318s
ActivityManager: Permission Denial: Accessing service ComponentInfo{com.google.android.music/com.google.android.music.dial.DialMediaRouteProviderService} from pid=22343, uid=10078 that is not exported from uid 10065
ActivityManager: Force stopping com.uvox.selector appid=10167 user=0: from pid 23218
ActivityManager: Permission Denial: Accessing service ComponentInfo{com.google.android.music/com.google.android.music.dial.DialMediaRouteProviderService} from pid=22343, uid=10078 that is not exported from uid 10065
ActivityManager: START u0 {flg=0x10000000 cmp=com.uvox.selector/com.tns.NativeScriptActivity} from uid 2000
ActivityManager: Start proc 23245:com.uvox.selector/u0a167 for activity com.uvox.selector/com.tns.NativeScriptActivity
ActivityManager: Slow operation: 95ms so far, now at attachApplicationLocked: after mServices.attachApplicationLocked
ActivityManager: Killing 22343:com.google.android.youtube/u0a78 (adj 904): empty for 1801s
ActivityManager: Killing 14508:com.google.android.apps.messaging:rcs/u0a71 (adj 906): empty for 1812s
ActivityManager: Killing 22464:com.google.android.apps.wallpaper/u0a30 (adj 906): empty for 1804s
ActivityManager: Slow operation: 68ms so far, now at startProcess: returned from zygote!
ActivityManager: Slow operation: 68ms so far, now at startProcess: done updating battery stats
ActivityManager: Slow operation: 68ms so far, now at startProcess: building log message
ActivityManager: Start proc 10786:com.google.android.gms.unstable/u0a14 for service com.google.android.gms/.droidguard.DroidGuardService
ActivityManager: Slow operation: 69ms so far, now at startProcess: starting to update pids map
ActivityManager: Slow operation: 69ms so far, now at startProcess: done updating pids map
ActivityManager: Slow operation: 70ms so far, now at startProcess: done starting proc!
ActivityManager: Killing 29917:com.google.android.partnersetup/u0a20 (adj 906): empty for 2501s
ActivityManager: Start proc 25239:com.google.android.partnersetup/u0a20 for service com.google.android.partnersetup/.InstalledAppJobService
ActivityManager: Killing 22965:android.process.acore/u0a3 (adj 906): empty for 2882s
ActivityManager: Force stopping com.uvox.selector appid=10167 user=-1: deletePackageX
ActivityManager: Killing 23245:com.uvox.selector/u0a167 (adj 0): stop com.uvox.selector
ActivityManager: Force removing ActivityRecord{e1e7430 u0 com.uvox.selector/com.tns.NativeScriptActivity t440}: app died, no saved state
ActivityManager: setHasOverlayUi called on unknown pid: 23245
06-13 23:39:08.976 1868 1886 W Looper : Dispatch took 886ms on android.ui, h=Handler (com.android.server.am.ActivityManagerService$UiHandler) {720b9d9} cb=null msg=53
ActivityManager: Force stopping com.uvox.selector appid=10167 user=0: pkg removed
06-13 23:39:14.730 1868 1890 W zygote : Long monitor contention with owner Binder:1868_C (3124) at int com.android.server.am.ActivityManagerService.bindService(android.app.IApplicationThread, android.os.IBinder, android.content.Intent, java.lang.String, android.app.IServiceConnection, int, java.lang.String, int)(ActivityManagerService.java:18421) waiters=2 in void com.android.server.am.ActivityManagerService.monitor() for 363ms
06-13 23:39:24.734 11607 11628 W dex2oat : Verification of android.net.Uri com.facebook.applinks.FacebookAppLinkResolver.getWebFallbackUriFromJson(android.net.Uri, org.json.JSONObject) took 143.482ms
06-13 23:39:27.593 1868 25281 W zygote : Long monitor contention with owner Binder:1868_4 (2154) at android.content.ComponentName com.android.server.am.ActivityManagerService.startService(android.app.IApplicationThread, android.content.Intent, java.lang.String, boolean, java.lang.String, int)(ActivityManagerService.java:18272) waiters=0 in void com.android.server.am.ActivityManagerService.serviceDoneExecuting(android.os.IBinder, int, int, int) for 326ms
ActivityManager: Force stopping com.uvox.selector appid=10168 user=0: from pid 11713
ActivityManager: START u0 {flg=0x10000000 cmp=com.uvox.selector/com.tns.NativeScriptActivity} from uid 2000
ActivityManager: Start proc 11759:com.uvox.selector/u0a168 for activity com.uvox.selector/com.tns.NativeScriptActivity
System.err: java.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Application entry point file not found. Please specify the file in package.json otherwise make sure the file index.js or bootstrap.js exists.\nIf using typescript make sure your entry point file is transpiled to javascript.
System.err: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5743)
System.err: at android.app.ActivityThread.-wrap1(Unknown Source:0)
System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1656)
System.err: at android.os.Handler.dispatchMessage(Handler.java:106)
System.err: at android.os.Looper.loop(Looper.java:164)
System.err: at android.app.ActivityThread.main(ActivityThread.java:6494)
System.err: at java.lang.reflect.Method.invoke(Native Method)
System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
System.err: Caused by: com.tns.NativeScriptException: Application entry point file not found. Please specify the file in package.json otherwise make sure the file index.js or bootstrap.js exists.\nIf using typescript make sure your entry point file is transpiled to javascript.
System.err: at com.tns.Module.bootstrapApp(Module.java:311)
System.err: at com.tns.Runtime.run(Runtime.java:521)
System.err: at com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:21)
System.err: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1119)
System.err: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5740)
System.err: … 8 more
System.err: Caused by: com.tns.NativeScriptException: Failed to find module: “./”, relative to: app//
System.err: at com.tns.Module.resolvePathHelper(Module.java:146)
System.err: at com.tns.Module.bootstrapApp(Module.java:309)
System.err: … 12 more
ActivityManager: START u0 {flg=0x14008000 cmp=com.uvox.selector/com.tns.ErrorReportActivity (has extras)} from uid 10168
ActivityManager: Process com.uvox.selector (pid 11759) has died: fore TOP
ActivityManager: Start proc 11788:com.uvox.selector/u0a168 for activity com.uvox.selector/com.tns.ErrorReportActivity
06-13 23:39:33.566 1868 1885 W zygote : Long monitor contention with owner Binder:1868_D (3142) at void com.android.server.am.ActivityManagerService$AppDeathRecipient.binderDied()(ActivityManagerService.java:1625) waiters=1 in void com.android.server.am.ActivityMetricsLogger.checkVisibility(com.android.server.am.TaskRecord, com.android.server.am.ActivityRecord) for 131ms
06-13 23:39:33.567 1868 1886 W Looper : Dispatch took 180ms on android.ui, h=Handler (com.android.server.am.ActivityManagerService$UiHandler) {720b9d9} cb=null msg=53
ActivityManager: Slow operation: 53ms so far, now at attachApplicationLocked: immediately after bindApplication
ActivityManager: Slow operation: 106ms so far, now at attachApplicationLocked: after updateLruProcessLocked
ActivityManager: Slow operation: 248ms so far, now at attachApplicationLocked: after mServices.attachApplicationLocked
06-13 23:39:33.985 1868 3142 W zygote : Long monitor contention with owner Binder:1868_B (2541) at void com.android.server.am.ActivityManagerService.attachApplication(android.app.IApplicationThread)(ActivityManagerService.java:7216) waiters=0 in android.app.ActivityManager$StackInfo com.android.server.am.ActivityManagerService.getStackInfo(int) for 233ms
06-13 23:39:33.987 1868 1886 W zygote : Long monitor contention with owner Binder:1868_B (2541) at void com.android.server.am.ActivityManagerService.attachApplication(android.app.IApplicationThread)(ActivityManagerService.java:7216) waiters=3 in void com.android.server.am.ActivityManagerService.dispatchProcessesChanged() for 135ms
06-13 23:39:33.987 1868 1886 W Looper : Dispatch took 136ms on android.ui, h=Handler (com.android.server.am.ActivityManagerService$UiHandler) {720b9d9} cb=null msg=31
ActivityManager: Displayed com.uvox.selector/com.tns.ErrorReportActivity: +2s317ms (total +4s740ms)
ActivityManager: START u0 {flg=0x10804000 cmp=com.android.systemui/.recents.RecentsActivity} from uid 10031
ActivityManager: Process com.uvox.selector (pid 11788) has died: prcp TOP
ActivityManager: setHasOverlayUi called on unknown pid: 11788
ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.google.android.apps.nexuslauncher/.NexusLauncherActivity} from uid 10031
06-13 23:42:17.757 1868 1886 W Looper : Dispatch took 107ms on android.ui, h=Handler (com.android.server.am.ActivityManagerService$UiHandler) {720b9d9} cb=null msg=31
ActivityManager: Force stopping com.uvox.selector appid=10168 user=-1: deletePackageX
ActivityManager: Force stopping com.uvox.selector appid=10168 user=0: pkg removed
ActivityManager: Force stopping com.uvox.selector appid=10169 user=0: from pid 21811
ActivityManager: START u0 {flg=0x10000000 cmp=com.uvox.selector/com.tns.NativeScriptActivity} from uid 2000
ActivityManager: Slow operation: 57ms so far, now at startProcess: returned from zygote!
ActivityManager: Slow operation: 57ms so far, now at startProcess: done updating battery stats
ActivityManager: Slow operation: 57ms so far, now at startProcess: building log message
ActivityManager: Start proc 21844:com.uvox.selector/u0a169 for activity com.uvox.selector/com.tns.NativeScriptActivity
ActivityManager: Slow operation: 57ms so far, now at startProcess: starting to update pids map
ActivityManager: Slow operation: 57ms so far, now at startProcess: done updating pids map
ActivityManager: Slow operation: 58ms so far, now at startProcess: done starting proc!
JS: app init
JS: i18n json version: 6
JS: Angular is running in the development mode. Call enableProdMode() to enable the production mode.
JS: ANGULAR BOOTSTRAP DONE. 3364
JS: loading login
ActivityManager: Displayed com.uvox.selector/com.tns.NativeScriptActivity: +4s806ms
ActivityManager: START u0 {flg=0x10804000 cmp=com.android.systemui/.recents.RecentsActivity} from uid 10031
ActivityManager: START u0 {flg=0x10804000 cmp=com.android.systemui/.recents.RecentsActivity} from uid 10031
ActivityManager: Killing 10786:com.google.android.gms.unstable/u0a14 (adj 906): empty for 3684s
ActivityManager: Killing 21844:com.uvox.selector/u0a169 (adj 900): remove task
06-13 23:56:40.513 1868 1886 W Looper : Dispatch took 176ms on android.ui, h=Handler (com.android.server.am.ActivityManagerService$UiHandler) {720b9d9} cb=null msg=53
06-13 23:56:40.528 1868 2011 W zygote : Long monitor contention with owner Binder:1868_1D (27326) at boolean com.android.server.am.ActivityManagerService.removeTask(int)(ActivityManagerService.java:10427) waiters=2 in void com.android.server.am.TaskPersister$LazyTaskWriterThread.processNextItem() for 157ms
ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.google.android.apps.nexuslauncher/.NexusLauncherActivity} from uid 10031
ActivityManager: setHasOverlayUi called on unknown pid: 21844
06-13 23:56:40.997 1868 1886 W Looper : Dispatch took 135ms on android.ui, h=Handler (com.android.server.am.ActivityManagerService$UiHandler) {720b9d9} cb=null msg=53
ActivityManager: Force stopping com.uvox.selector appid=10169 user=0: from pid 25268
ActivityManager: START u0 {flg=0x10000000 cmp=com.uvox.selector/com.tns.NativeScriptActivity} from uid 2000
ActivityManager: Start proc 25296:com.uvox.selector/u0a169 for activity com.uvox.selector/com.tns.NativeScriptActivity
ActivityManager: Slow operation: 51ms so far, now at attachApplicationLocked: after mServices.attachApplicationLocked


#4

After finding similar situations on Stack Overflow I have updated my node version from Node 8.x to 10.x, and the simulator is working and also not dropping this error. But the apk it’s giving the same error on the Google Console and it’s crashing on the device . Any ideas?


#5

Not sure if your problem is related to this or not but I’m having the problem with latest webpack where if I’ve my pages outside of root folder they are not working. they work if I just run “tns run android”, and they don’t if I run “tns run android --bundle”


#6

Thanks but all my pages are inside app folder …