@mohsen3e wrote:
Generating config.xml from defaults for platform "android"
Calling plugman.prepare for platform "android"
Preparing android project
Processing configuration changes for plugins.
Writing out cordova_plugins.js…
Wrote out Android application name to "ToDoApp"
deleted: D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-land-hdpi\screen.png
deleted: D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-land-ldpi\screen.png
deleted: D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-land-mdpi\screen.png
deleted: D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-land-xhdpi\screen.png
deleted: D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-land-xxhdpi\screen.png
deleted: D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-land-xxxhdpi\screen.png
deleted: D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-port-hdpi\screen.png
deleted: D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-port-ldpi\screen.png
deleted: D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-port-mdpi\screen.png
deleted: D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-port-xhdpi\screen.png
deleted: D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-port-xxhdpi\screen.png
deleted: D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-port-xxxhdpi\screen.png
splash screens: [{“src”:“resources/android/splash/drawable-land-ldpi-screen.png”,“density”:“land-ldpi”,“platform”:“android”},{“src”:“resources/android/splash/drawable-land-mdpi-screen.png”,“density”:“land-mdpi”,“platform”:“android”},{“src”:“resources/android/splash/drawable-land-hdpi-screen.png”,“density”:“land-hdpi”,“platform”:“android”},{“src”:“resources/android/splash/drawable-land-xhdpi-screen.png”,“density”:“land-xhdpi”,“platform”:“android”},{“src”:“resources/android/splash/drawable-land-xxhdpi-screen.png”,“density”:“land-xxhdpi”,“platform”:“android”},{“src”:“resources/android/splash/drawable-land-xxxhdpi-screen.png”,“density”:“land-xxxhdpi”,“platform”:“android”},{“src”:“resources/android/splash/drawable-port-ldpi-screen.png”,“density”:“port-ldpi”,“platform”:“android”},{“src”:“resources/android/splash/drawable-port-mdpi-screen.png”,“density”:“port-mdpi”,“platform”:“android”},{“src”:“resources/android/splash/drawable-port-hdpi-screen.png”,“density”:“port-hdpi”,“platform”:“android”},{“src”:“resources/android/splash/drawable-port-xhdpi-screen.png”,“density”:“port-xhdpi”,“platform”:“android”},{“src”:“resources/android/splash/drawable-port-xxhdpi-screen.png”,“density”:“port-xxhdpi”,“platform”:“android”},{“src”:“resources/android/splash/drawable-port-xxxhdpi-screen.png”,“density”:“port-xxxhdpi”,“platform”:“android”}]
copying image from D:\Angular-2 Project\Android Projects\todo\resources\android\splash\drawable-land-ldpi-screen.png to D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-land-ldpi\screen.png
copying image from D:\Angular-2 Project\Android Projects\todo\resources\android\splash\drawable-land-mdpi-screen.png to D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-land-mdpi\screen.png
copying image from D:\Angular-2 Project\Android Projects\todo\resources\android\splash\drawable-land-hdpi-screen.png to D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-land-hdpi\screen.png
copying image from D:\Angular-2 Project\Android Projects\todo\resources\android\splash\drawable-land-xhdpi-screen.png to D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-land-xhdpi\screen.png
copying image from D:\Angular-2 Project\Android Projects\todo\resources\android\splash\drawable-land-xxhdpi-screen.png to D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-land-xxhdpi\screen.png
copying image from D:\Angular-2 Project\Android Projects\todo\resources\android\splash\drawable-land-xxxhdpi-screen.png to D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-land-xxxhdpi\screen.png
copying image from D:\Angular-2 Project\Android Projects\todo\resources\android\splash\drawable-port-ldpi-screen.png to D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-port-ldpi\screen.png
copying image from D:\Angular-2 Project\Android Projects\todo\resources\android\splash\drawable-port-mdpi-screen.png to D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-port-mdpi\screen.png
copying image from D:\Angular-2 Project\Android Projects\todo\resources\android\splash\drawable-port-hdpi-screen.png to D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-port-hdpi\screen.png
copying image from D:\Angular-2 Project\Android Projects\todo\resources\android\splash\drawable-port-xhdpi-screen.png to D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-port-xhdpi\screen.png
copying image from D:\Angular-2 Project\Android Projects\todo\resources\android\splash\drawable-port-xxhdpi-screen.png to D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-port-xxhdpi\screen.png
copying image from D:\Angular-2 Project\Android Projects\todo\resources\android\splash\drawable-port-xxxhdpi-screen.png to D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-port-xxxhdpi\screen.png
deleted: D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-hdpi\icon.png
deleted: D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-ldpi\icon.png
deleted: D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-mdpi\icon.png
deleted: D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-xhdpi\icon.png
deleted: D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-xxhdpi\icon.png
deleted: D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-xxxhdpi\icon.png
copying image from D:\Angular-2 Project\Android Projects\todo\resources\android\icon\drawable-ldpi-icon.png to D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-ldpi\icon.png
copying image from D:\Angular-2 Project\Android Projects\todo\resources\android\icon\drawable-mdpi-icon.png to D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-mdpi\icon.png
copying image from D:\Angular-2 Project\Android Projects\todo\resources\android\icon\drawable-hdpi-icon.png to D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-hdpi\icon.png
copying image from D:\Angular-2 Project\Android Projects\todo\resources\android\icon\drawable-xhdpi-icon.png to D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-xhdpi\icon.png
copying image from D:\Angular-2 Project\Android Projects\todo\resources\android\icon\drawable-xxhdpi-icon.png to D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-xxhdpi\icon.png
copying image from D:\Angular-2 Project\Android Projects\todo\resources\android\icon\drawable-xxxhdpi-icon.png to D:\Angular-2 Project\Android Projects\todo\platforms\android\res\drawable-xxxhdpi\icon.png
Wrote out Android package name to "io.ionic.starter"
Running command: cmd “/s /c ““D:\Angular-2 Project\Android Projects\todo\platforms\android\cordova\build.bat”””FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring root project ‘android’.Failed to find Platform SDK with path: platforms;android-26
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.What went wrong:
A problem occurred configuring root project ‘android’.Failed to find Platform SDK with path: platforms;android-26
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
at ChildProcess.whenDone (D:\Angular-2 Project\Android Projects\todo\platforms\android\cordova\node_modules\cordova-common\src\superspawn.js:169:23)
at emitTwo (events.js:125:13)
at ChildProcess.emit (events.js:213:7)
at maybeClose (internal/child_process.js:927:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)Command finished with error code 2: cmd /s /c "“D:\Angular-2 Project\Android Projects\todo\platforms\android\cordova\build.bat”"
ERROR building one of the platforms: Error: cmd: Command failed with exit code 2 Error output:
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring root project ‘android’.Failed to find Platform SDK with path: platforms;android-26
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.What went wrong:
A problem occurred configuring root project ‘android’.Failed to find Platform SDK with path: platforms;android-26
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
at ChildProcess.whenDone (D:\Angular-2 Project\Android Projects\todo\platforms\android\cordova\node_modules\cordova-common\src\superspawn.js:169:23)
at emitTwo (events.js:125:13)
at ChildProcess.emit (events.js:213:7)
at maybeClose (internal/child_process.js:927:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
You may not have the required environment or OS to build this project
Posts: 1
Participants: 1