Forum Replies Created
-
AuthorPosts
-
support
KeymasterHi,
You can fix this by adding the following line to Android.mk just before the “include $(BUILD_SHARED_LIBRARY)” line:
LOCAL_SHORT_COMMANDS := true
support
KeymasterHi,
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?support
KeymasterLooks like some old version of make.exe gets invoked. Could you please paste the entire build log here?
support
KeymasterWe are currently working on resolving VS2012 compatibility issues. Does the debugging work with VS2010?
support
KeymasterDo you mean an Android static library or a Linux/embedded static library?
support
KeymasterYes, just remove the #VisualGDBAndroid: AutoUpdateSourcesInNextLine line from Android.mk
support
KeymasterHi,
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?August 30, 2012 at 20:50 in reply to: VERR_PDM_INVALID_DEVICE_GUEST_BITS Error using Virtual KD #2095support
KeymasterHi,
Please try registering the 32-bit version of VBoxKD.DLL
August 30, 2012 at 20:49 in reply to: No debugging logs from win32 applications in vista or seven #2215support
KeymasterHi,
Fixed in 2.8
support
KeymasterHi,
Could you please post your AndroidManifest.xml file here?
support
KeymasterWhich 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.
support
KeymasterWhen 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
support
KeymasterNo 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.
support
KeymasterFixed. Please download VirtualKD 2.8 and replace the files in VisualDDK folder.
-
AuthorPosts