Skip to content

Android Studio integration #876

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Plamen5kov opened this issue Nov 2, 2017 · 1 comment
Closed

Android Studio integration #876

Plamen5kov opened this issue Nov 2, 2017 · 1 comment
Assignees
Labels

Comments

@Plamen5kov
Copy link
Contributor

Plamen5kov commented Nov 2, 2017

problem
When an android project is built with the CLI, it can't be opened in Android Studio.

solution
In order for a user to open a project prepared with the CLI in Android Studio, we need to change the user project template.

benefits

  • Android Studio can be used for the publishing process
  • The user project can be debugged more easily
  • prerequisite for integrating the android-runtime in native application

expected result
The user should be able to open the <app_name>/platforms/android project in Android Studio once the project is prepared by cli: tns prepare android, then run the application.

how to test

  • tns create cliapp (--ng)
  • cd cliapp
  • tns platform add android@next
  • tns prepare android
  • open cliapp/platforms/android/ in Android Studio >=2.3.3 (tested with 2.3.3 and 3.0.0)
  • run in Android Studio
  • application should build and run ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants