Click here to Skip to main content
15,891,316 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello!.... I update my Android Studio to 1.0. Now I can not Run any app and I can not open SDK MAnager. I did modifications according to document "Migrating Gradle Projects to version 1.0.0"(http://tools.android.com/tech-docs/new-build-system/migrating-to-1-0-0)

I got the following output trying to Run:

Executing tasks: [:app:assembleDebug]

Configuration on demand is an incubating feature.
:app:preBuild
:app:compileDebugNdk
:app:preDebugBuild
:app:checkDebugManifest
:app:prepareDebugDependencies
:app:compileDebugAidl UP-TO-DATE
:app:compileDebugRenderscript UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:generateDebugAssets UP-TO-DATE
:app:mergeDebugAssets UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources UP-TO-DATE
:app:processDebugManifest UP-TO-DATE
:app:processDebugResources UP-TO-DATE
:app:generateDebugSources UP-TO-DATE
:app:compileDebugJava
:app:preDexDebug
:app:dexDebug
"reg" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.

FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:dexDebug'.
> com.android.ide.common.internal.LoggedErrorException: Failed to run command:
C:\android-sdk\sdk\build-tools\21.0.2\dx.bat --dex --no-optimize --output C:\Users\C96230\AndroidStudioProjects\AndroidGPSTracking\app\build\intermediates\dex\debug --input-list=C:\Users\C96230\AndroidStudioProjects\AndroidGPSTracking\app\build\intermediates\tmp\dex\debug\inputList.txt
Error Code:
255
Output:
"reg" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.


* 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: 4.358 secs

I appreciate any help
Luis
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900