Problem build in Ionic project.
-
I have uploaded my existing project to monaca to proceed to Android and ios build.
The uploaded was successful but when I try to build my app in android. I get an error :
You have been opted out of telemetry. To change this, run: cordova telemetry on.
Creating a new cordova project.-
Copy res directory -
-
Copy config.xml -
-
Copy package.json -
-
Copy external plugin setting files -
-
Copy www files -
-
Do npm install -
$ npm install -
Cordova platform add -
$ /data/build-server/cordova/7.1.0/bin/cordova platform add /data/build-server/cordova/platforms/android/6.4.0 --nofetch
You have been opted out of telemetry. To change this, run: cordova telemetry on.
Adding android project…
Creating Cordova project for the Android platform:
Path: platforms/android
Package: com.aseor.clairfi
Name: clairfi
Activity: MainActivity
Android target: android-26
Subproject Path: CordovaLib
Android project created with cordova-android@6.4.0- postBuild -
Build Error: Error: Sandbox Exec Error: [ Error: Source path does not exist: resources/android/icon/drawable-hdpi-icon.png
]
The problem is that when I upload my files , I have already my resources folder , But Monaca creates another folder with name res.When I have copied all the drawables from resources to res,but I still got the same error. Any help please !!
-