Tuesday, 15 May 2012

Android studio error cannot find path specified -



Android studio error cannot find path specified -

i have added login activity android studio , installed google play services when run programme maintain getting next error. thought due 64 method issue merging multiple dix files solution did not work. ideas?? thanks

executing tasks: [:app:assembledebug] parallel execution configuration on demand incubating feature. relying on packaging define extension of main artifact has been deprecated , scheduled removed in gradle 2.0 :app:prebuild :app:compiledebugndk :app:predebugbuild :app:checkdebugmanifest :app:prereleasebuild :app:preparecomandroidsupportappcompatv71910library up-to-date :app:preparecomgoogleandroidgmsplayservices4452library up-to-date :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:dexdebug unknown output extension: e:\year4\4thyearproject\projectcode\train usage: dx --dex [--debug] [--verbose] [--positions=<style>] [--no-locals] [--no-optimize] [--statistics] [--[no-]optimize-list=<file>] [--no-strict] [--keep-classes] [--output=<file>] [--dump-to=<file>] [--dump-width=<n>] [--dump-method=<name>[*]] [--verbose-dump] [--no-files] [--core-library] [--num-threads=<n>] [--incremental] [--force-jumbo] [--multi-dex [--main-dex-list=<file> [--minimal-main-dex]] [<file>.class | <file>.{zip,jar,apk} | <directory>] ... convert set of classfiles dex file, optionally embedded in jar/zip. output name must end 1 of: .dex .jar .zip .apk or directory. positions options: none, important, lines. --multi-dex: allows generate several dex files if needed. alternative exclusive --incremental, causes --num-threads ignored , supports folder or archive output. --main-dex-list=<file>: <file> list of class file names, classes defined class files set in classes.dex. --minimal-main-dex: classes selected --main-dex-list set in main dex. dx --annotool --annotation=<class> [--element=<element types>] [--print=<print types>] dx --dump [--debug] [--strict] [--bytes] [--optimize] [--basic-blocks | --rop-blocks | --ssa-blocks | --dot] [--ssa-step=<step>] [--width=<n>] [<file>.class | <file>.txt] ... dump classfiles, or transformations thereof, in human-oriented format. dx --find-usages <file.dex> <declaring type> <member> find references , declarations field or method. declaring type: class name in internal form, ljava/lang/object; member: field or method name, hashcode dx -j<option> ... <arguments, in 1 of above forms> pass vm-specific options virtual machine runs dx. dx --version print version of tool (1.8). dx --help print message. scheme cannot find path specified. scheme cannot find path specified. scheme cannot find path specified. scheme cannot find path specified. scheme cannot find path specified. failed failure: build failed exception. * went wrong: execution failed task ':app:dexdebug'. > com.android.ide.common.internal.loggederrorexception: failed run command: c:\users\carl\appdata\local\android\android-studio\sdk\build-tools\19.1.0\dx.bat --dex --num-threads=4 --multi-dex --output e:\year4\4thyearproject\projectcode\train&gain\app\build\intermediates\dex\debug e:\year4\4thyearproject\projectcode\train&gain\app\build\intermediates\classes\debug e:\year4\4thyearproject\projectcode\train&gain\app\build\intermediates\dependency-cache\debug e:\year4\4thyearproject\projectcode\train&gain\app\build\intermediates\exploded-aar\com.google.android.gms\play-services\4.4.52\classes.jar c:\users\carl\appdata\local\android\android-studio\sdk\extras\android\m2repository\com\android\support\support-v4\19.1.0\support-v4-19.1.0.jar e:\year4\4thyearproject\projectcode\train&gain\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\19.1.0\classes.jar error code: 1 output: unknown output extension: e:\year4\4thyearproject\projectcode\train usage: dx --dex [--debug] [--verbose] [--positions=<style>] [--no-locals] [--no-optimize] [--statistics] [--[no-]optimize-list=<file>] [--no-strict] [--keep-classes] [--output=<file>] [--dump-to=<file>] [--dump-width=<n>] [--dump-method=<name>[*]] [--verbose-dump] [--no-files] [--core-library] [--num-threads=<n>] [--incremental] [--force-jumbo] [--multi-dex [--main-dex-list=<file> [--minimal-main-dex]] [<file>.class | <file>.{zip,jar,apk} | <directory>] ... convert set of classfiles dex file, optionally embedded in jar/zip. output name must end 1 of: .dex .jar .zip .apk or directory. positions options: none, important, lines. --multi-dex: allows generate several dex files if needed. alternative exclusive --incremental, causes --num-threads ignored , supports folder or archive output. --main-dex-list=<file>: <file> list of class file names, classes defined class files set in classes.dex. --minimal-main-dex: classes selected --main-dex-list set in main dex. dx --annotool --annotation=<class> [--element=<element types>] [--print=<print types>] dx --dump [--debug] [--strict] [--bytes] [--optimize] [--basic-blocks | --rop-blocks | --ssa-blocks | --dot] [--ssa-step=<step>] [--width=<n>] [<file>.class | <file>.txt] ... dump classfiles, or transformations thereof, in human-oriented format. dx --find-usages <file.dex> <declaring type> <member> find references , declarations field or method. declaring type: class name in internal form, ljava/lang/object; member: field or method name, hashcode dx -j<option> ... <arguments, in 1 of above forms> pass vm-specific options virtual machine runs dx. dx --version print version of tool (1.8). dx --help print message. scheme cannot find path specified. scheme cannot find path specified. scheme cannot find path specified. scheme cannot find path specified. scheme cannot find path specified. * try: run --stacktrace alternative stack trace. run --info or --debug alternative more log output. build failed total time: 1 mins 44.126 secs

tip: check output , seek understand went wrong before posting here.

look error says:

unknown output extension: e:\year4\4thyearproject\projectcode\train

and 1 time 1 time again on dx command's output parameter:

c:\users\carl\appdata\local\android\android-studio\sdk\build-tools\19.1.0\dx.bat --dex --num-threads=4 --multi-dex --output e:\year4\4thyearproject\projectcode\train&gain\app\build\intermediates\dex\debug e:\year4\4thyearproject\projectcode\train&gain\app\build\intermediates\classes\debug e:\year4\4thyearproject\projectcode\train&gain\app\build\intermediates\dependency-cache\debug e:\year4\4thyearproject\projectcode\train&gain\app\build\intermediates\exploded-aar\com.google.android.gms\play-services\4.4.52\classes.jar c:\users\carl\appdata\local\android\android-studio\sdk\extras\android\m2repository\com\android\support\support-v4\19.1.0\support-v4-19.1.0.jar e:\year4\4thyearproject\projectcode\train&gain\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\19.1.0\classes.jar

can see [possible] error now? looks dx command terminates @ '&' sign. remove project name , seek again.

android

No comments:

Post a Comment