[英]Cordova plugin screen orientation not work
我對“ cordova-plugin-screen-orientation”有問題,當我安裝此插件並添加Android平台時報錯,但iOS正常,我嘗試刪除此插件並先添加Android平台,然后我無法安裝“ cordova-plugin-screen-orientation”時,它始終顯示獲取錯誤。
global packages:
@ionic/cli-utils : 1.5.0
Cordova CLI : 7.0.1
Ionic CLI : 3.5.0
local packages:
@ionic/app-scripts : 1.3.7
@ionic/cli-plugin-cordova : 1.4.0
@ionic/cli-plugin-ionic-angular : 1.3.2
Cordova Platforms : ios 4.4.0
Ionic Framework : ionic-angular 3.3.0
System:
Node : v8.1.3
OS : macOS Sierra
Xcode : not installed
ios-deploy : not installed
ios-sim : not installed
npm : 5.1.0
科爾多瓦插件添加com.appodeal.plugin
如果不行,試試這個
npm卸載cordova ionic
npm緩存清理-f sudo npm install -g
cordova@6.5.0
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.