D C
D C

Reputation: 437

Ionic CodePush failure: no such file or directory, lstat './platforms/android/assets/www/'

I followed tutorial, and even the official ionic codepush example.

Both used the platforms/android/assets/www folder, but there is neither assets folder, nor www folder under platforms/android in my project.

Where I can solve this problem?

Upvotes: 0

Views: 161

Answers (1)

D C
D C

Reputation: 437

I found the assets folder is located in /platforms/android/app/build/intermediates/assets when used --debug option in ionic cordova run. Or located in /platforms/android/app/src/main/assets w/o debug option. I don't get why. But I think it should be documented at least.

Upvotes: 0

Related Questions