You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caused by: org.gradle.api.resources.MissingResourceException: Could not read script '.\ionic-ref\angular\ionic-conference-app\android\capacitor-cordova-android-plugins\cordova.variables.gradle' as it does not exist.
#1815
Open
bdhindsa opened this issue
Aug 11, 2024
· 0 comments
Android studio when trying to build the ionic-reference-app fails with "Caused by: org.gradle.api.resources.MissingResourceException: Could not read script 'C:\Users\bdhin\src\ionic-ref\angular\ionic-conference-app\android\capacitor-cordova-android-plugins\cordova.variables.gradle' as it does not exist."
builld for ionic-reference-app for android this is where the error occurs:
ionic capacitor run android --prod
android studio correctly fires up, does the build BUT then issues error:
"Caused by: org.gradle.api.resources.MissingResourceException: Could not read script 'C:\Users\bdhin\src\ionic-ref\angular\ionic-conference-app\android\capacitor-cordova-android-plugins\cordova.variables.gradle' as it does not exist."
points to note:
standard ionic-reference-app commands used to build reference application
standard command used to build reference application for android.
The text was updated successfully, but these errors were encountered:
I'm submitting a ... (check one with "x")
[ x ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
Android studio when trying to build the ionic-reference-app fails with "Caused by: org.gradle.api.resources.MissingResourceException: Could not read script 'C:\Users\bdhin\src\ionic-ref\angular\ionic-conference-app\android\capacitor-cordova-android-plugins\cordova.variables.gradle' as it does not exist."
Expected behavior:
Expected behavior would be no such failure
Steps to reproduce
build web browser app (which runs successfully)
mkdir -p ~/src/ionic-ref/angular
pushd ~/src/ionic-ref/angular/
clone-reference-app
git clone https://github.com/ionic-team/ionic-conference-app.git
build-reference-app
cd ionic-conference-app/
npm install
run-reference-app: default port is 8100
ionic serve
builld for ionic-reference-app for android this is where the error occurs:
ionic capacitor run android --prod
android studio correctly fires up, does the build BUT then issues error:
"Caused by: org.gradle.api.resources.MissingResourceException: Could not read script 'C:\Users\bdhin\src\ionic-ref\angular\ionic-conference-app\android\capacitor-cordova-android-plugins\cordova.variables.gradle' as it does not exist."
points to note:
The text was updated successfully, but these errors were encountered: