After adding the Local Notification plugin to my ionic project running the ionic build android command would result in the following error: Multiple dex files define. The error appears to be due to the fact that the android-support-v4.jar is being included twice. To fix the problem I delete the android-support-v4.jar file in the platforms/android/libs directory.
Agile Development Practices suggest developers keep a solutions log. I think we can all benefit from a combined solutions log. As I encounter errors or problems I intend to record the solutions on this blog. Please feel to leave your comments, solutions and email me with your errors and solutions.
Sep 2, 2015
Error running command ionic run android
I was getting the following error when running the ionic run android command:
ERROR: Failed to launch application on device: ERROR: Failed to install apk to device: pkg: /data/local/tmp/android-debug.apk
Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]
I had to uninstall the production version of the app to get it to deploy the development version.
Subscribe to:
Posts (Atom)