support

Forum Replies Created

Viewing 15 posts - 7,126 through 7,140 (of 7,540 total)
  • Author
    Posts
  • in reply to: VisualGDB: post-compile error #2367
    support
    Keymaster

    Hi,

    You can fix this by adding the following line to Android.mk just before the “include $(BUILD_SHARED_LIBRARY)” line:

    LOCAL_SHORT_COMMANDS := true
    in reply to: VisualGDB: cannot build Android native library #2295
    support
    Keymaster

    Hi,

    Sorry for the late reply.
    VisualGDB cannot start debugging because the NDK build system fails to include gdbserver[/b[ into the application package. It might be related to your build problem.
    Does the “*** target pattern contains no `%’.” message always appear? Does reinstalling NDK help?

    in reply to: VisualGDB: cannot build Android native library #2296
    support
    Keymaster

    Looks like some old version of make.exe gets invoked. Could you please paste the entire build log here?

    in reply to: Debugging Problems #2310
    support
    Keymaster

    We are currently working on resolving VS2012 compatibility issues. Does the debugging work with VS2010?

    in reply to: GDB server terminated unexpectedly #2411
    support
    Keymaster

    Hi,
    It’s a bug of the Android run-as tool. See this page for possible workarounds.

    in reply to: How to create static library project? #2365
    support
    Keymaster

    Do you mean an Android static library or a Linux/embedded static library?

    in reply to: Ninja Build and stop makefile updates #2356
    support
    Keymaster

    Yes, just remove the #VisualGDBAndroid: AutoUpdateSourcesInNextLine line from Android.mk

    in reply to: [Android] VisualGDB wrong paths #2351
    support
    Keymaster

    Hi,

    Which version of NDK and SDK are you using?
    Are you using a custom Android.mk file? Could you please post it here or send to the support email?

    support
    Keymaster

    Hi,

    Please try registering the 32-bit version of VBoxKD.DLL

    support
    Keymaster

    Hi,

    Fixed in 2.8

    in reply to: GDB server terminated unexpectedly #2410
    support
    Keymaster

    Hi,

    Could you please post your AndroidManifest.xml file here?

    in reply to: VisualGD and Android-x86 on VirtualBox #2272
    support
    Keymaster

    Which version of Android are you using and what exact device? It looks like the output of the ps command looks differently from the usual one.

    in reply to: Preprocessor Definitions #2277
    support
    Keymaster

    When you are generating Android projects, the underlying makefile structure is 100% compatible with the classical NDK makefiles and thus adding new preprocessor definitions is done exactly like for the normal NDK projects (see docsandroid-mk.html).

    In your case please add the following text to Android.mk (before the include $(BUILD_SHARED_LIBRARY) line):

    ifeq ($(NDK_DEBUG),1)
    LOCAL_CFLAGS += -DDEBUG
    else
    LOCAL_CFLAGS += -DNDEBUG -DRELEASE
    endif
    

    in reply to: Preprocessor Definitions #2278
    support
    Keymaster

    No problem. The definitions in the Project Settings indeed apply to IntelliSense only. To change the actual definitions, please edit the flags.mak file in the project directory. The default flags.mak file contains the following definitions:

    COMMON_MACROS :=
    DEBUG_MACROS := DEBUG
    RELEASE_MACROS := NDEBUG RELEASE
    

    If it does not help, please rebuild the project and post the entire build log here. It will help understanding why the definitions were not applied.

    in reply to: VisualDDK-1.5.7.exe (target package bug) #2252
    support
    Keymaster

    Fixed. Please download VirtualKD 2.8 and replace the files in VisualDDK folder.

Viewing 15 posts - 7,126 through 7,140 (of 7,540 total)