Navigation

    Monaca & Onsen UI
    • Login
    • Search
    • Tags
    • Users
    • Blog
    • Playground
    1. Home
    2. nightrobin
    N
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    nightrobin

    @nightrobin

    0
    Reputation
    2
    Posts
    524
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    nightrobin Follow

    Posts made by nightrobin

    • RE: Deploying Onsen UI to android through Cordova

      @rcpinheiro Thanks I tried this and it works.
      My mistake is that I copied the whole project to www, I should have copied only the files under the dist folder (after running ‘npm run build’ in onsen)

      posted in Developer Corner
      N
      nightrobin
    • Deploying Onsen UI to android through Cordova

      I followed this instruction from OnsenUI’s website regarding how to deploy the app to android. https://onsen.io/v2/guide/hybrid/cordova.html#adding-onsen-ui

      “Now that you have a basic Cordova app set up, getting Onsen UI working is simple. Remove all of the files inside Cordova’s www folder to get rid of all the sample code. If you have an existing Onsen UI website, all you need to do is put all the code inside www, and re-run the app as before.”

      I literally deleted the contents of my www folder in my cordova project, then copy-pasted all of the contents of my OnsenUI project inside that www folder as is, but I encountered this error.

      err file not found

      I already set these two permissions on android too: INTERNET & ACCESS_NETWORK_STATE

      What should I do?

      posted in Developer Corner
      N
      nightrobin