ionic-team / ionic-team/ionic-cli

ionic cordova resources keeps using default image instead of custom images

Đang mở
#2,965 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
2k
Fork
682
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**Description:**
I have been working on an AngularJS 1.5, Cordova cli v 8, and ionic cli v2 app for a while.
I upgraded my ionic cli to version 3.

I wanted to take advantage of the new **ionic cordova resources** command so I can generate the new splash screens for the iPhoneX etc.

I updated my resources/icon.png file and resources/splash.png to the new specifications: 1024x1024 and
2732×2732px.

I ran the command **ionic cordova resources** and it did generate some new images and updated the config.xml file but it used the default logo instead of my custom one.

I am not sure what I am going wrong.

**My `ionic info`:**
[WARN] Error with .\www\lib\ionic\version.json file: FILE_NOT_FOUND, trying .\bower.json.

cli packages: (C:\Program Files\nodejs\node_modules)

@ionic/cli-utils : 1.19.1
ionic (Ionic CLI) : 3.19.1

global packages:

cordova (Cordova CLI) : 8.0.0
Gulp CLI : CLI version 3.9.1 Local version 3.5.6

local packages:

Cordova Platforms : android 6.2.3 ios 4.5.0 windows 4.4.2
Ionic Framework : ionic1 1.3.5

System:

Node : v6.11.0
npm : 5.6.0
OS : Windows 10

Environment Variables:

ANDROID_HOME : C:\Android\sdk

Misc:

backend : pro

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.