Skip to content Skip to sidebar Skip to footer

Error Deploying Ionic App To Android Phone (ionic 4)

I am running the command ionic cordova run android with the usb cable connected as expected. The app builds, and then when it starts to build the apk to deploy on to my phone I'm h

Solution 1:

  1. Subproject Path: CordovaLib Subproject Path: app publishNonDefault is deprecated and has no effect anymore. All variants are now published.-----------> No impact.

  2. The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.----------->No impact.

  3. at build_3e7pv4o3p5wholih0470cvjae.run (/Users/user/Documents/BoutiqueSolicitors/BoutiqueSolicitors/platforms/android/app/build.gradle:148) Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead. ---------->Modify dependencies in app/build.gradle to use 'implemntation' instead of 'compile'.

  4. :CordovaLib:preBuild UP-TO-DATE :CordovaLib:preDebugBuild UP-TO-DATE :CordovaLib:compileDebugAidl FAILED.------------>look into your aidl related changes; like definition and location of aidl interface.

run command 'gradlew assembleDebug --debug' from android studio terminal and see if it gives more details on build failure.

enter image description here

enter image description here

[2]: https://i.stack.imgur.com/jJQRg.png

Post a Comment for "Error Deploying Ionic App To Android Phone (ionic 4)"