Ionic2:此应用程序与您的手机不兼容(Ionic2: This app isn't compatible with your phone)

编程入门 行业动态 更新时间:2024-10-24 20:19:52
Ionic2:此应用程序与您的手机不兼容(Ionic2: This app isn't compatible with your phone)

在真实设备上安装我的Ionic2应用程序后,它变得缓慢 - 这不是在开发过程中在浏览器上进行测试。 然后我遇到了Crollwalk,这是一款工具/插件,用于增强设备上的混合应用性能。

然后,我生成了一个.apk文件,并试图在真实设备上安装,只是为了得到“ 该应用程序与您的手机不兼容 ”的错误。

经过几次Bing / Google搜索后,我了解到该项目最后在Crosswalk项目官方网站的Cordova 6.3上支持WebView。

我的开发环境是Cordova:6.5.0,Ionic:2.2.3

如何将科尔多瓦降级为支持的Crosswalk版本,而不会影响Ionic及其自身的项目?

感谢您的平常帮助。

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.

最满意答案

最后,我散步了!

我必须创建build-extras.gradle文件并将cdvBuildMultipleApks=false添加到它。 现在生成了一个未签名的apk文件(而不是分别为armv7和x86 ),我签了名并且能够启动该应用程序!

在此之前,我曾经签署了android-x86-release-unsigned.apk 。

多亏了building-combined-armv7-x86-apk-after-crosswalk-integrated-in-an-ion-project

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

更多推荐

本文发布于:2023-07-22 12:20:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1219962.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:您的   应用程序   不兼容   手机   compatible

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!