Unable to add footpath with ionic cli 1.3.2

I cloned an existing ion project from git. I have ionic 1.3.2 and cordova 4.2.0 . After cloning, I cd ed into the directory and ionic browser add crosswalk . It says that the intersection was added successfully. Then, when I try to do ionic run android , it says

No platforms added.

So, I am doing a ioinic platform add android , which gives me this error:

Failed to install "org.apache.cordova.engine.crosswalk": CordovaError: the plugin does not support this version of the cordova-android version of the project. Cordoba Android: 3.6.4, bad version:> = 4.0.0-dev`.

ionic platform add android@4.0.0-dev returns

Failed to get the platform android@4.0.0-dev : Error: Version not found: cordova-android@4.0.0-dev

How to fix it?

PS I am using ubuntu 14.04

+6
source share
3 answers

The problem is the crossroads browser.

If you go back to an Android web browser that sucks but works.

ion browser will return android
ion platform rm android
ion platform add android


Today, 4/9/2015. I was able to go back to old projects and add a crosswalk after updating node runtime, ionic, cordova

+1
source

Before starting ionic run android you tried to add a directory called www?

0
source

It seems that by introducing the ionic platform add android , it installs the platform with npm and the latest version of corova-android, which ... 3.7.1 (currently)

Cordoba Android 4.0 is still beta , but there is good news for those who want to install it. You can download version 4.0 directly from the github apache repository:

 ionic platform add https://github.com/apache/cordova-android.git 

There are more errors on this road, but at least it is a working solution for this error. It seems that Apache still has a lot of plugin compatibility issues, and hopefully they will overcome them in the next official version.


Update:

Download Intel XDK. It's just an incredible tool for developing mobile applications, Intel really understood it. Built-in brackets, emulator, remote debugging and most importantly: one button for creating apks with transition for Android. All you have to do is import your www folder and you are good to go!

My application switched from sluggish 5 frames per second when scrolling to a completely native feel with one click. I'm still thrilled. :)

0
source

Source: https://habr.com/ru/post/981510/


All Articles