I’m very new to all of this (i. e. ionic framework, app development & u could say computers in general).
I have been trying to develop an app with ionic frame work to export to iOS & android.
Trying the web build it works well and i get the expected result (i. e. the same as i get w/ ionic serve).
I am now trying to get my android build running.
It has been 2 days now and I am stuck because of this error
“Execution failed for task ‘:app:compileDebugJavaWithJavac’.” when running the command : “ionic cordova run android”.
I should probably mention that i installed for the first time ever on my machine yesterday :
- android studio
- android sdk
- java jdk
which as a result should all be up to date.
I have been setting my JAVA_HOME & ANDROID_HOME according to instructions i found on stack-overflow topics and the parameters seem right (i. e. i point to the corresponding folders on my hdd).
Any help would be much appreciated. I would def buy you a beer if you can get me to solve this