Does android build create www folder like ios?

#1

Am I doing something wrong or do I just not understand the differences between android and ios builds?

I run these two commands and get no errors from either one:

ionic package build android --prod
ionic package build ios --profile=aadev

But I do not get a www folder in the android build:

#2

The Android project has a slightly different project structure. The folder is called platform_www there.

#3

That doesnt’ seem righ because there is also platform_www in ios too and it has the same files as platform_www in android.

Neither one has index.html like /ios/www does.

#4

You are right. Looked at a project, index.html for Android is in\platforms\android\assets\www.

#5

Ah, thank you! Found it. That was driving me crazy because I was getting no errors for the build.

1 Like