After I format my MAC, I copy and paste my ionic3 project from my hard disk, and set up all environment successfully.
ionic cordova build ios --prod
can build success, can run without problem and also can get data from backend.
when I run ionic cordova build android --prod --release
also build success without error showing but when run it in my android devices cannot get data from backend and also some function cannot used(I got a phone call function when I press it in android which is not working).
Don't know why can run and get data by IOS, but cannot get data when run in android devices(no this problem showing when I run before).
Run ionic serve -l
in web also very nice without problem
And I already tried :
remove and rebuild android platform a lot of time, still cannot get data from backend!
build without --prod version, like
ionic cordova build android
also cannot get data.