Ionic Android Build Fails CordovaLib:processDebugResources

后端 未结 2 1281
终归单人心
终归单人心 2021-01-27 23:33

I recently wanted to try out ionic and specifically develop android apps. I was able to set everything up using the ionic tutorial and run via localhost. I want to be able to d

相关标签:
2条回答
  • 2021-01-27 23:53

    After hours spent in the same issue, just solved the problem by running some updates:

    npm update -g ionic cordova
    

    This information was found at: https://forum.ionicframework.com/t/android-build-failed/32069

    0 讨论(0)
  • 2021-01-27 23:56

    This could be related to a filename error somewhere in your project. To see where the error in file is,

    go to your android folder via terminal, /projectName/platforms/android

    Then, execute gradlew assembleDebug --info

    It should show in the end which file it is.

    -- EDIT

    This could be related to Ubuntu incompatibility problems,

    As per https://stackoverflow.com/a/27734148/2036808

    $ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
    
    0 讨论(0)
提交回复
热议问题