unable to debug in android

edited March 2014 in Android Mode

I have HTC android device and have already selected the debugging mode in my mobile.I have already downloaded the android SDk tools and bundled SDk and installed all the platforms and tools with all the API's. After running the program in android mode, the problem encounters as it says " ERROR FROM INSIDE THE ANDROID TOOLS, CHECK THE CONSOLE". I am always getting the same problem many times. I am unable to run programs in my mobile , please help me out!!! Please provide me the solution or the link to solve this or tell me if i need to add something more!!!!!!

Tagged:

Answers

  • The error message you receive is the generic error message when Processing is unable to parse the console error output. What shows up in the console area (as hinted by the error message)? If you don't understand the output, post it here (all of it) and we might be able to help.

  • the error that shows is:: -set-mode-check:

    -set-debug-files:

    -check-env: Android SDK Tools Revision 22.6.0 Installed at D:\coursera.org\android sdk\adt-bundle-windows-x86_64-20131030\adt-bundle-windows-x86_64-20131030\sdk

    -setup: [echo] Project Name: sketch_140607a Project Type: Application

    -set-debug-mode:

    -debug-obfuscation-check:

    -pre-build:

    -build-setup: Using latest Build Tools: 19.1.0 [echo] Resolving Build Target for sketch_140607a... Project Target: Android 2.3.3 API level: 10 [echo] ---------- [echo] Creating output directories if needed... [mkdir] Created dir: C:\Users\Sandesh\AppData\Local\Temp\android7693317449972648596sketch\bin [mkdir] Created dir: C:\Users\Sandesh\AppData\Local\Temp\android7693317449972648596sketch\bin\res [mkdir] Created dir: C:\Users\Sandesh\AppData\Local\Temp\android7693317449972648596sketch\bin\rsObj [mkdir] Created dir: C:\Users\Sandesh\AppData\Local\Temp\android7693317449972648596sketch\bin\rsLibs [mkdir] Created dir: C:\Users\Sandesh\AppData\Local\Temp\android7693317449972648596sketch\gen [mkdir] Created dir: C:\Users\Sandesh\AppData\Local\Temp\android7693317449972648596sketch\bin\classes [mkdir] Created dir: C:\Users\Sandesh\AppData\Local\Temp\android7693317449972648596sketch\bin\dexedLibs [echo] ---------- [echo] Resolving Dependencies for sketch_140607a... Library dependencies: No Libraries


    API<=15: Adding annotations.jar to the classpath. [echo] ---------- [echo] Building Libraries with 'debug'... [subant] No sub-builds to iterate on

    -code-gen: Merging AndroidManifest files into one. Manifest merger disabled. Using project manifest only. [echo] Handling aidl files... No AIDL files to compile. [echo] ---------- [echo] Handling RenderScript files... [echo] ---------- [echo] Handling Resources... Generating resource IDs... [echo] ---------- [echo] Handling BuildConfig class... Generating BuildConfig class.

    -pre-compile:

    -compile: [javac] Compiling 3 source files to C:\Users\Sandesh\AppData\Local\Temp\android7693317449972648596sketch\bin\classes

    BUILD FAILED D:\coursera.org\android sdk\adt-bundle-windows-x86_64-20131030\adt-bundle-windows-x86_64-20131030\sdk\tools\ant\build.xml:720: The following error occurred while executing this line: D:\coursera.org\android sdk\adt-bundle-windows-x86_64-20131030\adt-bundle-windows-x86_64-20131030\sdk\tools\ant\build.xml:734: Error running javac.exe compiler

    Total time: 1 second What is wrong in this?? I can't get through this

Sign In or Register to comment.