Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Help me to solve publishing ERRORS!

$
0
0

@mhe wrote:

Hi, I like to use ionic but I can't solve it's errors! please help me.

----------------------------------

Command Line:
`C:\Users\Mhe>cd todo

C:\Users\Mhe\todo>ionic build android
Running command: "C:\Program Files\nodejs\node.exe" C:\Users\Mhe\todo\hooks\after_prepare\010_add_platform_class.js C:\Users\Mhe\todo
add to body class: platform-android
Running command: cmd "/s /c "C:\Users\Mhe\todo\platforms\android\cordova\build.bat""
ANDROID_HOME=C:\Android SDK
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_66
Running: C:\Users\Mhe\todo\platforms\android\gradlew cdvBuildDebug -b C:\Users\Mhe\todo\platforms\android\build.gradle -Dorg.gradle.daemon=true
:preBuild FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':preBuild'.

    failed to find Build Tools revision 23.0.0

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 11.39 secs

C:\Users\Mhe\todo\platforms\android\cordova\node_modules\q\q.js:126
throw e;
^
Error code 1 for command: cmd with args: /s /c "C:\Users\Mhe\todo\platforms\android\gradlew cdvBuildDebug -b C:\Users\Mhe\todo\platforms\android\build.gradle -Dorg.gradle.daemon=true"
ERROR building one of the platforms: Error: cmd: Command failed with exit code 1
You may not have the required environment or OS to build this project
Error: cmd: Command failed with exit code 1`



android sdk folder structure:
-- add-ons
-- build-tools
|--- 19.1
|--- 23
-- platforms
-- platform-tools
-- tools

Thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>