0

I used this link https://blog.angular.io/apps-that-work-natively-on-the-web-and-mobile-9b26852495e7 to create a new shared application and it showed site on browser correctly. But when I built apk and installed in mobile, its showing error "Application entry point file not found"

Commands I followed:

ng new --collection=@nativescript/schematics --name=my-app --shared

cd my-app

tns build android

---> generated apk file which I tried to run on mobile but got error.

Manoj
  • 21,753
  • 3
  • 20
  • 41
user2349115
  • 1,288
  • 2
  • 17
  • 34

1 Answers1

4

You need tns build android --bundle command as code shared projects work only with --bundle option.

Fatme
  • 121
  • 2