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
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
expected result
The user should be able to open the
<app_name>/platforms/androidproject 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 cliapptns platform add android@nexttns prepare androidcliapp/platforms/android/in Android Studio >=2.3.3 (tested with 2.3.3 and 3.0.0)