c# .net Adsense ADO.NET Linq Viruses/security asp.net MVC JQuery Angular-js Node-js SEO Java C++ SQL API Networking vb.net .Net Css JavaScript Generics c#.Net entity framework HTML Website host Website Construction Guide HTTP tutorial W3C tutorial Web Services JSON Psychology Ionic framework Angular ReactJS Python Computer Android
Ionic framework

Code ENOLOCAL Could not install from "android" as it does not contain a package.json file.

| | Console , ionic , mobile

 

When I removed the android platform from my ionic project and then I tried to re-install using this command "ionic cordova platform add android". but I got this error, Code ENOLOCAL. Could not install from "android" as it does not contain a package.json file. Solution:

Simply, I removed the android folder from the root directory, i.e not from the platform directory and then I re-install with the same command.

Great it works perfectly.