-
Notifications
You must be signed in to change notification settings - Fork 641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug & Workaround] Command 'ionic cordova build android --prod --release' not working #3108
Comments
Having the same problem my Android studio debug log says:
The problem come from here:
|
@Stradivario update ionic-app-scripts to the latest release. The problem should be fixed in 3.1.9 |
@danielsogl i am not sure where to put issues related with CLI inside ionic app scripts ? or inside ionic-cli ? or ionic ? i am confused... Please take a look at this issue i have created: ionic-team/ionic-app-scripts#1429 My application is not building production it just stays on webpack is starting... and consuming all memory provided even if i put 8000 GB inside heap_memory Regards, |
Ionic version: (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[ x] 3.x
[ ] 4.x
I'm submitting a ... (check one with "x")
[ x] bug report
[ ] feature request
Current behavior:
ionic cordova build android --prod --release
This command will not copy all fonts to platforms\android\app\src\main\assets\www\assets\fonts
So when you execute the apk in the phone you will get a blank screen
Expected behavior:
Get the apk working intead a blank screen
WORKAROUND
Create the apk in 2 steps:
ionic build --prod --release
cordova build android --release
Other information:
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):The text was updated successfully, but these errors were encountered: