Search code examples
androidperformancecordovaionic2crosswalk

Ionic2: This app isn't compatible with your phone


After installing my Ionic2 app on real device, it became slow - which wasn't while testing on browser during development. Then I came across Crollwalk, a tool/plugin to enhance Hybrid app performance on device.

I then generated an .apk and attempted to install on real-device, only to get the error "This app isn't compatible with your phone".

After few Bing/Google searches, I got to know that the project was last supported for WebView on Cordova 6.3 at the Crosswalk Project official website.

My dev env is Cordova: 6.5.0, Ionic: 2.2.3

How do I downgrade Cordova to the supported version of Crosswalk without affecting Ionic and the project it self?

Thanks for your usual assistance.


Solution

  • Finally, I got a walk-around!

    I had to create build-extras.gradle file and added cdvBuildMultipleApks=false to it. That now generated a single unsigned apk file (instead of armv7 and x86 respectively) which I signed & was able to launch the app!

    Before then, I used to sign the android-x86-release-unsigned.apk.

    Thanks to building-combined-armv7-x86-apk-after-crosswalk-integration-in-an-ionic-project