10 Answers, 1 is accepted
We believe that this is fixed already! Please pull the latest from master branch or install our just released 0.10 version from npm.
Regards,
Vlad
Telerik
See What's Next in App Development. Register for TelerikNEXT.
Hi Vlad,
This solve my problem, thank you.
I have other question, is possible install Telerik Android UI (Chart UI)?
Indeed you can add third party library using NativeScript CLI library add command.
Regards,
Vlad
Telerik
See What's Next in App Development. Register for TelerikNEXT.
Hi Vlad,
I download chart UI of telerik (http://www.telerik.com/android-ui/chart) and I try add this library to nativescript.
For this, I run this commands:
- tns create project
- tns platform add android
- tns library add android <path to Chart.jar>
- tns run android
And result this:
​
Other question:
After add library, how I access methods?
It seems like you found a bug in "library add" command. It seems there is no "build.xml" file in Chart folder. If this is the case you should run the following command from within Char folder
android update project -t "android-21" -p .
This command should generate "build.xml" in Chart folder. This is a temporary solution, just to remove the current stopper until we find the real cause of the issue.
Also, please note if there is 'src' subfolder in Chart folder. If 'src' folder is missing, just create an empty one. This folder is required by ant tool.
Regards,
Mihail
Telerik
See What's Next in App Development. Register for TelerikNEXT.
Hi,
I do everything but error still exist.
As far as I can understand from the screenshot, your project cannot find the dependency to appcompat project. This project is part from the Android SDK (you should install it via SDK manager). Usually, this project is located at %ANDROID_SDK_ROOT%\extras\android\support\v7\appcompat folder. If that is case you should update the project reference or you should copy it to the expected location. If you send a copy of your project and all of its dependencies I could help with the project folder structure.
Regards,
Mihail
Telerik
See What's Next in App Development. Register for TelerikNEXT.
You can access all the public API - just use the full namespace.
Regards,
Vlad
Telerik
See What's Next in App Development. Register for TelerikNEXT.